problem with PATH set by libtool for uninstalled pixman library

Jon TURNEY jon.turney@dronecode.org.uk
Sun Oct 24 02:51:00 GMT 2010


On 04/09/2010 05:06, Charles Wilson wrote:
> On 7/29/2010 4:20 AM, Charles Wilson wrote:
>> On 7/28/2010 2:24 PM, Jon TURNEY wrote:
>>> I have a tinderbox which does daily builds of the X.Org stack for
>>> cygwin, and I've come across a something I don't understand with the way
>>> libtool is working when building the pixman library, and I hope someone
>>> can shed a bit of light.
>>
>>
>> I think a patch to simply swap the order of these two assignments would
>> be fine (e.g. do $dllsearchpath first, then make sure it gets pre-empted
>> by $rpath). On *nix it wouldn't matter, since the two variables are
>> DISTINCT vars.
>
> Can you give the most recent (libtool-2.2.11a-1) release a try, and let
> me know if it fixes your problem?

Yes, this seems to be working correctly now. Thanks.

Sorry for the slow response, but I wanted to wait until the test result 
actually changed to check that the correct DLL really was being picked up.

jon@allegra /opt/jhbuild/build/pixman/test
$ ./blitters-test.exe --lt-debug
blitters-test:./.libs/lt-blitters-test.c:227: libtool wrapper (GNU libtool 
1.3260 2010-09-02) 2.2.11a
blitters-test:./.libs/lt-blitters-test.c:228: (main) argv[0]: ./blitters-test
blitters-test:./.libs/lt-blitters-test.c:229: (main) program_name: blitters-test
blitters-test:./.libs/lt-blitters-test.c:390: (find_executable): ./blitters-test
blitters-test:./.libs/lt-blitters-test.c:345: (check_executable): 
/opt/jhbuild/build/pixman/test/./blitters-test
blitters-test:./.libs/lt-blitters-test.c:234: (main) found exe (before symlink 
chase) at: /opt/jhbuild/build/pixman/test/./blitters-test
blitters-test:./.libs/lt-blitters-test.c:497: checking path component for 
symlinks: /opt/jhbuild/build/pixman/test/./blitters-test
blitters-test:./.libs/lt-blitters-test.c:497: checking path component for 
symlinks: /opt/jhbuild/build/pixman/test/.
blitters-test:./.libs/lt-blitters-test.c:497: checking path component for 
symlinks: /opt/jhbuild/build/pixman/test
blitters-test:./.libs/lt-blitters-test.c:497: checking path component for 
symlinks: /opt/jhbuild/build/pixman
blitters-test:./.libs/lt-blitters-test.c:497: checking path component for 
symlinks: /opt/jhbuild/build
blitters-test:./.libs/lt-blitters-test.c:497: checking path component for 
symlinks: /opt/jhbuild
blitters-test:./.libs/lt-blitters-test.c:497: checking path component for 
symlinks: /opt
blitters-test:./.libs/lt-blitters-test.c:239: (main) found exe (after symlink 
chase) at: /opt/jhbuild/build/pixman/test/./blitters-test
blitters-test:./.libs/lt-blitters-test.c:262: (main) libtool target name: 
blitters-test.exe
blitters-test:./.libs/lt-blitters-test.c:613: (lt_setenv) setting 'BIN_SH' to 
'xpg4'
blitters-test:./.libs/lt-blitters-test.c:613: (lt_setenv) setting 'DUALCASE' 
to '1'
blitters-test:./.libs/lt-blitters-test.c:663: (lt_update_exe_path) modifying 
'PATH' by prepending 
'/opt/jhbuild/install/lib:/opt/jhbuild/install/bin:/opt/jhbuild/build/pixman/pixman/.libs:'
blitters-test:./.libs/lt-blitters-test.c:613: (lt_setenv) setting 'PATH' to 
'/opt/jhbuild/install/lib:/opt/jhbuild/install/bin:/opt/jhbuild/build/pixman/pixman/.libs:/home/jon/bin:/usr/local/bin:/usr/bin:/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/:/bin'
blitters-test:./.libs/lt-blitters-test.c:684: (lt_update_lib_path) modifying 
'PATH' by prepending '/opt/jhbuild/build/pixman/pixman/.libs:'
blitters-test:./.libs/lt-blitters-test.c:613: (lt_setenv) setting 'PATH' to 
'/opt/jhbuild/build/pixman/pixman/.libs:/opt/jhbuild/install/lib:/opt/jhbuild/install/bin:/opt/jhbuild/build/pixman/pixman/.libs:/home/jon/bin:/usr/local/bin:/usr/bin:/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0/:/bin'
blitters-test:./.libs/lt-blitters-test.c:294: (main) lt_argv_zero: 
/opt/jhbuild/build/pixman/test/./.libs/blitters-test.exe
blitters-test:./.libs/lt-blitters-test.c:298: (main) newargz[0]: 
/opt/jhbuild/build/pixman/test/./.libs/blitters-test.exe

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list