Bug 133211 - libxslt-devel should require libgcrypt-devel
Summary: libxslt-devel should require libgcrypt-devel
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libxslt
Version: rawhide
Hardware: i686
OS: Linux
medium
low
Target Milestone: ---
Assignee: Daniel Veillard
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-09-22 14:28 UTC by Jan Arne Petersen
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version: 2.6.18
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-03-14 10:38:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jan Arne Petersen 2004-09-22 14:28:53 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2)
Gecko/20040809 Epiphany/1.3.8

Description of problem:
'/usr/lib/pkgconfig/libexslt.pc' contains '-lgcrypt' in the libraries
and libxslt requires libgcrypt.so.11.

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

How reproducible:
Always

Steps to Reproduce:
1.Install libxslt-devel and not libgcrypt-devel
2.Try to compile a program which requires libxslt
3.
    

Additional info:

Comment 1 Daniel Veillard 2004-09-22 15:58:17 UTC
Hum, libexslt requires libgcrypt and only if found at compilation time.
libxslt doesn't require libgcrypt. If you're just linking against 
libxslt it should not be needed.

Daniel

Comment 2 Jan Arne Petersen 2004-09-22 19:31:36 UTC
You are right it is only required by libexslt (if you use pkg-config
--libs libexslt) and not by libxslt.

The libexslt.pc contains:

Libs: -L${libdir} -lexslt -lxslt  -L/usr/lib -lxml2 -lz -lpthread -lm
-lm  -lgcrypt -lgpg-error

I don't know if that should cause a dependency on libgcrypt-devel (and
libgpg-error-devel)

Comment 3 Bill Nottingham 2004-09-22 20:02:32 UTC
If it's putting it in the link flags, probably.

Of course, does it really need specified for apps linking against it?


Comment 4 Daniel Veillard 2004-09-22 21:34:42 UTC
Yeah it should be added though I dislike that dependancy. But well
I made the decision to add it upstream so I should live with the
consequences ...
That's why I made it ASSIGNED instead of just dropping the bug :-)
I will have to fix this.

Daniel

Comment 5 Daniel Veillard 2005-03-14 10:38:44 UTC
Okay, fixed in the lastest release,

Daniel


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