[MacPorts] #23372: ffmpeg-0.5 rev5, --extra-ldflags=-headerpad_max_install_names needed to be add to Portfile to be able to use install_name_tool
MacPorts
noreply at macports.org
Thu Jan 21 00:41:10 PST 2010
#23372: ffmpeg-0.5 rev5, --extra-ldflags=-headerpad_max_install_names needed to be
add to Portfile to be able to use install_name_tool
--------------------------------------+-------------------------------------
Reporter: tero.siironen@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: install_name_tool ffmpeg | Port: ffmpeg
--------------------------------------+-------------------------------------
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.
--
Ticket URL: <http://trac.macports.org/ticket/23372>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list