Thanks for the prompt reply!

A quick search on google turns up that
libcrypto.so belongs to the OpenSSL
package. 

Is this correct? Is there any other libcrypto
library that I missed? 

Of this I have the latest version installed,
OpenSSL 0.9.7b.

Please let me know if there is anything I need to
do. Maybe revert to an older version of OpenSSL?

Thanks again,

Jose

On Fri, 8 Aug 2003 14:07:30 -0500 (CDT)
Steven Fries <[EMAIL PROTECTED]> wrote:

> Try installing the newest libcrypto RPM or package.
> 
> You wrote:
> > Hi,
> > I have been using Freeradius for about a year now
> > and I'm very happy with the quality of the software,
> > thank you guys!
> > In attempting to build a new radius server I
> > have encountered some difficulties compiling the new
> > version 0.9.0.
> > ./configure runs fine but make stops when compiling the
> > module rlm_eap w/tls with the error: "/ld: cannot find -lcrypto"
> > I'm sure is a small thing I have overlooked but alas,
> > for the life of me I can't seem to find it.
> > I apologize for the length of the email.
> > Thanks so much in advance!
> > Jose.
> > Here are the stats:
> > Linux Kernel 2.4.20
> > [EMAIL PROTECTED]:/usr/src/misc/freeradius-0.9.0# uname -a
> > Linux sabertooth 2.4.20 #2 Mon Mar 17 22:02:15 PST 2003 i686 unknown
> > GCC 3.2.2
> > [EMAIL PROTECTED]:/usr/src/misc/freeradius-0.9.0# gcc --version
> > gcc (GCC) 3.2.2
> > GlibC version: 2.3.1
> > FreeRadius version: 0.9.0
> > OpenSSL version: 0.9.7b
> > Variables Set:
> > CPPFLAGS="-I/usr/local/openssl-0.9.7b/include -I/usr/local/net-snmp-5.0.
> > 8/include -I/usr/local/BerkeleyDB.4.1/include -I/usr/local/cyrus-sasl-2.1.
> > 15/include -I/usr/local/openldap-2.1.22/include"
> > LDFLAGS="-L/usr/local/openssl-0.9.7b/lib -L/usr/local/net-snmp-5.0.8/lib 
> > -L/usr/local/BerkeleyDB.4.1/lib -L/usr/local/cyrus-sasl-2.1.15/lib 
> > -L/usr/local/openldap-2.1.22/lib"
> > ./configure:
> > [snip...]
> > checking for crypt.h... (cached) yes
> > [snip...]
> > checking for crypt in -lcrypt... (cached) yes
> > [snip...]
> > checking for openssl/ssl.h... yes
> > checking for DH_new in -lcrypto... yes
> > checking for SSL_new in -lssl... yes
> > checking how to run the C preprocessor... (cached) gcc -E
> > checking for openssl/err.h... (cached) yes
> > checking for openssl/engine.h... (cached) yes
> > [snip]
> > My /etc/ld.so.conf:
> > /usr/local/lib
> > /usr/X11R6/lib
> > /usr/i386-slackware-linux/lib
> > /usr/local/BerkeleyDB.4.1/lib
> > /usr/local/net-snmp-5.0.8/lib
> > /usr/local/openldap-2.1.22/lib
> > /usr/local/cyrus-sasl-2.1.15/lib
> > /usr/local/openssl-0.9.7b/lib
> > [** PERTINENT ERROR**]
> > gmake[10]: Entering directory `/usr/src/misc/freeradius-0.9.
> > 0/src/modules/rlm_eap/types/rlm_eap_tls'
> > /usr/src/misc/freeradius-0.9.0/libtool --mode=link gcc -release 0.9.0 \
> > -module -export-dynamic  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall 
> > -D_GNU_SOURCE -DNDEBUG  -I../../../../include  -I../..    -DOPENSSL_NO_KRB5  \
> > -o rlm_eap_tls.la -rpath /usr/local/lib rlm_eap_tls.lo eap_tls.lo cb.lo tls.lo 
> > mppe_keys.lo -lcrypto -lssl -lnsl -lresolv  -lpthread 
> > rm -fr .libs/rlm_eap_tls.la .libs/rlm_eap_tls.* .libs/rlm_eap_tls-0.9.0.*
> > gcc -shared  rlm_eap_tls.lo eap_tls.lo cb.lo tls.lo mppe_keys.lo  -lcrypto 
> > -lssl -lnsl -lresolv -lpthread  -Wl,-soname -Wl,rlm_eap_tls-0.9.0.so -o .
> > libs/rlm_eap_tls-0.9.0.so
> > /usr/lib/gcc-lib/i386-slackware-linux/3.2.2/../../../..
> > /i386-slackware-linux/bin/ld: cannot find -lcrypto
> > collect2: ld returned 1 exit status
> > gmake[10]: *** [rlm_eap_tls.la] Error 1
> > gmake[10]: Leaving directory `/usr/src/misc/freeradius-0.9.
> > 0/src/modules/rlm_eap/types/rlm_eap_tls'
> > Trouble-shooting Error: "/ld: cannot find -lcrypto"
> > [EMAIL PROTECTED]:/usr/src/misc/freeradius-0.9.0# ldconfig -p | grep -i crypto
> > libcrypto.so.0.9.7 (libc6) => /usr/local/openssl-0.9.7b/lib/libcrypto.so.0.9.7
> > libcrypto.so.0 (libc6) => /usr/local/openssl-0.9.7b/lib/libcrypto.so.0
> > libcrypto.so (libc6) => /usr/local/openssl-0.9.7b/lib/libcrypto.so
> > [EMAIL PROTECTED]:/usr/src/misc/freeradius-0.9.0# file /usr/local/openssl-0.9.
> > 7b/lib/libcrypto.so
> > /usr/local/openssl-0.9.7b/lib/libcrypto.so: symbolic link to libcrypto.so.0
> > [EMAIL PROTECTED]:/usr/src/misc/freeradius-0.9.0# file /usr/local/openssl-0.9.
> > 7b/lib/libcrypto.so.0
> > /usr/local/openssl-0.9.7b/lib/libcrypto.so.0: symbolic link to libcrypto.so.0.9.
> > 7
> > [EMAIL PROTECTED]:/usr/src/misc/freeradius-0.9.0# file /usr/local/openssl-0.9.
> > 7b/lib/libcrypto.so.0.9.7
> > /usr/local/openssl-0.9.7b/lib/libcrypto.so.0.9.7: ELF 32-bit LSB shared object, 
> > Intel 80386, version 1 (SYSV), not stripped
> > [EMAIL PROTECTED]:/usr/src/misc/freeradius-0.9.0# ldd /usr/local/openssl-0.9.
> > 7b/lib/libcrypto.so.0.9.7
> > libdl.so.2 => /lib/libdl.so.2 (0x40104000)
> > libc.so.6 => /lib/libc.so.6 (0x40108000)
> > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
> > [EMAIL PROTECTED]:/usr/src/misc/freeradius-0.9.0# file /lib/libdl.so.2
> > /lib/libdl.so.2: symbolic link to libdl-2.3.1.so
> > [EMAIL PROTECTED]:/usr/src/misc/freeradius-0.9.0# file /lib/libdl-2.3.1.so
> > /lib/libdl-2.3.1.so: ELF 32-bit LSB shared object, Intel 80386, version 1 
> > (SYSV), not stripped
> > [EMAIL PROTECTED]:/usr/src/misc/freeradius-0.9.0# file /lib/libc.so.6
> > /lib/libc.so.6: symbolic link to libc-2.3.1.so
> > [EMAIL PROTECTED]:/usr/src/misc/freeradius-0.9.0# file /lib/libc-2.3.1.so
> > /lib/libc-2.3.1.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV),
> >  not stripped
> > [EMAIL PROTECTED]:/usr/src/misc/freeradius-0.9.0# file /lib/ld-linux.so.2
> > /lib/ld-linux.so.2: symbolic link to ld-2.3.1.so
> > [EMAIL PROTECTED]:/usr/src/misc/freeradius-0.9.0# file /lib/ld-2.3.1.so
> > /lib/ld-2.3.1.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), 
> > not stripped
> > - 
> > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
> 
> --
> 

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to