Date: Fri, 13 Apr 2007 16:35:37 -0700 From: security <security@jim-liesl.org> To: freebsd-ports@freebsd.org, freebsd-questions@freebsd.org Subject: linker problems building clamav Message-ID: <462013C9.2080909@jim-liesl.org>
next in thread | raw e-mail | index | archive | help
6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 I've gotten myself wedged with multiple versions of shared objects. I've got different versions of libssl and libcrypto in /lib and /usr/local/lib. I've rebuilt openssl and libssh2 in ports and told ldconfig to rebuild it's cache how do gracefully get out of this? thanks jim Here's the error: cc -O2 -fno-strict-aliasing -pipe -o .libs/clamd output.o cfgparser.o getopt.o misc.o network.o options.o clamd.o tcpserver.o localserver.o session.o thrmgr.o server-th.o scanner.o others.o clamuko.o dazukoio_compat12.o dazukoio.o -L/usr/local/lib ../libclamav/.libs/libclamav.so /usr/local/lib/libiconv.so -lbz2 /usr/local/lib/libgmp.so /usr/local/lib/libcurl.so -lssh2 -lz -lssl -lcrypto -lthr -Wl,--rpath -Wl,/usr/local/lib /usr/bin/ld: warning: libssl.so.4, needed by /usr/local/lib/libssh2.so, may conflict with libssl.so.5 /usr/bin/ld: warning: libcrypto.so.4, needed by /usr/local/lib/libssh2.so, may conflict with libcrypto.so.5 network.o(.text+0x2b): In function `r_gethostbyname': : undefined reference to `gethostbyname_r' *** Error code 1 ldconfig -r | grep libcrypto 13:-lcrypto.3 => /lib/libcrypto.so.3 49:-lcrypto.4 => /lib/libcrypto.so.4 156:-lcrypto.1 => /usr/lib/compat/libcrypto.so.1 157:-lcrypto.2 => /usr/lib/compat/libcrypto.so.2 266:-lcrypto.5 => /usr/local/lib/libcrypto.so.5 676:-lcrypto.3 => /usr/local/lib/compat/libcrypto.so.3 ldconfig -r | grep libssl 105:-lssl.4 => /usr/lib/libssl.so.4 127:-lssl.3 => /usr/lib/libssl.so.3 172:-lssl.1 => /usr/lib/compat/libssl.so.1 173:-lssl.2 => /usr/lib/compat/libssl.so.2 474:-lssl3.1 => /usr/local/lib/libssl3.so.1 540:-lssl.5 => /usr/local/lib/libssl.so.5 722:-lssl.3 => /usr/local/lib/compat/libssl.so.3
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?462013C9.2080909>