Hi Mark,
It seems that the change in arguments you used in the configuration script
has caused the compile to include the -lbsd switch which was not included
the 1st time you compiled SSH2. It also seems that you don't have the
/usr/lib/libbsd.a library on your system. You can see that this is a
static library and might not be in the same location on your system as it
is on my RedHat Linux box at work. It's in the same location on my Caldera
box at home.
Good luck, Carl
On 13-Mar-00 Mark E. Drummond wrote:
> Hi all. I am rebuilding SSH2 on my Slackware 7 Linux box. I already
> have
> ssh2 installed, but I needed ssh1 compat so I installed ssh1 and I am
> now trying to rebuild ssh2 with ssh1 compat. I just did this last night
> on my home machine, also Slack 7, without a hitch. But on my machine
> here at work I get:
>
> make[3]: Entering directory `/usr/local/src/ssh-2.0.13/apps/ssh'
> gcc -g -Wall -o ssh2 ssh2.o -L. -L../../lib -lssh2 -lssh -ltermcap
> -lnsl -L/usr/local/lib -lcrypt -lncurses -ltermcap -lwrap -lbsd -lnsl
> -lutil
> /usr/i386-slackware-linux/bin/ld: cannot open -lbsd: No such file or
> directory
> collect2: ld returned 1 exit status
> make[3]: *** [ssh2] Error 1
> make[3]: Leaving directory `/usr/local/src/ssh-2.0.13/apps/ssh'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/src/ssh-2.0.13/apps'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/ssh-2.0.13'
> make: *** [all-recursive-am] Error 2
>
> I don't get it. Like I said, I _already_ had ssh2 installed prior to
> this and it built without any errors. Why would it now be looking for
> and failing on -lbsd?
>
> --
> ______________________________________________________
> Mark Drummond|ICQ#19153754|mailto:[EMAIL PROTECTED]
> Gang Warily|http://signals.rmc.ca/
> Kingston Linux Users Group|http://signals.rmc.ca/klug/
------------------------------------------------------------------------
E-Mail: Carl J. Nobile <[EMAIL PROTECTED]>
Date: 14-Mar-00 Phone: 315-453-2912 Ex. 5336
Time: 10:50:17 Fax: 315-453-3052
Software Engineering Group -- AppliedTheory Corp.
224 Harrison Street, 6th Floor, Syracuse, NY 13202
------------------------------------------------------------------------