Subject: failure to statically link libssh2-1.2.5 to OpenSSL on RedHat

failure to statically link libssh2-1.2.5 to OpenSSL on RedHat

From: Alona Rossen <arossen_at_opentext.com>
Date: Mon, 21 Jun 2010 13:41:40 -0400

Hello,

 

I receive the following error message on RedHat ES 5.2:

 

../src/.libs/libssh2.so: undefined reference to `dlsym'

../src/.libs/libssh2.so: undefined reference to `dlerror'

../src/.libs/libssh2.so: undefined reference to `dlopen'

../src/.libs/libssh2.so: undefined reference to `dlclose'

collect2: ld returned 1 exit status

 

 

This is my "configure" line:

$ ./configure --with-openssl --with-libssl-prefix=/usr/local/ssl
CFLAGS=-m64 LDFLAGS=-m64 --prefix=/home/sambuild/ssh2_64
--enable-static=no

 

 

Is there anything missing?

 

Thank you,

Alona

_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-06-21