bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

-no-fast-install not working on all systems (was: new module 'ldd')


From: Ralf Wildenhues
Subject: -no-fast-install not working on all systems (was: new module 'ldd')
Date: Fri, 13 Jan 2006 11:19:33 +0100
User-agent: Mutt/1.5.11

[ bug-gnulib elided ]

* Bruno Haible wrote on Thu, Jan 12, 2006 at 09:35:37PM CET:
> Ralf Wildenhues wrote:
> 
> > > The fact that a libtool created "program" is not actually a program but a
> > > script, is a problem of libtool. Fix that, then we can also use
> > > "gdb program" instead of the surprising syntax "libtool gdb program".
> >
> > Two comments: I have yet to see a proposal how uninstalled programs may
> > load uninstalled libraries on all systems, without using a wrapper of
> > some sort.
> 
> Here is a proposal that works on glibc systems and possibly other systems:
> Create the uninstalled program in the current directory, with -rpath
> linker options that refer to directories containing uninstalled libraries.
> 
> During installation "libtool --mode=install" will have to create a
> different executable, with different -rpath options.

This is how `--no-fast-install' *should* work, and does in fact work on
systems with hardcode_action != relink. 

I need to dig the archive to recap why the logic is different, and then
see what we can do about it (I do remember there was a reason for this).

Until then, you can use the `-no-install' libtool --mode=link flag as a
workaround for development -- but remember not to install the generated
binaries then.

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]