Bug 921875 - .la files in /usr/lib64
Summary: .la files in /usr/lib64
Status: CONFIRMED
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Development (show other bugs)
Version: Leap 15.0
Hardware: x86-64 openSUSE 13.2
: P5 - None : Normal with 5 votes (vote)
Target Milestone: Leap 15.0
Assignee: Dirk Mueller
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-11 21:03 UTC by ede rag
Modified: 2018-02-16 10:56 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ede rag 2015-03-11 21:03:30 UTC
Although the recommandation
https://en.opensuse.org/Shared_Library_Packaging_Policy
is clearly

"""
Avoid packaging libtool config files (.la files). If you do not package a static library, and if you are also placing the shared library in a standard search directory (i.e. %_lib, /usr/%_lib), they will not be needed.
"""

There are .la files in /usr/lib64

This triggered a long to find bug,
when trying to build octave from source:
https://savannah.gnu.org/bugs/?44467
Comment 1 Ruediger Oertel 2015-03-12 14:43:23 UTC
they are from libqt4-devel ... -> bugowner
Comment 2 ede rag 2015-03-12 19:13:48 UTC
There are at least 3 other libs*.la including -L/usr/lib64

grep "\-L\/usr\/lib64" /usr/lib64/lib*.la
/usr/lib64/libavahi-qt4.la:dependency_libs=' /usr/lib64/libavahi-common.la /usr/lib64/libQtCore.la -L/usr/lib64 -lpthread'
/usr/lib64/libgettextlib.la:dependency_libs=' -L/usr/lib64 -lcroco-0.6 -lglib-2.0 /usr/lib64/libxml2.la -ldl -lz -llzma -lm'
/usr/lib64/libgettextsrc.la:dependency_libs=' /usr/lib64/libgettextlib.la -L/usr/lib64 -lcroco-0.6 -lglib-2.0 /usr/lib64/libxml2.la -ldl -lz -llzma -lm -lc'


and here are the remaining *.la in my /usr/lib64

libasprintf.la
libavahi-client.la
libavahi-common.la
libavahi-core.la
libdns_sd.la
libgettextpo.la
libgnc-backend-sql.la
libgnc-backend-xml-utils.la
libgnc-business-ledger.la
libgnc-core-utils.la
libgnc-core-utils-python.la
libgnc-gnome.la
libgnc-module.la
libgnc-qof.la
libgstbase-1.0.la
libgstcheck-1.0.la
libgstcontroller-1.0.la
libgstnet-1.0.la
libgstreamer-1.0.la
libjasper.la
libltdl.la
libxml2.la
Comment 3 ede rag 2015-03-28 21:24:55 UTC
(In reply to Ruediger Oertel from comment #1)
> they are from libqt4-devel ... -> bugowner

libqt4-devel is not the only one. For a list on my system please see comment #2.
Comment 4 Karl Cheng 2017-09-23 02:09:40 UTC
The following packages still provide *.la files in /usr/lib64:

libqt4-devel-4.8.7-7.2.x86_64
libxml2-devel-2.9.4-4.2.x86_64
gettext-tools-0.19.8.1-4.3.x86_64

I tested this on TW but assuming this would also be true for Leap.