openssh-4.1p1 on OSX 10.4.1 w/ openssl-0.9.8 NOT FINDING -lcrypto

Darren Tucker dtucker at zip.com.au
Tue Jul 12 19:03:17 EST 2005


OpenMacNews wrote:
> unfortunately, trying to build w/ static ssl/zlib on OSX opens up "a 
> whole nother can o worms" ... <sigh> ...

You don't have to build OpenSSH with -static, just make sure the there's 
no dynamic version of the relevant libraries in the link path.

> anyway, a question re: findssl.sh ...
[...]
> oddly, NO lib files -- shared OR static are found ....
> 
> nonetheless, the openssh build against openssl installed in /usr/local 
> is all ok.
> 
> what am i missing so that findssl.sh is NOT FINDING the libs?

Well, for one thing findssl doesn't know that *.dylib might be a 
library.  You can try the attached patch for that.

As far as the *.a libraries, I dunno.  The script uses an ugly hack to 
force the use of a particular library (ie it doesn't use -L) which works 
on most Unixes I know of, but maybe the OS X linker doesn't work that way.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: findssl.patch
Url: http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20050712/c368bd45/attachment.ksh 


More information about the openssh-unix-dev mailing list