Ticket #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
Change History
Changed 4 years ago by vitto.giova@…
- Attachment portfile.diff added
comment:3 Changed 3 years ago by jmr@…
- Cc vitto.giova@… removed
- Status changed from new to closed
- Resolution set to wontfix
- Port changed from libSDL_mixer to libsdl_mixer
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.


working portfile patch