is the library libssl.a in path? try passing -L /path/to/libssl.a and passing libssl.a on command line.
On Thu, Apr 2, 2009 at 8:35 PM, Cyanure <cyanur...@gmail.com> wrote: > > Hi, > > I am using openssl 0.9.8i. I try to build an application that use OpenSSL > but I got the following errors: > undefined reference to `SSL_write' > undefined reference to `SSL_read > undefined reference to `SSL_get_error' > undefined reference to `SSL_set_fd' > ...etc. > > I am linking statically the libssl.a library. I have tried the -lssl linker > flag without success. > > What am I missing? > > -- > View this message in context: > http://www.nabble.com/Static-Linking-against-libssl.a-tp22859868p22859868.html > Sent from the OpenSSL - User mailing list archive at Nabble.com. > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager majord...@openssl.org >