|
From: | funtoos at yahoo dot com |
Subject: | [Bug ld/6753] In a prefixed install, -L order is not respected when searching for -l<libname>, but -T fixes it |
Date: | 23 Jul 2008 22:28:36 -0000 |
------- Additional Comments From funtoos at yahoo dot com 2008-07-23 22:28 ------- (In reply to comment #7) > (In reply to comment #6) > > I used "--prefix=/scratch/devsk > > -with-lib-path=/scratch/devsk/lib:/scratch/devsk/usr/lib:/usr/lib:/lib ...." > > when configuring, so that /scratch/devsk/lib:/scratch/devsk/usr/lib would > > be in > > SEARCH_DIR of LD by default. > > You have a very strange setup. You better come up with a testcase > which doesn't require me to copy things into /usr/lib. so, don't copy. change the name libmylib.so to libcwait.so. Or pick another library name which is in /usr/lib and use that. Only condition is binutils needs to be installed in a prefix and the same library needs to be present in $PREFIX/usr/lib/ and /usr/lib and with "-L$PREFIX/usr/lib -L/usr/lib", ld will just pick the one form /usr/lib. -- What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW http://sourceware.org/bugzilla/show_bug.cgi?id=6753 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
[Prev in Thread] | Current Thread | [Next in Thread] |