From: "Jeff Ostrin" <[EMAIL PROTECTED]>

jostrin>   If I link like this (reversing the order of -lcrypto and -lssl):
jostrin>     g++ -O2 -shared -o libreal_mcaudit.so
jostrin> mylib.o -L/usr/local/openssl-0.9.6/lib -Bstatic -lssl -lcrypto
jostrin>   I get this error:
jostrin>     error condition: ld.so.1: ./run.dlopener: fatal: relocation error: file
jostrin> libmylib.so: symbol shutdown: referenced symbol not found

Add -lc or -lsocket, or whatever is needed to resolve shutdown().

What OS is this one?

-- 
Richard Levitte   \ Spannv�gen 38, II \ [EMAIL PROTECTED]
Chairman@Stacken   \ S-168 35  BROMMA  \ T: +46-8-26 52 47
Redakteur@Stacken   \      SWEDEN       \ or +46-709-50 36 10
Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/
Software Engineer, Celo Communications: http://www.celocom.com/

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to