I tried the OpenSSL package from FreeBSD's site and got the same errors,
even when I disabled SSL. Maybe I need to upgrade FreeBSD anyway?
Thanks,
Weldon
On Tue, 5 Dec 2000, Nicolai Petri wrote:
> Try reinstalling openssl from an update ports tree.. (4.0-Rel has some
> major ssl/crypt issues!)
>
> If you are not using https you can also just disable ssl with configure .
>
> Regards,
> Nicolai Petri
>
>
> ----- Original Message -----
> From: "Weldon S. Godfrey III" <[EMAIL PROTECTED]>
> To: "Nicolai Petri" <[EMAIL PROTECTED]>
> Sent: Monday, December 04, 2000 5:14 PM
> Subject: Re: Ntop on FreeBSD :o)
>
>
> >
> > I just can't get it to compile. I have FreeBSD 4.0-RELEASE with libdes in
> > /usr/lib and I get fatal errors on the des stuff (can't find)
> >
> > Also, I get warnings for libgdchartm libgd and libpng for not being shared
> > versions of the libraries.
> >
> > Any help would be greatly appriciated. I downloaded the CVS of ntop this
> > morning.
> >
> >
> > Below is a paste of where it had problems.
> >
> > Thanks,
> >
> > Weldon
> >
> > -------------------------------------------
> >
> > *** Warning: This library needs some functionality provided by -lgdchart.
> > *** I have the capability to make that library automatically link in when
> > *** you link to this library. But I can only do this if you have a
> > *** shared version of the library, which you do not appear to have.
> >
> > *** Warning: This library needs some functionality provided by -lgd.
> > *** I have the capability to make that library automatically link in when
> > *** you link to this library. But I can only do this if you have a
> > *** shared version of the library, which you do not appear to have.
> >
> > *** Warning: This library needs some functionality provided by -lpng.
> > *** I have the capability to make that library automatically link in when
> > *** you link to this library. But I can only do this if you have a
> > *** shared version of the library, which you do not appear to have.
> >
> > *** Warning: This library needs some functionality provided by -lgdchart.
> > *** I have the capability to make that library automatically link in when
> > *** you link to this library. But I can only do this if you have a
> > *** shared version of the library, which you do not appear to have.
> >
> > *** Warning: This library needs some functionality provided by -lgd.
> > *** I have the capability to make that library automatically link in when
> > *** you link to this library. But I can only do this if you have a
> > *** shared version of the library, which you do not appear to have.
> >
> > *** Warning: This library needs some functionality provided by -lpng.
> > *** I have the capability to make that library automatically link in when
> > *** you link to this library. But I can only do this if you have a
> > *** shared version of the library, which you do not appear to have.
> > *** The inter-library dependencies that have been dropped here will be
> > *** automatically added whenever a program is linked with this library
> > *** or is declared to -dlopen it.
> > gcc -shared admin.lo globals-report.lo graph.lo http.lo report.lo
> > reportUtils.lo webInterface.lo -lcrypt -lm
> > -L/usr/home/weldon/ntop/gdchart0.94c
> > -L/usr/home/weldon/ntop/gdchart0.94c/gd-1.8.3
> > -L/usr/home/weldon/ntop/gdchart0.94c/gd-1.8.3/libpng-1.0.8
> > -L/usr/home/weldon/ntop/gdchart0.94c/zlib-1.1.3 -lz -L/usr/local/ssl/lib
> > -lssl -lcrypto -lc_r -lcrypt -lm -L/usr/lib -lz -lssl -lcrypto -lc
> > -Wl,-soname -Wl,libntopreport-1.3.so.2 -o .libs/libntopreport-1.3.so.2
> > (cd .libs && rm -f libntopreport-1.3.so && ln -s libntopreport-1.3.so.2
> > libntopreport-1.3.so)
> > (cd .libs && rm -f libntopreport.so && ln -s libntopreport-1.3.so.2
> > libntopreport.so)
> > ar cru .libs/libntopreport.a admin.o globals-report.o graph.o http.o
> > report.o reportUtils.o webInterface.o
> > ranlib .libs/libntopreport.a
> > creating libntopreport.la
> > (cd .libs && rm -f libntopreport.la && ln -s ../libntopreport.la
> > libntopreport.la)
> > gcc -DHAVE_CONFIG_H -I. -I/usr/local/include
> > -I/usr/home/weldon/ntop/gdchart0.94c -I/usr/local/ssl/include -g -O2
> > -pipe -c main.c
> > /bin/sh ./libtool --mode=link gcc -g -O2 -pipe -o ntop main.o
> > libntopreport.la libntop.la -lc_r -lcrypt -lm -L/usr/lib
> > -L/usr/home/weldon/ntop/gdchart0.94c -lgdchart
> > -L/usr/home/weldon/ntop/gdchart0.94c/gd-1.8.3 -lgd
> > -L/usr/home/weldon/ntop/gdchart0.94c/gd-1.8.3/libpng-1.0.8 -lpng
> > -L/usr/home/weldon/ntop/gdchart0.94c/zlib-1.1.3 -lz -L/usr/local/ssl/lib
> > -lssl -lcrypto
> > gcc -g -O2 -pipe -o .libs/ntop main.o .libs/libntopreport.so -lcrypt -lm
> > -L/usr/home/weldon/ntop/gdchart0.94c -lgdchart
> > -L/usr/home/weldon/ntop/gdchart0.94c/gd-1.8.3 -lgd
> > -L/usr/home/weldon/ntop/gdchart0.94c/gd-1.8.3/libpng-1.0.8 -lpng
> > -L/usr/home/weldon/ntop/gdchart0.94c/zlib-1.1.3 -lz -L/usr/local/ssl/lib
> > -lssl -lcrypto -lc_r -lcrypt -lm -L/usr/lib -lgdchart -lgd -lpng -lz -lssl
> > -lcrypto .libs/libntop.so -lpcap -L/usr/local/lib -lgdbm -lc_r -lcrypt -lm
> > -lgdchart -lgd -lpng -lz -lssl -lcrypto -lc_r -lcrypt -lm -L/usr/lib
> > -L/usr/home/weldon/ntop/gdchart0.94c -lgdchart
> > -L/usr/home/weldon/ntop/gdchart0.94c/gd-1.8.3 -lgd
> > -L/usr/home/weldon/ntop/gdchart0.94c/gd-1.8.3/libpng-1.0.8 -lpng
> > -L/usr/home/weldon/ntop/gdchart0.94c/zlib-1.1.3 -lz -L/usr/local/ssl/lib
> > -lssl -lcrypto -Wl,--rpath -Wl,/usr/local/lib
> > .libs/libntop.so: warning: tmpnam() possibly used unsafely; consider using
> > mkstemp()
> > /usr/lib/libc.so: warning: tempnam() possibly used unsafely; consider
> > using mkstemp()
> > /usr/lib/libc.so: warning: this program uses gets(), which is unsafe.
> > /usr/lib/libc.so: WARNING! setkey(3) not present in the system!
> > /usr/lib/libc.so: WARNING! des_setkey(3) not present in the system!
> > /usr/lib/libc.so: WARNING! encrypt(3) not present in the system!
> > /usr/lib/libc.so: WARNING! des_cipher(3) not present in the system!
> > /usr/lib/libc.so: warning: mktemp() possibly used unsafely; consider using
> > mkstemp()
> > /usr/lib/libc.so: warning: this program uses f_prealloc(), which is
> > stupid.
> > /usr/local/ssl/lib/libcrypto.a(err_all.o): In function
> > `ERR_load_crypto_strings':
> > err_all.o(.text+0x2d): undefined reference to `ERR_load_RSAREF_strings'
> > .libs/libntopreport.so: undefined reference to `RSA_PKCS1_RSAref'
> > gmake[2]: *** [ntop] Error 1
> > gmake[2]: Leaving directory `/usr/home/weldon/ntop/ntop'
> > gmake[1]: *** [all-recursive] Error 1
> > gmake[1]: Leaving directory `/usr/home/weldon/ntop/ntop'
> > gmake: *** [all-recursive-am] Error 2
> >
> >
> >
> >
> > On Mon, 4 Dec 2000, Nicolai Petri wrote:
> >
> > > Just a note from me saying the Ntop on FreeBSD looks reasonable stable
> now..
> > > This is simply great!
> > >
> > > Anybody who still got stability issues with the lates cvs on FreeBSD ?
> > >
> > > ---
> > > Nicolai Petri
> > >
> > >
> > >
> >
> >
> >
>
>