#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
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)
Change History (3)
Changed 14 years ago by copyshaft@…
Attachment: | install_name_tool_error.png added |
---|
comment:1 Changed 14 years ago by raimue (Rainer Müller)
Cc: | raimue@… added |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
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 |
---|
install_name_tool error message