Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#26490 closed defect (wontfix)

Unable to change the dylib path of png2swf with install_name_tool under Mac OS X 10.5.8

Reported by: copyshaft@… Owned by: macports-tickets@…
Priority: High Milestone:
Component: ports Version: 1.9.1
Keywords: swftools, png2swf Cc: copyshat@…, raimue (Rainer Müller)
Port: swftools

Description

Hi,

After I installed swftools with MacpPorts, I copy an instance of png2swf

and do the following changes to it.

install_name_tool -change /opt/local/lib/libgif.4.dylib @executable_path/../Frameworks/libgif.4.dylib ./png2swf

Terminal then responded an error message:

install_name_tool: changing install names can't be redone for: ./png2swf (for architecture i386) because larger updated load commands do not fit (the program must be relinked)

I have googled it and it seems like there is a solution here

http://annoyingtechnicaldetails.wordpress.com/2007/04/18/install_name_tool-changing-install-names-cant-be-redone-for-for-architecture-ppc-because-larger-updated-load-commands-do-not-fit-the-program-must-be-relinked/

Is this fixed-able? Could you implement this parameter in the building phase.

Thank you for your hard work. I appreciate you very much.

Attachments (1)

install_name_tool_error.png (57.6 KB) - added by copyshaft@… 14 years ago.
install_name_tool error message

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by copyshaft@…

Attachment: install_name_tool_error.png added

install_name_tool error message

comment:1 Changed 14 years ago by raimue (Rainer Müller)

Cc: raimue@… added
Resolution: wontfix
Status: newclosed

MacPorts installed libraries are not meant to be relocatable. But feel free to experiment with the Portfile and add configure.ldflags -headerpad_max_install_names in a local ports tree.

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

Milestone: MacPorts 1.9.2
Note: See TracTickets for help on using tickets.