On Mon, Jun 21, 2010 at 01:41:40PM -0400, Alona Rossen wrote:
> 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?
Try adding a LIBS=-dl to the configure line.
>>> Dan
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-06-21