Re: static linking against the openssl toolkit

2007-11-05 Thread Ariel Salomon
you are linking the libs in the wrong order; should be "-lssl -lcrypto" because libssl depends on libcrypto. - Ariel Dan Clusin wrote: LIBRARY_PATHS = -L$(OBVIUS_LIBS)/expat/lib/ -lexpat -L$(OBVIUS_LIBS)/gsasl/lib/ -lgsasl \ -L$(OBVIUS_LIBS)/openssl/lib/ -lcrypto -lssl -lpthread

Re: static linking against the openssl toolkit

2007-11-05 Thread Markus Mayer
On Monday 05 November 2007, Dr. Stephen Henson wrote: 8<-- > That looks like the application isn't being linked with the correct version > of OpenSSL. Those undefined functions were macros in previous versions of > OpenSSL but became real functions later. > > So if you compile against new heade

Re: static linking against the openssl toolkit

2007-11-05 Thread Dr. Stephen Henson
On Mon, Nov 05, 2007, Markus Mayer wrote: > I have the same problem, however it's clear to me that the problem lies in > the > build of openssl. For what ever reason, parts are not fully built. I too am > searching for the cause of this problem, however without success. I have > build OpenS

RE: static linking against the openssl toolkit

2007-11-05 Thread Dan Clusin
ting or copying any information contained in this email to anyone other than the intended recipient is strictly prohibited. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gisle Vanem Sent: Monday, November 05, 2007 12:14 PM To: openssl-users@openssl.org Sub

Re: static linking against the openssl toolkit

2007-11-05 Thread Markus Mayer
I have the same problem, however it's clear to me that the problem lies in the build of openssl. For what ever reason, parts are not fully built. I too am searching for the cause of this problem, however without success. I have build OpenSSL with the config: ./config --prefix=/usr/local/opens

Re: static linking against the openssl toolkit

2007-11-05 Thread Gisle Vanem
"Dan Clusin" <[EMAIL PROTECTED]> wrote: I am getting the undefined references to the OpenSSL functions in the link stage similar to the above posting. (don't use HTML while posting to mailing-lists). What does the command-line (link command) looks like? Remember the order of libs are importan

RE: static linking against the openssl toolkit

2007-11-05 Thread Jeremy Farrell
From: Dan Clusin Sent: Monday, November 05, 2007 4:24 PM I have run into a problem similar to one that has been posted here before, but I did not see any solutions to it. http://www.mail-archive.com/openssl-users@openssl.org/msg40020.html