[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ssl and libpng compilation problem on solaris 9



Hello !

First of all, I am a bigbrother  and bbgen happy user since a few months
It's a excellent idea to do a new  separate version, it's exactly I wanted
for
a full gpl licence, and the numerous scripts problems:bigbrother,larrd ...
So I want install it, but my administrator server is a solaris 9...
(It's my entreprise choice) and more problems than a linux...

First problem at the configure (it's the same server where bigbrother 1.9e
and bbgen 3.4 work perfectly):
...
Checking for OpenSSL ...
test-ssl.c:1:30: openssl/opensslv.h: No such file or directory
test-ssl.c:2:25: openssl/ssl.h: No such file or directory
test-ssl.c:3:26: openssl/rand.h: No such file or directory
test-ssl.c:4:25: openssl/err.h: No such file or directory
test-ssl.c:5:25: openssl/evp.h: No such file or directory
test-ssl.c:8:2: #error SSL-protocol testing requires OpenSSL version 0.9.5
or later
test-ssl.c: In function `main':

It's the same problem (in appareance) that with bbgen 3.4
installation.(solve with a patch)

I WANT test hobbit, so I desactivated ssl in the configure but at the
"make":

...
make[1]: Entering directory `/usr/local/hobbit-4.0beta4-sources/hobbitd'
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DMAXMSG=32768
-DBBDPORTNUMBER=1984 -I. -I/usr/local/hobbit-4.0beta4-sources/include -o
hobbitd_larrd hobbitd_larrd.o     hobbitd_worker.o do_larrd.o
../lib/libbbgen.a -L/usr/local/rrdtool-1.0.49/lib -lrrd -L/usr/local/lib
-lpng -lm -lresolv -lsocket -lnsl
Undefined                       first referenced
 symbol                             in file
inflate                             /usr/local/lib/libpng.so
crc32                               /usr/local/lib/libpng.so
deflateEnd                          /usr/local/lib/libpng.so
inflateEnd                          /usr/local/lib/libpng.so
deflateInit2_                       /usr/local/lib/libpng.so
deflate                             /usr/local/lib/libpng.so
deflateReset                        /usr/local/lib/libpng.so
inflateInit_                        /usr/local/lib/libpng.so
inflateReset                        /usr/local/lib/libpng.so
ld: fatal: Symbol referencing errors. No output written to hobbitd_larrd
collect2: ld returned 1 exit status
make[1]: *** [hobbitd_larrd] Error 1
make[1]: Leaving directory `/usr/local/hobbit-4.0beta4-sources/hobbitd'
make: *** [hobbitd-build] Error 2
...

could you help me another time ?
Best regards

Julien
Unix Administrator
Paris La Defense