Missing *.la files

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

sudo lafilefixer --justfixit

It won’t create the .la file, but it will fix the libtool references so nothing points to it so 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 *

This site uses Akismet to reduce spam. Learn how your comment data is processed.