Ticket #23372 (closed defect: wontfix)
ffmpeg-0.5 rev5, --extra-ldflags=-headerpad_max_install_names needed to be add to Portfile to be able to use install_name_tool
| Reported by: | tero.siironen@… | Owned by: | devans@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.8.2 |
| Keywords: | Cc: | ||
| Port: | ffmpeg |
Description
When trying to bundle libavcodec from ffmpeg with application and using install_name_tool one will get following error:
install_name_tool: changing install names can't be redone for: MyApp.app/Contents/Frameworks/libavcodec.dylib (for architecture i386) because larger updated load commands do not fit (the program must be relinked)
This can be fixed by adding following parameter to ffmpeg's configure options:
--extra-ldflags=-headerpad_max_install_names
After compiling ffmpeg again, install_name_tool can be used with libavcodec.dylib just fine.
Change History
comment:1 Changed 3 years ago by jmr@…
- Keywords install_name_tool ffmpeg removed
- Owner changed from macports-tickets@… to devans@…
Note: See
TracTickets for help on using
tickets.


Please remember to cc the maintainer.