Hi guys,
However when I try to build cfe, I get the below error while building cf-agent (LD_LIBRARY_PATH issue? Seems like OpenSSL libs are not getting linked) :
CCLD cf-agent
Undefined first referenced
symbol in file
EVP_PKEY_cmp /export/home/smahapat/3.8.2/cfengine-3.8.2/libpromises/.libs/libpromises.so
__builtin_isnan /export/home/smahapat/3.8.2/cfengine-3.8.2/libpromises/.libs/libpromises.so
__builtin_isfinite /export/home/smahapat/3.8.2/cfengine-3.8.2/libpromises/.libs/libpromises.so
ld: fatal: Symbol referencing errors. No output written to .libs/cf-agent
collect2: ld returned 1 exit status
gmake[2]: *** [cf-agent] Error 1
gmake[1]: *** [all-recursive] Error 1
gmake: *** [all] Error 2
Configure options:
./configure --prefix=/var/cfengine --with-openssl=/var/cfengine --with-lmdb=/var/cfengine --with-pcre=/var/cfengine
Environment:
LC_MONETARY=en_US.ISO8859-1
SHELL=/bin/bash
TERM=vt220
LC_NUMERIC=en_US.ISO8859-1
OLDPWD=/export/home/blahblah/3.8.2
USER=root
SUDO_USER=blahblah
SUDO_UID=14847
SSH_AUTH_SOCK=/tmp/ssh-QyB22994/agent.22994
USERNAME=root
LD_LIBRARY_PATH=/var/cfengine/lib:/usr/local/lib
PATH=/usr/bin:/usr/sbin:/bin:/usr/local/bin:/usr/sfw/bin:/usr/ccs/bin
MAIL=/var/mail//blahblah
LC_MESSAGES=C
LC_COLLATE=en_US.ISO8859-1
PWD=/export/home/blahblah/3.8.2/cfengine-3.8.2
TZ=US/Pacific
PS1=\[\e[1;31m\]myhost\[\e[0m\]:\[\e[1;35m\]blahblah\[\e[0m\]\[\e[0;35m\][\!]\[\e[0m\] \[\e[1;31m\]\w\[\e[0m\] $
SHLVL=1
SUDO_COMMAND=/bin/bash
HOME=/export/home/blahblah
LOGNAME=root
LC_CTYPE=en_US.ISO8859-1
SUDO_GID=14847
LC_TIME=en_US.ISO8859-1
_=/bin/env
GCC and LD:
$ which gcc
/usr/local/bin/gcc
$ which ld
/usr/ccs/bin/ld
$ gcc -v
Reading specs from /usr/local/lib/gcc/sparc-sun-solaris2.10/3.4.6/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --enable-shared --enable-languages=c,c++,f77
Thread model: posix
gcc version 3.4.6
Hoping someone could help me.
Thanks,
Soumyadip