Bug 130251 - curl includes library that changes ABI
Summary: curl includes library that changes ABI
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: curl
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jindrich Novy
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-08-18 14:41 UTC by Sean Middleditch
Modified: 2013-07-02 23:01 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-10-24 22:04:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Provide curl-devel, Obsolete (versioned) curl-devel (612 bytes, patch)
2007-10-24 21:45 UTC, Ville Skyttä
no flags Details | Diff

Description Sean Middleditch 2004-08-18 14:41:23 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2)
Gecko/20040809 Epiphany/1.2.7

Description of problem:
The curl package includes a library, libcurl, which other applications
will sometimes link against.  However, because this library is
packaged with the curl utility, there is no way to have two different
ABI incompatible versions of the libcurl library installed.  If a
third-party package requires libcurl.so.2, and the updated curl
utility needs and provides libcurl.so.3, I am forced to either not use
the third-party application or stay stuck with an older curl utility.

The libcurl library should be split into a separate package that
allows installation of different ABI-incompatible versions so that
software will Just Work(tm) without messing around with RPM-hell.

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

How reproducible:
Always

Steps to Reproduce:
1. install an app that requires an older libcurl.so.2
2. try to upgrade the curl utility
    

Additional info:

Comment 1 Daniel Stenberg 2004-10-03 22:37:16 UTC
I second this request whole-heartedly. My plea was posted and is
archived here:

http://curl.haxx.se/mail/lib-2004-09/0095.html

AFAIK, Mandrake is the only current Linux distro that does this.

Comment 2 Steven Lawrance 2004-10-20 19:31:08 UTC
I also agree as yum update on Rawhide is broken for me due to
vorbis-tools, which has apparently not been recompiled yet against the
latest curl.

Here's my `yum update` output:

[root@catsmeow development]# yum update
Setting up Update Process
Setting up Repo:  development
repomd.xml                100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
developmen: ################################################## 3430/3430
Excluding Packages
Excluding Incompatible Archs
Finished
Excluding Packages from Fedora Core 2.91 - Development Tree
Resolving Dependencies
Error: missing dep: libcurl.so.2 for pkg vorbis-tools


Comment 3 Steven Lawrance 2004-11-09 18:08:14 UTC
Ahh, nevermind on Comment #2. Apparently, the RPM for vorbis-tools did
not obsolete the previous version, so after removing the version that
depended on the old curl with `rpm --erase vorbis-tools-1.0.1-2`, yum
update as-is works properly now. So, ignore comments 2 and 3 ;-).

Comment 4 Ville Skyttä 2007-10-24 21:45:45 UTC
Created attachment 236711 [details]
Provide curl-devel, Obsolete (versioned) curl-devel

Looks like libcurl has been split from curl in devel CVS, good.

However, libcurl-devel does not have Provides: curl-devel, requiring per-branch
adjustments for dependent packages, and has an unversioned Obsoletes on
curl-devel which is frowned upon and may cause "interesting" problems in the
future.

The attached patch should fix both issues.

Comment 5 Jindrich Novy 2007-10-24 22:04:59 UTC
Ok, all should be fixed now.


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