Bug 79548

Summary: *.la files missing in devel packages
Product: [Retired] Red Hat Linux Reporter: Joerg Lehrke <jlehrke>
Component: ORBitAssignee: Havoc Pennington <hp>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: mitr
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-12-13 13:55:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joerg Lehrke 2002-12-13 10:30:09 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021212

Description of problem:
To link programs against ORBit libraries using libtool you need the *.la files
within the devel package. These files are missing in many *-devel.%{arch}.rpm
files. Therefore I was not able to rebuild e.g. the galeon package on my machine.

Resulution: Add the *.la files to %files devel

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Try to rebuild the galeon RPM on a Red Hat8.0 machine.

    

Actual Results:  Failed with errors about the missing files.

Expected Results:  Success;-)

Additional info:

Pleas check all Gnome releated devel-RPMS for these files.

Comment 1 Havoc Pennington 2002-12-13 13:55:46 UTC
You don't need the .la files - we have dozens of packages linked to ORBit
without them. 

The idea is to use orbit-config (ORBit1) or pkg-config (ORBit2) to get the 
libs. 

We have a deliberate policy of excluding .la files from the gnome packages.

Comment 2 Joerg Lehrke 2002-12-13 14:13:47 UTC
This mentioned policy seems to be not implemented in a consistent way. I expect that a 
Red Hat release is self-consistent, so that you're able to recompile everything within 
the distribution itself. I could not recompile the galeon package on 8.0 because of the 
missing *.la files. I think this happens with other Gnome packets as well. 

Comment 3 Havoc Pennington 2002-12-13 16:07:00 UTC
You get an error message about "libfoo.la not found" right?

grep for "libfoo.la" in /usr/lib/*.la. Then "rpm -qf /usr/lib/whatever.la" 
for any .la files that contain a reference to libfoo.la. If you find 
whatever.la owned by a Red Hat official package, referring to nonexistent
libfoo.la, then that's a bug we should fix. If whatever.la isn't owned
by a package we shipped in 8.0, then it's a problem with wherever you got 
whatever.la.