On May 24, 2001, Brian May <[EMAIL PROTECTED]> wrote:

>>>>>> "Alexandre" == Alexandre Oliva <[EMAIL PROTECTED]> writes:

Alexandre> In general, when relinking is necessary, you must not
Alexandre> use a different prefix to install than the one used to
Alexandre> build.

> In which case, you are saying that libtool is completely broken and
> unusable for creating Debian packages?

I guess I exaggerated it a little bit.  Even though this is indeed the
case on HP-UX, it shouldn't be on GNU/Linux or other reasonable
platforms in which the linker doesn't try to outsmart the user.
You'll still need re-linking in case of libtool libraries depending on
uninstalled libtool libraries, but it's not (or shouldn't be) the case
that you need them previously installed in the place where they're
expected to be at run-time.  Or so I hope.

In any case, we do have a problem in libtool; it should somehow help
the linker find libsub even though it's not installed in the expected
place.  I suppose we could just use the uninstalled version to link
whatever other libraries depend on it, if we find the library is not
installed yet.  This will break on HP-UX, but we can probably live
with that.  In fact, there's no other way around.

Patches are welcome :-)

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to