[MacPorts] #26490: Unable to change the dylib path of png2swf with install_name_tool under Mac OS X 10.5.8

MacPorts noreply at macports.org
Thu Sep 16 01:43:24 PDT 2010


#26490: Unable to change the dylib path of png2swf with install_name_tool under Mac
OS X 10.5.8
---------------------------------+------------------------------------------
 Reporter:  copyshaft@…          |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  High                 |   Milestone:  MacPorts 1.9.2                       
Component:  ports                |     Version:  1.9.1                                
 Keywords:  swftools, png2swf    |        Port:  swftools                             
---------------------------------+------------------------------------------
 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/26490>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list