Opened 7 years ago

Closed 6 years ago

Last modified 4 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 7 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 follow-up: Changed 6 years ago by jmroot (Joshua Root)

  • Resolution set to wontfix
  • Status changed from new to closed

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

comment:3 in reply to: ↑ 2 Changed 4 years ago by ryandesign (Ryan 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.