Bug 123374 - SDL-devel, libSDL.la, and libasound.so
Summary: SDL-devel, libSDL.la, and libasound.so
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: SDL
Version: 2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-05-17 19:18 UTC by Dams
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-05-24 09:29:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dams 2004-05-17 19:18:39 UTC
Version-Release number of selected component: SDL-1.2.7-3

Description of problem:
Some 3rd party package fail to rebuild because of bad informations in
the libSDL.la file.

[root@gruyere /usr/lib]# grep asound libSDL.la
dependency_libs=' -lm -ldl -lasound -L/usr/X11R6/lib -lX11 -lXext
-lpthread'

the "-lasound" is not necessary and linking will report no problem if
I simply remove the -lasound from the libSDL.la. I suggest any of
these 3 fix:

1. Exclude the libSDL.la file from the package
2. Make SDL-devel requires alsa-lib-devel
3. Edit the libSDL.la and remove the -lasound.

Comment 1 Dams 2004-05-17 19:31:35 UTC
*hm* Spoken too soon. It seems only "2." is valid, since if you want
to staticaly link against libSDL.a you will need libasound.a.

Comment 2 Thomas Woerner 2004-05-24 09:29:22 UTC
Fixed in rawhide in rpm SDL-1.2.7-4 or newer.


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