FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Packaging

 
 
LinkBack Thread Tools
 
Old 10-04-2010, 04:09 AM
Toshio Kuratomi
 
Default About libtool usage

On Sun, Oct 03, 2010 at 11:38:00PM -0300, Sergio Belkin wrote:
> Hi,
>
> I've read on http://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_Static_Libraries
>
> "Libtool archives, foo.la files, should not be included. Packages
> using libtool will install these by default even if you configure with
> --disable-static, so they may need to be removed before packaging. Due
> to bugs in older versions of libtool or bugs in programs that use it,
> there are times when it is not always possible to remove *.la files
> without modifying the program. In most cases it is fairly easy to work
> with upstream to fix these issues. Note that if you are updating a
> library in a stable release (not devel) and the package already
> contains *.la files, removing the *.la files should be treated as an
> API/ABI change -- ie: Removing them changes the interface that the
> library gives to the rest of the world and should not be undertaken
> lightly."
>
> Does that mean that we should not use libtool? What if I'd want to
> build a shared library?
>
Using libtool is perfectly fine. It's just that when packaging the results
of building you want to remove the *.la files.

-Toshio
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
 
Old 10-04-2010, 12:09 PM
Sergio Belkin
 
Default About libtool usage

2010/10/4 Toshio Kuratomi <a.badger@gmail.com>:
> On Sun, Oct 03, 2010 at 11:38:00PM -0300, Sergio Belkin wrote:
>> Hi,
>>
>> I've read on http://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_Static_Libraries
>>
>> "Libtool archives, foo.la files, should not be included. Packages
>> using libtool will install these by default even if you configure with
>> --disable-static, so they may need to be removed before packaging. Due
>> to bugs in older versions of libtool or bugs in programs that use it,
>> there are times when it is not always possible to remove *.la files
>> without modifying the program. In most cases it is fairly easy to work
>> with upstream to fix these issues. Note that if you are updating a
>> library in a stable release (not devel) and the package already
>> contains *.la files, removing the *.la files should be treated as an
>> API/ABI change -- ie: Removing them changes the interface that the
>> library gives to the rest of the world and should not be undertaken
>> lightly."
>>
>> Does that mean that we should not use libtool? What if I'd want to
>> build a shared library?
>>
> Using libtool is perfectly fine. *It's just that when packaging the results
> of building you want to remove the *.la files.
>
> -Toshio
>
> --

Thanks Toshio for the answer!

--
--
Sergio Belkin http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
Sergio Belkin -
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
 

Thread Tools




All times are GMT. The time now is 07:53 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org