New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #23372 (closed defect: wontfix)

Opened 5 years ago

Last modified 20 months ago

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 5 years ago by jmr@…

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

Please remember to cc the maintainer.

comment:2 follow-up: ↓ 3 Changed 4 years ago by jmr@…

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

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

comment:3 in reply to: ↑ 2 Changed 20 months ago by ryandesign@…

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.