Ah!  Excellent!  That did indeed correct that annoying error.  Thank
you.

--------------------------------------------------------------------
Aaron Smith                [EMAIL PROTECTED]
System Administrator   (269) 337-7496
Kalamazoo College
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marek Marcola
Sent: Thursday, December 21, 2006 10:36 AM
To: openssl-users@openssl.org
Subject: Re: Wierd Linking issue with 0.9.8d

Hello,
>             So I downloaded a copy of OpenSSL 0.9.8d to my HP-UX
> system, did a ./config -prefix=/opt/openssl098d shared, make, make
> test, make install and all worked well.  However, I've run into a
> problem while compiling other pieces of software that use OpenSSL
> (such as Apache's mod_auth_ldap module) where it's trying to find
> "./libcrypto.sl.0.9.8".  Yes, there's a "../" on there.  If I run ldd
> on libssl.sl.0.9.8, it shows:
> 
>  
> 
> # /usr/ccs/bin/ldd libssl.sl.0.9.89
> 
>         /usr/lib/libdld.2 =>    /usr/lib/libdld.2
> 
>         /usr/lib/libc.2 =>      /usr/lib/libc.2
> 
>         /usr/lib/libdld.2 =>    /usr/lib/libdld.2
> 
>         ../libcrypto.sl.0.9.8 => ../libcrypto.sl.0.9.8
> 
>         /usr/lib/libdld.2 =>    /usr/lib/libdld.2
> 
>  
> 
> I can get things to compile by copying that libcrypto library into
> whatever local directory it happens to be trying to compile in, but
> that's a dirty hack and I suspect that this is the cause of me not
> being able to run those resultant binaries (they throw errors about
> unresolved symbols like ap_set_flag_slot and apr_pool_cleanup_null).
>  What did I do wrong with the install here to cause this to happen?
Nothing, sometimes on hpux this works this way.
To change this you may after "make install" change definition
of SHLIBDEPS variable in main Makefile in line:

$(MAKE) SHLIBDIRS=ssl SHLIBDEPS='-lcrypto' build-shared; \

to:

SHLIBDEPS='/opt/openssl098d/lib/libcrypto.sl.0.9.8'

and next:

# ldd libssl.sl.0.9.8
# rm libssl.sl.0.9.8
# make libssl.sl.0.9.8
# ldd libssl.sl.0.9.8
# cp libssl.sl.0.9.8 /opt/openssl098d/lib

this will change "./" to "/opt/openssl098d/lib".

Next dirty hack.

Best regards,
-- 
Marek Marcola <[EMAIL PROTECTED]>

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to