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

OpenMacNews OpenMacNews at speakeasy.net
Tue Jul 12 18:16:18 EST 2005


hi darren,

> It looks like the "shared" option is the reason.  If you were to rebuild
> w/out it (and delete the existing libaries from /usr/local/ssl/lib) then I
> strongly suspect you will not see the problem.

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

> It doesn't matter.  findssl.sh's purpose is to show *all* installed versions,
> the order is irrelevant.


anyway, a question re: findssl.sh ...

after an update of my local locate DB, i find:

% ls -al /usr/local/lib/libcrypto*
    -r-xr-xr-x  1 root staff 1413064 Jul 11 23:55 
/usr/local/lib/libcrypto.0.9.8.dylib
    -rw-r--r--  1 root staff 2510832 Jul 11 23:55 /usr/local/lib/libcrypto.a
    lrwxr-xr-x  1 root staff      21 Jul 11 23:55 
/usr/local/lib/libcrypto.dylib -> libcrypto.0.9.8.dylib

and,

% locate libcrypto.a
    /Volumes/SystemFiles/local/lib/libcrypto.a
    /Volumes/SystemFiles/local/tempstatic/lib/libcrypto.a

where,

% ls -ald /usr/local
    lrwxr-xr-x  1 root wheel 26 Jun 12 12:40 /usr/local -> 
/Volumes/SystemFiles/local

but,

    % sh /usr/ports/openssh-4.1p1/contrib/findssl.sh
        Searching for OpenSSL header files.
        0x0090702fL /usr/include/openssl/opensslv.h
        0x0090702fL
        /Developer/SDKs/MacOSX10.3.9.sdk/usr/include/openssl/opensslv.h
        0x0090702fL
        /Developer/SDKs/MacOSX10.4.0.sdk/usr/include/openssl/opensslv.h
        0x0090702fL
        /Developer/SDKs/MacOSX10.4u.sdk/usr/include/openssl/opensslv.h
        0x0090800fL /usr/ports/openssl-0.9.8/crypto/opensslv.h
        0x0090800fL /usr/ports/openssl-0.9.8/include/openssl/opensslv.h
        0x0090800fL /Volumes/SystemFiles/local/include/openssl/opensslv.h

    Searching for OpenSSL shared library files.

    Searching for OpenSSL static library files.
    %

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?

thx!

cheers,

richard




More information about the openssh-unix-dev mailing list