Hi, On Wed, 6 Aug 2008, Jakub 'Livio' Rusinek wrote:
Dnia 2008-08-06, śro o godzinie 12:45 -0600, Andrew Jorgensen pisze:
The shared library policy says:
- Avoid packaging libtool config files (.la files). In general they are not needed if you do not package a static library. If in doubt, ask.
Most KDE packages need them if made by libtool.
You always have to differentiate between modules and libraries. On an ELF system .la files for shared libraries are always useless (an exception would be if you use libtool for linking and explicitely place a file like "/usr/lib/foo.la" in the link command, but that's usually not the case, so just don't do that). The situation is similar with modules (i.e. those opened via (lt)dlopen). Often applications using ltdlopen will name the .la file directly, and hence it would be required at runtime. If they wouldn't it all will still work even without the .la file, no matter if ltdlopen is used or not. Again, for an ELF system. Hence the general policy of _not_ to package the .la files. Of course you have to check the package if it indeed still works. Chances are very high if it doesn't use plugins or the like. Ciao, Michael.