10.8 Uninstalling

back: installing an executable
forward: using gnu libtool
 
fastback: introducing gnu libtool
up: introducing gnu libtool
fastforward: using gnu libtool
top: autoconf, automake, and libtool
contents: table of contents
index: index
about: about this document

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 

Using 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.


This document was generated by Gary V. Vaughan on May, 24 2001 using texi2html


GNU Autoconf, Automake and Libtool
GNU Autoconf, Automake, and Libtool
ISBN: 1578701902
EAN: 2147483647
Year: 2002
Pages: 290

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net