Sorry to resurrect an old thread, but I just ran into the problem at
https://lists.gnu.org/archive/html/libtool/2003-07/msg00062.html. Does
anyone know libtool handles this?

I'm trying to understand how a particular library that's installed on my
system works, so I compiled a debug version and installed it into a folder
in my home directory. However, whenever I use libtool to try to link with
my debug version, it seems to always put /usr/local/lib at the front of the
rpath. Is there some way to enforce ordering of the -Wl,-rpath arguments
that libtool emits? I should note that all the necessary folders are in the
rpath arguments; they're just in the wrong order.

I know I can solve my problem with LD_LIBRARY_PATH, but I'm trying to find
a solution that doesn't require this.

Thanks,
Myles
_______________________________________________
https://lists.gnu.org/mailman/listinfo/libtool

Reply via email to