Installing libssh2 on RedHat EL 3.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am trying to compile libssh2 on the RedHat EL 3.0 server I get these 
errors:

./configure
make
make[1]: Entering directory `/home/dgeorgie/down/libssh2-0.12/src'
gcc -o channel.o channel.c -c -g -O2 -I/usr/local/ssl/include 
-I/usr/local/include -Wall -g -I../include/ -fPIC
gcc -o comp.o comp.c -c -g -O2 -I/usr/local/ssl/include 
-I/usr/local/include -Wall -g -I../include/ -fPIC
gcc -o crypt.o crypt.c -c -g -O2 -I/usr/local/ssl/include 
-I/usr/local/include -Wall -g -I../include/ -fPIC
gcc -o hostkey.o hostkey.c -c -g -O2 -I/usr/local/ssl/include 
-I/usr/local/include -Wall -g -I../include/ -fPIC
gcc -o kex.o kex.c -c -g -O2 -I/usr/local/ssl/include -I/usr/local/include 
-Wall -g -I../include/ -fPIC
gcc -o mac.o mac.c -c -g -O2 -I/usr/local/ssl/include -I/usr/local/include 
-Wall -g -I../include/ -fPIC
gcc -o misc.o misc.c -c -g -O2 -I/usr/local/ssl/include 
-I/usr/local/include -Wall -g -I../include/ -fPIC
gcc -o packet.o packet.c -c -g -O2 -I/usr/local/ssl/include 
-I/usr/local/include -Wall -g -I../include/ -fPIC
gcc -o publickey.o publickey.c -c -g -O2 -I/usr/local/ssl/include 
-I/usr/local/include -Wall -g -I../include/ -fPIC
gcc -o scp.o scp.c -c -g -O2 -I/usr/local/ssl/include -I/usr/local/include 
-Wall -g -I../include/ -fPIC
gcc -o session.o session.c -c -g -O2 -I/usr/local/ssl/include 
-I/usr/local/include -Wall -g -I../include/ -fPIC
gcc -o sftp.o sftp.c -c -g -O2 -I/usr/local/ssl/include 
-I/usr/local/include -Wall -g -I../include/ -fPIC
gcc -o userauth.o userauth.c -c -g -O2 -I/usr/local/ssl/include 
-I/usr/local/include -Wall -g -I../include/ -fPIC
gcc -o libssh2.so  channel.o comp.o crypt.o hostkey.o kex.o mac.o misc.o 
packet.o publickey.o scp.o session.o sftp.o userauth.o 
-L/usr/local/ssl/lib -lcrypto -L/usr/local/lib -lz -shared -lm
make[1]: Leaving directory `/home/dgeorgie/down/libssh2-0.12/src'
gcc -o ssh2_sample.o ssh2_sample.c -c -g -O2 -I/usr/local/ssl/include 
-I/usr/local/include -Iinclude/ -Wall -g
gcc -o ssh2_sample ssh2_sample.o -lssh2 -Lsrc/
src//libssh2.so: undefined reference to `dlerror'
src//libssh2.so: undefined reference to `dlclose'
src//libssh2.so: undefined reference to `dlopen'
src//libssh2.so: undefined reference to `dlsym'
collect2: ld returned 1 exit status
make: *** [all] Error 1

There is openssl-0.9.8 library already installed on the server.

Is anyting else missing?

Thanks,

Dimitar 

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux