#14589 closed defect (duplicate)
fix for [14424 libsdl_mixer cannot load libvorbisfile.dylib even though it is installed]
Reported by: | neric27@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | Cc: | ||
Port: |
Description
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
Attachments (1)
Change History (3)
Changed 17 years ago by neric27@…
Attachment: | patch_Portfile.patch added |
---|
comment:1 Changed 17 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
It would have been better to just attach the patch to #14424. I'm going to close this ticket.
comment:2 Changed 16 years ago by (none)
Milestone: | Port Enhancements |
---|
Milestone Port Enhancements deleted
Note: See
TracTickets for help on using
tickets.
patch for libsdl_mixer/Portfile