bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Libtool fails to build working binary when -no-install is used


From: Peter O'Gorman
Subject: Re: Libtool fails to build working binary when -no-install is used
Date: Tue, 3 Apr 2007 17:06:58 -0500


On Apr 3, 2007, at 4:44 PM, Ralf Wildenhues wrote:

Hi Peter, all,

* quoting myself:
* Simon Josefsson wrote on Thu, Mar 29, 2007 at 12:17:32PM CEST:

/bin/sh ../libtool --tag=CC   --mode=link gcc  -DLIBSSH2_DARWIN -I/
usr/include -I/usr/include -no-install -L/usr/lib -lcrypto -L/usr/ lib
-lz -o simple simple.o ../src/libssh2.la
mkdir .libs
gcc -DLIBSSH2_DARWIN -I/usr/include -I/usr/include -o simple
simple.o  -L/usr/lib ../src/.libs/libssh2.dylib -lcrypto -lz
make  check-TESTS
dyld: Library not loaded: /usr/local/lib/libssh2.1.dylib
   Referenced from: /Users/daniel/Desktop/libssh2/tests/./simple
   Reason: image not found
FAIL: simple

Looks like a Darwin-related (hint, hint! ;-) bug to me.

Do I understand correctly that Darwin has no way to hardcode library
paths (other than the ones given by -install-name)?  OK to apply and
backport?  It fixes the stresstest failure exposed by my last patch.

Yes. Sorry, I have not been watching the list as closely as I should be. This looks okay to me, please apply.

Thanks,
Peter
--
Peter O'Gorman
http://pogma.com






reply via email to

[Prev in Thread] Current Thread [Next in Thread]