Bug 172628 - Remove .la file from freetype-devel
Remove .la file from freetype-devel
Status: CLOSED NEXTRELEASE
Product: Fedora
Classification: Fedora
Component: freetype (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Carl Worth
Brock Organ
: Reopened
Depends On:
Blocks: FC6Target
  Show dependency treegraph
 
Reported: 2005-11-07 15:47 EST by Kjartan Maraas
Modified: 2007-11-30 17:11 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-08-18 12:28:32 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Kjartan Maraas 2005-11-07 15:47:11 EST
Description of problem:

.la files aren't strictly needed on Linux and causes a lot of problems when
compiling since they hardcode absolute paths to dependent libraries.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 Jesse Keating 2006-08-17 18:19:01 EDT
Built into rawhide w/out .a and .la files.
Comment 2 Dawid Gajownik 2006-08-18 10:02:18 EDT
You should pass "--disable-static" option to configure script instead of
removing *.a files. This will speed up building process.
Comment 3 Jesse Keating 2006-08-18 12:28:32 EDT
That doesn't always work, but I'll toss it into CVS anyway.
Comment 4 Takanori MATSUURA 2007-06-19 22:53:34 EDT
Sorry for the comment to already-closed bug.

The reporter requests to remove "only" .la file and not want to remove .a file.

Static library is sometimes required for building binary files which is compiled
with all libraries being linked statically.

So we should run configure script without "--disable-static" and remove .la file
manually.

BTW, I think that .la file is created properly now.  But I agree with the
comment #1.
Comment 5 Dawid Gajownik 2007-06-20 11:29:10 EDT
(In reply to comment #4)
> So we should run configure script without "--disable-static" and remove .la file
> manually.

No, we should not. Current behavior is correct with packaging guidelines →
http://fedoraproject.org/wiki/Packaging/Guidelines#StaticLibraries
Comment 6 Takanori MATSUURA 2007-06-20 20:44:35 EDT
(In reply to comment #5)
OK. I confirmed.

Sorry for SPAM.

Note You need to log in before you can comment on or make changes to this bug.