Ticket #2 (closed defect)

Opened 12 years ago

Last modified 12 years ago

compile error

Reported by: anonymous Owned by:
Priority: low Milestone:
Component: Version:
Keywords: Cc: sarag
Blocked By: Blocks:

Description

make all install
make[1]: Entering directory `/root/libssh2-0.7/src'
gcc -o channel.o channel.c -c -g -O2 -I/usr/include -
I/usr/include -Wall -g -I../include/ -fPIC
gcc -o comp.o comp.c -c -g -O2 -I/usr/include -
I/usr/include -Wall -g -I../include/ -fPIC
gcc -o crypt.o crypt.c -c -g -O2 -I/usr/include -
I/usr/include -Wall -g -I../include/ -fPIC
gcc -o hostkey.o hostkey.c -c -g -O2 -I/usr/include -
I/usr/include -Wall -g -I../include/ -fPIC
gcc -o kex.o kex.c -c -g -O2 -I/usr/include -I/usr/include -
Wall -g -I../include/ -fPIC
gcc -o mac.o mac.c -c -g -O2 -I/usr/include -
I/usr/include -Wall -g -I../include/ -fPIC
gcc -o misc.o misc.c -c -g -O2 -I/usr/include -
I/usr/include -Wall -g -I../include/ -fPIC
gcc -o packet.o packet.c -c -g -O2 -I/usr/include -
I/usr/include -Wall -g -I../include/ -fPIC
gcc -o scp.o scp.c -c -g -O2 -I/usr/include -I/usr/include -
Wall -g -I../include/ -fPIC
gcc -o session.o session.c -c -g -O2 -I/usr/include -
I/usr/include -Wall -g -I../include/ -fPIC
gcc -o sftp.o sftp.c -c -g -O2 -I/usr/include -I/usr/include -
Wall -g -I../include/ -fPIC
gcc -o userauth.o userauth.c -c -g -O2 -I/usr/include -
I/usr/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 scp.o session.o sftp.o
userauth.o -L-L/usr/kerberos/lib -lssl -lcrypto -
lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -
lcrypto -L/usr/lib -lz -shared
/usr/bin/ld: cannot find -lgssapi_krb5
collect2: ld returned 1 exit status
make[1]: * [libssh2.so] Error 1
make[1]: Leaving directory `/root/libssh2-0.7/src'
make:
* [all] Error 1

Change History

comment:1 Changed 12 years ago by sarag

gcc -o libssh2.so channel.o comp.o crypt.o hostkey.o
kex.o mac.o misc.o packet.o scp.o session.o sftp.o
userauth.o -L-L/usr/kerberos/lib -lssl -lcrypto -
lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -
lcrypto -L/usr/lib -lz -shared

This line is not part of the standard libssh2 Makefile. Are you
using an alternate release of libssh2 from another source?

Note: See TracTickets for help on using tickets.