Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#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)

patch_Portfile.patch (577 bytes) - added by neric27@… 13 years ago.
patch for libsdl_mixer/Portfile

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by neric27@…

Attachment: patch_Portfile.patch added

patch for libsdl_mixer/Portfile

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

It would have been better to just attach the patch to #14424. I'm going to close this ticket.

comment:2 Changed 12 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

Note: See TracTickets for help on using tickets.