I dont have an /etc/ld.so.conf or an ldconfig command - I assume because this is Solaris 9 ?
Okay, I've just tried compiling the small main.cc file you gave me and it gives me this:
bash-2.05# g++ main.cc -I/usr/local/include/openssl/ -L/usr/local/l Undefined first referenced symbol in file socket /usr/local/lib//libcrypto.a(ran shutdown /usr/local/lib//libcrypto.a(bss connect /usr/local/lib//libcrypto.a(ran ld: fatal: Symbol referencing errors. No output written to a.out collect2: ld returned 1 exit status
Notice I changed the command line to /usr/local/include/openssl instead of /usr/local/include/ssl as thats where the include files appear to live, but even with the original g++ line it gives exactly the same output:
bash-2.05# g++ main.cc -I/usr/local/include/ssl/ -L/usr/local/lib/ -lssl -lcrypto
Undefined first referenced
symbol in file
socket /usr/local/lib//libcrypto.a(rand_egd.o)
shutdown /usr/local/lib//libcrypto.a(bss_sock.o)
connect /usr/local/lib//libcrypto.a(rand_egd.o)
ld: fatal: Symbol referencing errors. No output written to a.out
collect2: ld returned 1 exit status
I've decided not to go ahead until I can get this working as the instructions on the wiki seem to need ssl support.
Regards,
Adam
On Thu, 19 Feb 2004 14:05:58 +0100 (CET), Andreas Aardal Hanssen <[EMAIL PROTECTED]> wrote:
On Thu, 19 Feb 2004, Adam Henson wrote:Nope.. still no joy. I erased all of the /opt/openssl refs and replaced them with /usr/local/lib but it still refuses to see the libraries :-(
Were you able to compile the file I inlined?
If you add /usr/local/lib to /etc/ld.so.conf at the bottom, then run
ldconfig, then try to run configure, does that work? If it doesn't you can
remove the line again and do "ldconfig" again.
Andy :-)
-- Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg Author of Binc IMAP | "It is better not to do something http://www.bincimap.org/ | than to do it poorly."
-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
