|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]||[Top]||[Contents]||[Index]||[ ? ]|
Having installed all of these files to ‘/usr/local’, it might be difficult to remember which particular files belong to each installation. In the case of an executable, the uninstallation requires no magic, but when uninstalling a Libtool library all of the files which comprise the implementation of the Libtool library in question must be uninstalled:
$ libtool rm -f /usr/local/bin/hello rm -f /usr/local/bin/hello
$ libtool rm -f /usr/local/lib/libhello.la rm -f /usr/local/lib/libhello.la /usr/local/lib/libhello.sl.0.0 \ /usr/local/lib/libhello.sl.0 /usr/local/lib/libhello.sl \ /usr/local/lib/libhello.a
$ libtool rm -f /usr/local/lib/libtrim.la rm -f /usr/local/lib/libtrim.la /usr/local/lib/libtrim.sl.0.0 \ /usr/local/lib/libtrim.sl.0 /usr/local/lib/libtrim.sl \ /usr/local/lib/libtrim.a
libtool to perform the uninstallation in this way
ensures that all of the files that it installed, including any
additional soft links required by the architecture versioning scheme for
shared archives, are removed with a single command.
Having explored the use of
libtool from the command line, the
next chapter will discuss how to integrate
libtool into the
configury of your GNU Autotools based projects.
|[ < ]||[ > ]||[ << ]||[ Up ]||[ >> ]|
This document was generated by Ben Elliston on July 10, 2015 using texi2html 1.82.