http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46607
--- Comment #11 from Alexandre Oliva <aoliva at gcc dot gnu.org> 2011-01-28 07:38:06 UTC --- Yeah, relinking, not prelinking, sorry. I guess something along the lines of make_relative_prefix might work, if a twisted maze of soft links doesn't make it unworkable. IIRC that's why libtool decided to support DESTDIR but not arbitrary prefix changes. In order to avoid relinking, you can configure with --enable-fast-install, but I haven't checked this will work around the install-time complaint, and I'm concerned that, at least on some systems, it might cause old preinstalled dependency libraries to be used instead of just-built ones, in spite of GCC's setting of SHLIB_PATH or equivalent. I guess it may be worth a shot if you want to operate outside libtool's (current) specs. All that said, this is probably not the right forum to discuss bugs or suggest improvements for libtool. Heck, I haven't even been involved with libtool for years, so I might as well back away slowly ;-) IMHO, odds are better of having it resolved for good (improved or rejected) if you take it upstream. Now, if you'd like to reopen this once it's in libtool's bug database, with a pointer to it in “See Also”, just so that it's tracked in GCC's bug database, no objections from me.