1825771 Members
2306 Online
109687 Solutions
New Discussion

ssh compilation problem

 
Natalja Suhhonenko
Occasional Contributor

ssh compilation problem

Hello,
i tried to compile ssh (ssh-3.1.0 from ssh.com)
and got these error messgaes.
I am installing it on 11.0

/usr/bin/ld: Unsatisfied symbols:
ssh_realloc (first referenced in ../../lib/libssh.a(sshdebug.o)) (code)
ssh_strdup (first referenced in ../../lib/libssh.a(sshdebug.o)) (code)
ssh_memdup (first referenced in ../../lib/libssh.a(sshdebug.o)) (code)
ssh_calloc (first referenced in ../../lib/libssh.a(sshdebug.o)) (code)
ssh_free (first referenced in ../../lib/libssh.a(sshdebug.o)) (code)
ssh_malloc (first referenced in ../../lib/libssh.a(sshdebug.o)) (code)
collect2: ld returned 1 exit status
*** Error exit code 1
5 REPLIES 5
Bill McNAMARA_1
Honored Contributor

Re: ssh compilation problem

Try getting it from here:

http://hpux.cs.utah.edu/hppd/hpux/Networking/Admin/openssh-3.1p1/

Later,
Bill
It works for me (tm)
Natalja Suhhonenko
Occasional Contributor

Re: ssh compilation problem

Tnx Bill,

but i prefer commercial version of ssh , NOT OpenSSH.
Tore_1
Regular Advisor

Re: ssh compilation problem

Try to download these binaries, I tried it for a couple of platforms and they work "out of the box"

http://commerce.ssh.com/sshsvr/index.html?SshSid=IrAjRvik56dxG-9D

Steven Sim Kok Leong
Honored Contributor

Re: ssh compilation problem

Hi,

I am using SSH Communications ssh distribution downloadable at:

ftp://ftp.ssh.fi/pub/ssh/ssh-3.1.0.tar.gz

Installing ssh-3.1.0.tar.gz has been a breeze for me, even on HP-UX 11.20 (HP-UX 11i v1.5). I had installed it on HP-UX 10.20 and HP-UX 11.00 previously without issues as well. I would suggest that you give it a try. As with many source distributions, you need to execute 3 commands for the installation:

# ./configure
# make
# make install

Configuration using this distribution is also straightforward in the configuration files residing in /etc/ssh2.

Hope this helps. Regards.

Steven Sim Kok Leong
Natalja Suhhonenko
Occasional Contributor

Re: ssh compilation problem

Steven, ftp.ssh.fi seems to be down,
anyway i got same error.
shproto -DETCDIR=\"/etc/ssh2\" -DSSH_BINDIR=\"/usr/local/bin\" -DFOREIGN_ETCDIR=\"/etc\" -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2 -Wall -Wno-unknown-pragmas -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c ssh2.c
gcc -g -O2 -Wall -Wno-unknown-pragmas -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o ssh2 ssh2.o -L. -Llib/sshproto -L../../lib -lssh2 -lsshproto -lssh -lm -lnsl -lsec -ltermcap -ltermcap -lnsl -L/usr/local/lib -lrpcsvc -lrpcsvc
/usr/bin/ld: Unsatisfied symbols:
ssh_realloc (first referenced in ../../lib/libssh.a(sshdebug.o)) (code)
ssh_strdup (first referenced in ../../lib/libssh.a(sshdebug.o)) (code)
ssh_memdup (first referenced in ../../lib/libssh.a(sshdebug.o)) (code)
ssh_calloc (first referenced in ../../lib/libssh.a(sshdebug.o)) (code)
ssh_free (first referenced in ../../lib/libssh.a(sshdebug.o)) (code)
ssh_malloc (first referenced in ../../lib/libssh.a(sshdebug.o)) (code)
collect2: ld returned 1 exit status
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.