In message <[EMAIL PROTECTED]> on Wed, 17 Dec 2003 17:14:46 -0700, [EMAIL PROTECTED] 
said:

abalan> I used a preexisting build of openssl 0.9.7b, which was built on HP-UX
abalan> 11.00.
abalan> 
abalan> the command  I used to link the program together is;
abalan> 
abalan> ld -a default -b -o libtest.sl test.o -z +b : -L/usr/local/lib -lmqm -lc
abalan> -lCsup -lpthread -lisamstub -ldld -lnsl -lssl -lcrypto -lxnet

I'd suggest that you place '-lssl -lcrypto' much earlier, and that you
place '-lc' last.  ld is normally a one-pass linker, which means that
it resolves symbols using libraries from left to right.  This means
that if there are any unresolved symbols in libcrypto or ilbssl, it
will try to resolve them with the next -l arguments.  I doubt very
much that libxnet would contain the symbol __udivdi3...

-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.
You don't have to be rich, a $10 donation is appreciated!

-- 
Richard Levitte   \ Tunnlandsv�gen 3  \ [EMAIL PROTECTED]
[EMAIL PROTECTED]  \ S-168 36  BROMMA  \ T: +46-8-26 52 47
                    \      SWEDEN       \ or +46-708-26 53 44
Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/

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
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to