Opened 14 years ago

Closed 13 years ago

Last modified 11 years ago

#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: dbevans (David B. Evans)
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 (3)

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

Keywords: install_name_tool ffmpeg removed
Owner: changed from macports-tickets@… to devans@…

Please remember to cc the maintainer.

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

Resolution: wontfix
Status: newclosed

We don't provide relocatable installs; you'll have to modify ports locally if you need that.

comment:3 in reply to:  2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to jmr@…:

We don't provide relocatable installs;

But maybe we should. See #29838 which requested this globally.

Note: See TracTickets for help on using tickets.