Hi,
If i'm right, lib crypto is OpenSSL
Strange...
I have openssl-0.9.8k-sol10-sparc-local installed, even tried with openssl-0.9.7g-sol10-sparc-local.
Same result!?
You are not logged in. Please login or register.
MySecureShell forum → Posts by Nothing
Pages 1
Hi,
If i'm right, lib crypto is OpenSSL
Strange...
I have openssl-0.9.8k-sol10-sparc-local installed, even tried with openssl-0.9.7g-sol10-sparc-local.
Same result!?
Hi,
Before compile MySecureShell, you have to modify the line in "Makefile":
LDFLAGS = -lcrypto
by
LDFLAGS = -lcrypto -lnsl
Then it should compile
Hello and thank you for the reply
After clean "configure" the line with LDFLAGS in Makefile looks like this:
LDFLAGS =
I've tried adding "-lnsl" but the error is the same as I quoted above.
If I add "-lcrypto" I get this:
Compile [SftpServer/Sftp.c]
Compile [SftpServer/Util.c]
Compile [SftpServer/Log.c]
Compile [SftpServer/Encoding.c]
SftpServer/Encoding.c: In function `convertToUtf8':
SftpServer/Encoding.c:47: warning: passing arg 2 of `libiconv' from incompatible pointer type
SftpServer/Encoding.c: In function `convertFromUtf8':
SftpServer/Encoding.c:77: warning: passing arg 2 of `libiconv' from incompatible pointer type
Compile [SftpServer/Admin.c]
Compile [SftpServer/SftpWho.c]
SftpServer/SftpWho.c: In function `SftpWhoRelaseStruct':
SftpServer/SftpWho.c:169: warning: passing arg 1 of `shmdt' from incompatible pointer type
Compile [SftpServer/SftpExt.c]
Compile [SftpServer/SftpServer.c]
Compile [SftpServer/GetUsersInfos.c]
Compile [SftpServer/Stats.c]
Compile [SftpServer/Access.c]
Compile binary [MySecureShell]
ld: fatal: library -lcrypto: not found
ld: fatal: File processing errors. No output written to MySecureShell
collect2: ld returned 1 exit status
make: *** [MySecureShell] Error 1
Installed is libgcrypt-1.2.4.
I also have problems compiling this great tool in Solaris 10 SPARC.
I had to do all the above changes in the source, but then I've got this:
bash-3.00# make
Makefile:135: warning: overriding commands for target `MySecureShell'
Makefile:66: warning: ignoring old commands for target `MySecureShell'
Compile [main.c]
Compile [string.c]
Compile [parsing.c]
Compile [hash.c]
Compile [conf.c]
Compile [convert.c]
Compile [user.c]
Compile [prog.c]
Compile [ip.c]
Compile [SftpServer/Buffer.c]
Compile [SftpServer/Encode.c]
Compile [SftpServer/Handle.c]
Compile [SftpServer/Send.c]
Compile [SftpServer/Sftp.c]
Compile [SftpServer/Util.c]
Compile [SftpServer/Log.c]
Compile [SftpServer/Encoding.c]
SftpServer/Encoding.c: In function `convertToUtf8':
SftpServer/Encoding.c:47: warning: passing arg 2 of `libiconv' from incompatible pointer type
SftpServer/Encoding.c: In function `convertFromUtf8':
SftpServer/Encoding.c:77: warning: passing arg 2 of `libiconv' from incompatible pointer type
Compile [SftpServer/Admin.c]
Compile [SftpServer/SftpWho.c]
SftpServer/SftpWho.c: In function `SftpWhoRelaseStruct':
SftpServer/SftpWho.c:169: warning: passing arg 1 of `shmdt' from incompatible pointer type
Compile [SftpServer/SftpExt.c]
Compile [SftpServer/SftpServer.c]
Compile [SftpServer/GetUsersInfos.c]
Compile [SftpServer/Stats.c]
Compile [SftpServer/Access.c]
Compile binary [MySecureShell]
Undefined first referenced
symbol in file
gethostbyaddr ip.o (symbol belongs to implicit dependency /usr/lib/libnsl.so.1)
gethostbyname parsing.o (symbol belongs to implicit dependency /usr/lib/libnsl.so.1)
inet_addr ip.o (symbol belongs to implicit dependency /usr/lib/libnsl.so.1)
ld: fatal: Symbol referencing errors. No output written to MySecureShell
collect2: ld returned 1 exit status
make: *** [MySecureShell] Error 1
I'm not a C programmer and the easiest thing was to remove the lines with the unknown code in the source.
Then it compiled successfully.
Pages 1
MySecureShell forum → Posts by Nothing
Powered by PunBB, supported by Informer Technologies, Inc.