Portable OpenSSH: Dangerous AIX linker behavior (aixgcc.adv)

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Thu May 1 04:09:25 EST 2003

On Wed, 30 Apr 2003 13:39:49 +1000, Damien Miller <djm at mindrot.org>  said:
> 1. Systems affected:
> 	Users of Portable OpenSSH prior to 3.6.1p2 on AIX are affected 
> 	if OpenSSH was compiled using a non-AIX compiler (e.g. gcc).

This is the same problem as I spotted in Sendmail 8.10.  Basically,
somewhere, linking is being done with "-L. -lfoo" or similar (in sendmail's
case, it was -L../otherdir type stuff).

Workaround/fix:  Link with "-bnolibpath -blibpath:/usr/local/lib:/usr/lib"
or similar.
				Valdis Kletnieks
				Computer Systems Senior Engineer
				Virginia Tech

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 226 bytes
Desc: not available
Url : http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20030430/63f017e4/attachment.bin 

More information about the openssh-unix-dev mailing list