rick> Personally a find the use of rpath a horrible direction for us to 
go.  Shared libraries encode their install location as part of the binary. 

rick> [elsewhere] If libftdi is built with --prefix, its install path in 
the binary will be correct and everything is fine.  No rpath is necessary.

Since when? Perhaps you know something I do not know. Please point me to 
a reference.

I have used -rpath exactly to solve the problem when a package is 
installed in a non-standard place.
and that is exactly the problem we are discussing, and why it would be 
used in that scenario.

In fact, numerous GNU tools tell you to do exactly this. MPFR and GMP 
are two exact examples of this.

See for example the MPFR manual, section 4.1 - here: 
http://www.mpfr.org/mpfr-current/mpfr.html
Last paragraph.

-Duane.


_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to