[MacPorts] #14589: fix for [14424 libsdl_mixer cannot load libvorbisfile.dylib even though it is installed]

MacPorts trac at macosforge.org
Sat Mar 8 10:27:20 PST 2008


#14589: fix for [14424 libsdl_mixer cannot load libvorbisfile.dylib even though it
is installed]
--------------------------------+-------------------------------------------
 Reporter:  neric27 at wanadoo.fr  |       Owner:  macports-tickets at lists.macosforge.org
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:  Port Enhancements                    
Component:  ports               |     Version:  1.6.0                                
 Keywords:                      |  
--------------------------------+-------------------------------------------
 There is a problem with libsdl_mixer.

 It seems that libsdl_mixer calls

 {{{
  dlopen(library_name.dylib)
 }}}

 instead of

 {{{
  dlopen(/opt/local/lib/library_name.dylib)
 }}}

 this is controlled via macros :
 {{{
 -DMP3_DYNAMIC=... and -DOGG_DYNAMIC=...
 }}}
 in the Makefile.

 In turn, it is configured in configure script.
 {{{
 ogg_lib=`find_lib libvorbisidec*.dylib`
 }}}
 and so on.

 Attached a patch changing those lines in configure to

 {{{
 ogg_lib=/opt/local/lib/`find_lib libvorbisidec*.dylib`
 }}}

 Then, the libraries can be correctly loaded.

 It fixes missing sound in frozen-bubble and neverball...

 Tested on ibook G4 10.4.9 PPC

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14589>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list