Next: , Previous: , Up: Using libtool   [Contents][Index]

3.6 Installing executables

If you used libtool to link any executables against uninstalled libtool libraries (see Linking executables), you need to use libtool to install the executables after the libraries have been installed (see Installing libraries).

So, for our Ultrix example, we would run:

a23# libtool --mode=install -c hell /usr/local/bin/hell
install -c hell /usr/local/bin/hell

On shared library systems that require wrapper scripts, libtool just ignores the wrapper script and installs the correct binary:

burger# libtool --mode=install -c hell /usr/local/bin/hell
install -c .libs/hell /usr/local/bin/hell