Patch: Re: bug in ld -rpath ??

H . J . Lu hjl@lucon.org
Mon Aug 21 21:58:00 GMT 2000


On Mon, Aug 21, 2000 at 03:40:55PM -0700, Nick Clifton wrote:
> 
>    * Add code to the ..._after_open() function to display the searches
>      (both successful and failed) for needed libraries when the
>      -verbose switch is used.  (Searches for libraries specified on
>      the command line are shown with this option, and I believe that
>      it would be helpful to have the needed library searches shown as
>      well).

The current ld will complain if it cannot find the needed library. I
added some code to do

found the needed DSO libused_by_a.so at /home/hjl/bugs/gas/rpath/a/../u/libused_by_a.so
found the DSO libused_by_a.so needed by a/liba.so

with -verbose. I output 2 lines since there is no easy way to get all
information in one place.  Is that ok?


H.J.


More information about the Binutils mailing list