Opened 15 years ago

Closed 13 years ago

#18425 closed enhancement (wontfix)

static ogg in libSDL_mixer

Reported by: vitto.giova@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: sdl, ogg, vorbis, libSDL, libSDL_mixer, deployment, bundle Cc:
Port: libsdl_mixer

Description

I was using macports version of libSDL_mixer to deploy an app i ported to the mac platform. When i tested it on a system without macports before deploying, i noticed that it would crash as soon as an ogg file was loaded.

After some research, i discovered that ogg libraries were loaded at runtime! However this is bad for the point of view of deployment, because when you create a mac bundle you have to relocate libraries, but this can't be done if libs are loaded at runtime.

On the other hand with the proposed patch it is possible to include the ogg libraries in libSDL_mixer and to avoid this situation. It is not really different with what is done in libSDL_image in which libpng and others are statically built.

Attachments (1)

portfile.diff (147 bytes) - added by vitto.giova@… 15 years ago.
working portfile patch

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by vitto.giova@…

Attachment: portfile.diff added

working portfile patch

comment:1 Changed 15 years ago by vitto.giova@…

Cc: vitto.giova@… added

Cc Me!

comment:2 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

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

Cc: vitto.giova@… removed
Port: libsdl_mixer added; libSDL_mixer removed
Resolution: wontfix
Status: newclosed

Shared libraries are the norm on OS X; we're not going to disable them. Read about @executable_path and friends in the dyld man page.

Note: See TracTickets for help on using tickets.