Missing *.la files

Sometimes, when you compile a package, it fails and complains that it can’t find a *.la file for some library that is installed. Recently, I ran into this while compiling dev-libs/gobject-introspection, which complained about a missing libpng14.la. The solution is to run:

sudo lafilefixer --justfixit

It won’t create the .la file, but it will fix the libtool references so that nothing points to it, and packages will compile fine.

3 thoughts on “Missing *.la files”

  1. Thank you for the tip. I couldn’t figure out what to do with this little thingy…

  2. Hi,

    I am using ubuntu 11.10, where can i get the lafileixer from? I couldn’t get it from sudo apt-get install

    Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *