./configure ... --with-ossl-root=/usr/local/ssl That way when it looks for .../lib it will find the .so/.a and when it looks for .../include/openssl it will find the .h's
-----Burton -----Original Message----- From: J.P van Oyen [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 12:19 PM To: Burton M. Strauss III; Ntop-Dev Subject: RE: Openssl These where log files of my system running ntop configure. Anyways... $ locate libcrypto /usr/local/ssl/lib/libcrypto.a /usr/local/ssl/lib/libcrypto.so.0 /usr/local/ssl/lib/libcrypto.so.0.9.6 /usr/local/ssl/lib/libcrypto.so $ locate libssl /usr/local/ssl/lib/libssl.so.0.9.6 /usr/local/ssl/lib/libssl.a /usr/local/ssl/lib/libssl.so.0 /usr/local/ssl/lib/libssl.so $ locate rsa.h /usr/local/ssl/include/openssl/rsa.h $ locate crypto.h /usr/local/ssl/include/openssl/crypto.h $ locate 509.h /usr/local/ssl/include/openssl/x509.h (I guess you mean x509.h) $ locate pem.h /usr/local/ssl/include/openssl/pem.h $ locate ssl.h /usr/local/ssl/include/openssl/ssl.h $ locate err.h /usr/local/ssl/include/openssl/err.h Chrs J.P. At 09:48 24-2-2003 -0600, Burton M. Strauss III wrote: >I asked you for the specific location of a number of files ON YOUR SYSTEM, >not for log files. > >Please send what I asked for: > >$ locate libcrypto >$ locate libssl >$ locate rsa.h >$ locate crypto.h >$ locate 509.h >$ locate pem.h >$ locate ssl.h >$ locate err.h > >If you don't have a locate database, then a series of > >$ find / -type f -name "xxxx" > >will work fine for the files, use > >$ find / -type f -name "xxxx*" > ^ > >for the libs. > >-----Burton > >-----Original Message----- >From: J.P van Oyen [mailto:[EMAIL PROTECTED] >Sent: Monday, February 24, 2003 9:01 AM >To: Burton M. Strauss III >Cc: Luca Deri >Subject: RE: Openssl > > > >Hai, > >Ok I try to be as complete as I can. >I had to rebuild a machine and thus its quite a clean one. Installed >openssl 096i apache php etc ... >Now I wanted to include ntop again and run into rrd and openssl issues. >rrd works with the switch but openssl not unfortunately. > >Included the config.log (with and without switches) > >switch (./configure --with-ossl-root=/usr/local/ssl/ >--with-rrd-root=/usr/local/rrdtool-1.0.40/) > >ld.so.conf: >/usr/local/lib >/usr/X11R6/lib >/usr/i386-slackware-linux/lib >/opt/kde/lib >/usr/lib/qt/lib >/usr/local/ssl/lib >/usr/lib >/usr/local/mysql/lib > >-rw-r--r-- 1 root root 261818 Feb 21 17:24 libssl.a >lrwxrwxrwx 1 root root 11 Feb 2 13:50 libssl.so -> >libssl.so.0* >lrwxrwxrwx 1 root root 15 Feb 2 13:50 libssl.so.0 -> >libssl.so.0.9.6* >-r-xr-xr-x 1 root root 208990 Feb 2 13:50 libssl.so.0.9.6* > >-rw-r--r-- 1 root root 1395230 Feb 21 17:24 libcrypto.a >lrwxrwxrwx 1 root root 14 Feb 2 13:50 libcrypto.so -> >libcrypto.so.0* >lrwxrwxrwx 1 root root 18 Feb 2 13:50 libcrypto.so.0 -> >libcrypto.so.0.9.6* >-r-xr-xr-x 1 root root 883460 Feb 2 13:50 libcrypto.so.0.9.6* > >Maybe this gives you a point of reference. If you like anything else please >let me know and I am happy to answer you. > >The fun part is I see many crypto reports saying yes (found). > >Chrs J.P.. > > >At 07:43 24-2-2003 -0600, Burton M. Strauss III wrote: > >Unfortunately, I need to know where Slackware installs the various files > >related to openSSL. The problem is that SOME distro's put them in odd > >places, ones where it's hard to give a single root. We're already looking > >in 8 or 9 locations... > > > >I'm looking for the locations of libssl and/or libcrypto - and the output > >(in config.log) for the following tests: > > > >AC_CHECK_LIB([crypto], [SSLeay_version]) > >AC_CHECK_LIB([ssl], [SSL_accept]) > > > >Also the various headers (and output from config.log) for > > > >AC_CHECK_HEADERS([openssl/rsa.h openssl/crypto.h openssl/x509.h > >openssl/pem.h openssl/ssl.h openssl/err.h]) > > > >Those are all the standard locations. > > > >If ntop can't find the files there, it looks for the headers in these > >places: > > > > if > > NTOP_OPENSSL_TESTS([${OSSL_ROOT}]) > > elif test -d ${OSSL_ROOT} && > > NTOP_OPENSSL_TESTS([${OSSL_ROOT}/include]) > > elif test -d ${OSSL_ROOT} && > > test -d ${OSSL_ROOT}/include && > > NTOP_OPENSSL_TESTS([${OSSL_ROOT}/include/openssl]) > > elif test -d ${OSSL_ROOT} && > > test -d ${OSSL_ROOT}/include && > > NTOP_OPENSSL_TESTS([${OSSL_ROOT}/include/ssl]) > > else > >That is under whatever you give for --with-ossl-root= > > > >.../{sslroot} > >.../{sslroot}/include > >.../{sslroot}/include/openssl > >.../{sslroot}/include/ssl > > > >And the libraries here: > > > > LIBS="${oLIBS} -L${OSSL_ROOT}" > > AC_CHECK_LIB([ssl], [SSL_accept]) > > AC_CHECK_LIB([crypto], [SSLeay_version]) > > if test ".${ac_cv_lib_crypto_SSLeay_version}" != ".yes" || > > test ".${ac_cv_lib_ssl_SSL_accept}" != ".yes"; then > > LIBS="${oLIBS} -L${OSSL_ROOT}/lib" > > AC_CHECK_LIB([ssl], [SSL_accept]) > > AC_CHECK_LIB([crypto], [SSLeay_version]) > > if test ".${ac_cv_lib_crypto_SSLeay_version}" != ".yes" || > > test ".${ac_cv_lib_ssl_SSL_accept}" != ".yes"; then > > LIBS="${oLIBS} -L${OSSL_ROOT}/lib/openssl" > > AC_CHECK_LIB([ssl], [SSL_accept]) > > AC_CHECK_LIB([crypto], [SSLeay_version]) > > > > > >That is under whatever you give for --with-ossl-root= > > > >.../{sslroot} > >.../{sslroot}/lib > >.../{sslroot}/lib/openssl > > > >So where else do I need to look???? > > > > > >-----Burton > > > > > > > > > >-----Original Message----- > >From: J.P van Oyen [mailto:[EMAIL PROTECTED] > >Sent: Saturday, February 22, 2003 2:37 PM > >To: Luca Deri > >Subject: Openssl > > > > > > > >Hai Luca, > > > >It would be nice if you would support openssl on slackware dist also hi.. > > > >On slackware the default is /usr/local/ssl and with configure it pops >always > >: > > > >******************************************************************* > >* > >* WARNING: 1. You specified --with-ossl-root, however > >* we were unable to find the routines SSL_accept() > >* in -lssl and/or SSLeay_version() in -lcrypto > >* at that location. > >* > >*>>> Continuing without openSSL (i.e. no https://) > >* > >*??? 1. Rerun ./configure with a corrected --with-ossl-root > >*??? or 2. Install openSSL and rerun ./configure > >* > >******************************************************************* > > > >Even with --with-ossl-root=/usr/local/ssl > >As I had a HD crash I am running into this again as I had it fixed earlier > >but for others it might be a bit shocking to see NTOP does not recognize > >ssl in the default dir. > > > >Just a loud thought... > > > >Chrs J.P. _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
