We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 732

Summary: Configure doesn't look for esd in /usr/* paths, causing failing DYNAMIC ESD
Product: SDL Reporter: Manuel Bilderbeek <manuel>
Component: buildAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: sezeroz
Version: 1.2.13Keywords: target-1.2.14
Hardware: x86   
OS: Linux   

Description Manuel Bilderbeek 2009-04-26 07:44:01 UTC
From my report on IRC:

Hi all

I have a problem with getting ESD to be loaded as dynamic library by libSDL.

I think it's a problem in configure.in, line 455
             esd_lib_spec=`echo $ESD_LIBS | sed 's/.*-L\([[^ ]]*\).*/\1\/libesd.so.*/'`

This will not find libesd if it's in /usr

replacing it with a quick hack like this makes it work:
esd_lib_spec=/usr/lib/libesd.so.*

In the tests for pulseaudio, there is testing for /usr/lib etc. but not in the tests for ESD... bug?
Comment 1 Ryan C. Gordon 2009-09-13 16:33:15 UTC
Tagging this bug with "target-1.2.14" so we can try to resolve it for SDL 1.2.14.

Please note that we may choose to resolve it as WONTFIX. This tag is largely so we have a comprehensive wishlist of bugs to examine for 1.2.14 (and so we can close bugs that we'll never fix, rather than have them live forever in Bugzilla).

--ryan.
Comment 2 Sam Lantinga 2009-09-21 04:15:38 UTC
What is the value of $ESD_LIBS on your system?
Comment 3 Manuel Bilderbeek 2009-09-21 13:31:54 UTC
I hope this info helps:

$ esd-config --libs
-lesd  

This should basically be the contents of that variable.
Comment 4 Sam Lantinga 2009-09-23 00:10:58 UTC
This is fixed for SDL 1.2.14 release, thanks!