Martin Costabel writes:
> Pascal J.Bourguignon wrote:
> > In addition, I removed  
> > /sw/fink/dists/stable/main/binary-darwin-powerpc/web/wget_1.8.2-1_darwin-powerpc.deb
> > ran: fink purge wget ; fink install wget 
> > to get it recompiled and reinstalled, and it still tries to refer 0.9.7...
> 
> > So I ran: fink install openssl, and while now I've got a
> > /sw/lib/libssl.0.9.6.dylib, wget still does not work since it's
> > expecting /sw/lib/libssl.0.9.7.dylib.
> 
> For libssl.0.9.7, you need to install openssl097

Ok, I've installed openssl097 and  with it wget works correctly. Thank
you for the hint.

If  wget  needs  openssl097,  or  if it  needs  something  that  needs
openssl097, why is it not automatically installed along wget?

What  would  be the  rationnal  to keep  openssl  0.9.6?  Have they  a
different API?


> > $ wget -h 
> > dyld: wget can't open library: /sw/lib/libssl.0.9.7.dylib  (No such file or 
> > directory, errno = 2)
> > Trace/BPT trap
> 
> This is really wget, not wget-ssl? The wget from the wget package should 
> not link to libssl at all. What does "otool -L /sw/bin/wget" give?

wget. Strange isn't it:

$ otool -L /sw/bin/wget
/sw/bin/wget:
        /sw/lib/libintl.1.dylib (compatibility version 2.0.0, current version 2.1.0)
        /sw/lib/libiconv.2.dylib (compatibility version 5.0.0, current version 5.0.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 
63.0.0)


$ fink  list |egrep wget\|openssl 
        openssl 0.9.6j-1        Secure Sockets Layer and general crypto library
        openssl-dev     0.9.6j-1        Secure Sockets Layer and general crypto library
 i      openssl-shlibs  0.9.6j-1        Secure Sockets Layer and general crypto library
        openssl097      0.9.7b-1        Secure Sockets Layer and general crypto library
        openssl097-dev  0.9.7b-1        Secure Sockets Layer and general crypto library
        openssl097-shlibs       0.9.7b-1        Secure Sockets Layer and general 
crypto library
 i      wget    1.8.2-1 Automatic web site retreiver
        wget-ssl        1.8.2-2 Automatic web site retreiver, with SSL support

  
> If you set the environment variable DYLD_PRINT_LIBRARIES and the run 
> wget, you will see more precisely who is trying to load libssl. It might 
> not be wget itself.

Perhaps it's libiconv.2?

$ export DYLD_PRINT_LIBRARIES=1
$ wget
loading libraries for image: wget
loading library: /sw/lib/libintl.1.dylib
loading library: /sw/lib/libiconv.2.dylib
dyld: wget can't open library: /sw/lib/libssl.0.9.7.dylib  (No such file or directory, 
errno = 2)
Trace/BPT trap


-- 
__Pascal_Bourguignon__                     http://www.informatimago.com/
There is no worse tyranny than to force a man to pay for what he doesn't
want merely because you think it would be good for him.--Robert Heinlein
http://www.theadvocates.org/


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to