[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
#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
#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: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: ffmpeg ----------------------------------+----------------------------------------- Changes (by jmr@…): * owner: macports-tickets@… => devans@… * keywords: install_name_tool ffmpeg => Comment: Please remember to cc the maintainer. -- Ticket URL: <http://trac.macports.org/ticket/23372#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: wontfix | Keywords: Port: ffmpeg | -----------------------------------+---------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => wontfix Comment: We don't provide relocatable installs; you'll have to modify ports locally if you need that. -- Ticket URL: <https://trac.macports.org/ticket/23372#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: wontfix | Keywords: Port: ffmpeg | ------------------------------+---------------------- Comment (by ryandesign@…): Replying to [comment:2 jmr@…]:
We don't provide relocatable installs;
But maybe we should. See #29838 which requested this globally. -- Ticket URL: <https://trac.macports.org/ticket/23372#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts