help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: wont compile on solaris...


From: Lumpkin, Buddy
Subject: RE: wont compile on solaris...
Date: Wed, 17 Jul 2002 10:55:12 -0700

what do you have in /usr/local/BerkeleyDB.3.3/lib? I bet you have libdb3.a. 
Here's what I have:

$ ls Berk*/lib
BerkeleyDB.3.2/lib:
libdb-3.2.la  libdb.a       tmp

BerkeleyDB.3.3/lib:
libdb-3.3.a   libdb-3.3.la  libdb-3.3.so  libdb-3.so    libdb.so

BerkeleyDB.4.0/lib:
libdb-4.0.a   libdb-4.0.la  libdb-4.0.so  libdb-4.so    libdb.a       libdb.so



So in BerkeleyDB.3.3 some brainiac decided to rename the libraries. You should 
be able to just copy of hard link libdb-3.3.a to libdb.a.

--Buddy

-----Original Message-----
From: Asbjørn Karstensen [mailto:asbjorn@item.ntnu.no]
Sent: Thursday, July 11, 2002 11:31 PM
To: help-cfengine@gnu.org
Subject: wont compile on solaris...


Hi.

I'm trying to compile cfengine 2.03 on a solaris box with these specs:

SunOS xxxxx.xxxx.xxxxx.xx 5.8 Generic_108528-08 sun4u sparc SUNW,Ultra-1

I have tried this with BerkeleyDB 4.0.14 and 3.3 with the same result.
I am using gcc 2.8.1, openssl 0.9.6d and make 3.79.1.

I have not altered the Makefile or any other file.

./configure works fine, but in the middle of "make" this comes up, and 
the installation halts.


gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/BerkeleyDB.3.3/include 
-I/usr/local/ssl/include    -g -O2 -Wreturn-type -Wmissing-prototypes 
-Wuninitialized -g -O2 -I/usr/local/BerkeleyDB.3.3/include   -c `test -f 
strategies.c || echo './'`strategies.c
gcc  -g -O2 -Wreturn-type -Wmissing-prototypes -Wuninitialized -g -O2 
-I/usr/local/BerkeleyDB.3.3/include    -L/usr/local/BerkeleyDB.3.3/lib 
-R/usr/local/BerkeleyDB.3.3/lib -L/usr/local/ssl/lib  -o cfagent 
cfagent.o init.o do.o wrapper.o report.o client.o ip.o process.o 
ifconf.o image.o item.o item-ext.o item-file.o 2Dlist.o globals.o 
classes.o misc.o parse.o functions.o edittools.o patches.o install.o 
link.o tidy.o filedir.o eval.o modes.o chflags.o locks.o mount.o macro.o 
filenames.o varstring.o wildcard.o cfparse.o comparray.o read.o 
checksums.o proto.o filters.o copy.o repository.o rotate.o errors.o 
cflex.o net.o df.o log.o crypto.o popen.o popen_def.o sensible.o acl.o 
dce_acl.o nameinfo.o strategies.o -lfl -ldb -lcrypto -lpthread -lrx 
-lnsl -lsocket -lm  -lelf -lsec -L../pub -lpub
Undefined                       first referenced
  symbol                             in file
db_strerror                         locks.o
db_create                           misc.o
ld: fatal: Symbol referencing errors. No output written to cfagent
make[2]: *** [cfagent] Error 1
make[2]: Leaving directory `/usr/share/src/cfengine-2.0.3/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/share/src/cfengine-2.0.3/src'
make: *** [all-recursive] Error 1


Can someone help me?

Thanks.
Regards

Asbjørn Karstensen
Engineer
Department of Telematics
Norwegian University of Science and Technology



_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://mail.gnu.org/mailman/listinfo/help-cfengine



reply via email to

[Prev in Thread] Current Thread [Next in Thread]