Subject: Re: [libssh2] 2 bugs in libssh2

Re: [libssh2] 2 bugs in libssh2

From: Simon Josefsson <>
Date: Tue, 27 Mar 2007 17:39:02 +0200

Daniel Johnson <> writes:

> The script sets up DYLD_LIBRARY_PATH so that Darwin's linker can find
> things. This is definitely a Darwinism needed because of Darwin's
> wacky linker. This is with libtool 1.5.22.
> Please let me know if I can provide any more information.

Thanks. This may be a libtool bug -- linking with -no-install should
produce a binary that works, which isn't the case for you. I'll bring
this up on the libtool list.

Meanwhile, I have removed the -no-install because I don't think it
causes serious problems for anyone. It makes it slightly more
difficult to gdb on the self test, but only slightly. Removing it
causes problems for running self-tests under Wine with mingw32
cross-compiles, but it is possible to work around that (another bug in
libtool actually, see discussions on the libtool list) by running a
small 'sed' on the libtool script:

        perl -pi -e 's/.run .LTCC/cc/' libtool

Please test tomorrow's snapshot again... I'll see if I can understand
or do anything about your first bug too.


Take Surveys. Earn Cash. Influence the Future of IT
Join's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
libssh2-devel mailing list
Received on 2007-03-27