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

build error


i am getting a build error when building libssh-0.4.2. in RED HAT ENTERPRISE
LINUX 5.3

Linking C shared library libssh.so
gcc: unrecognized option '-R/usr/local/ssl/lib:/usr/local/lib'
/usr/bin/ld: libssh.so.4.0.2: undefined versioned symbol name
listen@@SOCKET_1.0
/usr/bin/ld: failed to set dynamic section sizes: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libssh/libssh.so.4.0.2] Error 1
make[1]: *** [libssh/CMakeFiles/ssh_shared.dir/all] Error 2
make: *** [all] Error 2

the following is the complete trace after i did make
any one please help me in resolving this..




root@LINUX5 build]#
Scanning dependencies of target ssh_shared
[  1%] Building C object libssh/CMakeFiles/ssh_shared.dir/agent.c.o
[  3%] Building C object libssh/CMakeFiles/ssh_shared.dir/auth.c.o
[  5%] Building C object libssh/CMakeFiles/ssh_shared.dir/base64.c.o
[  7%] Building C object libssh/CMakeFiles/ssh_shared.dir/buffer.c.o
[  9%] Building C object libssh/CMakeFiles/ssh_shared.dir/callbacks.c.o
[ 10%] Building C object libssh/CMakeFiles/ssh_shared.dir/channels.c.o
[ 12%] Building C object libssh/CMakeFiles/ssh_shared.dir/client.c.o
[ 14%] Building C object libssh/CMakeFiles/ssh_shared.dir/config.c.o
[ 16%] Building C object libssh/CMakeFiles/ssh_shared.dir/connect.c.o
[ 18%] Building C object libssh/CMakeFiles/ssh_shared.dir/crc32.c.o
[ 20%] Building C object libssh/CMakeFiles/ssh_shared.dir/crypt.c.o
[ 21%] Building C object libssh/CMakeFiles/ssh_shared.dir/dh.c.o
[ 23%] Building C object libssh/CMakeFiles/ssh_shared.dir/error.c.o
[ 25%] Building C object libssh/CMakeFiles/ssh_shared.dir/gcrypt_missing.c.o
[ 27%] Building C object libssh/CMakeFiles/ssh_shared.dir/gzip.c.o
[ 29%] Building C object libssh/CMakeFiles/ssh_shared.dir/init.c.o
[ 30%] Building C object libssh/CMakeFiles/ssh_shared.dir/kex.c.o
[ 32%] Building C object libssh/CMakeFiles/ssh_shared.dir/keyfiles.c.o
[ 34%] Building C object libssh/CMakeFiles/ssh_shared.dir/keys.c.o
[ 36%] Building C object libssh/CMakeFiles/ssh_shared.dir/log.c.o
[ 38%] Building C object libssh/CMakeFiles/ssh_shared.dir/match.c.o
[ 40%] Building C object libssh/CMakeFiles/ssh_shared.dir/messages.c.o
[ 41%] Building C object libssh/CMakeFiles/ssh_shared.dir/misc.c.o
[ 43%] Building C object libssh/CMakeFiles/ssh_shared.dir/options.c.o
[ 45%] Building C object libssh/CMakeFiles/ssh_shared.dir/packet.c.o
[ 47%] Building C object libssh/CMakeFiles/ssh_shared.dir/poll.c.o
[ 49%] Building C object libssh/CMakeFiles/ssh_shared.dir/session.c.o
[ 50%] Building C object libssh/CMakeFiles/ssh_shared.dir/scp.c.o
[ 52%] Building C object libssh/CMakeFiles/ssh_shared.dir/socket.c.o
[ 54%] Building C object libssh/CMakeFiles/ssh_shared.dir/string.c.o
[ 56%] Building C object libssh/CMakeFiles/ssh_shared.dir/wrapper.c.o
[ 58%] Building C object libssh/CMakeFiles/ssh_shared.dir/sftp.c.o
[ 60%] Building C object libssh/CMakeFiles/ssh_shared.dir/sftpserver.c.o
[ 61%] Building C object libssh/CMakeFiles/ssh_shared.dir/server.c.o
Linking C shared library libssh.so
gcc: unrecognized option '-R/usr/local/ssl/lib:/usr/local/lib'
/usr/bin/ld: libssh.so.4.0.2: undefined versioned symbol name
listen@@SOCKET_1.0
/usr/bin/ld: failed to set dynamic section sizes: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libssh/libssh.so.4.0.2] Error 1
make[1]: *** [libssh/CMakeFiles/ssh_shared.dir/all] Error 2
make: *** [all] Error 2

-- 
Bhanuchandar Chebrolu

Follow-Ups:
Re: build errorAndreas Schneider <mail@xxxxxxxxxxxx>
Re: build errorAndreas Schneider <mail@xxxxxxxxxxxx>
Re: build errorAndreas Schneider <mail@xxxxxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org