[MacPorts] #35349: FreeImage @3.15.3 Library not found

MacPorts noreply at macports.org
Fri Jul 27 01:15:04 PDT 2012


#35349: FreeImage @3.15.3 Library not found
--------------------------------------+-------------------------------------
 Reporter:  juliuspetraska@…          |       Owner:  macports-tickets@…                   
     Type:  defect                    |      Status:  new                                  
 Priority:  Normal                    |   Milestone:                                       
Component:  ports                     |     Version:  2.1.2                                
 Keywords:                            |        Port:                                       
--------------------------------------+-------------------------------------
 Installed FreeImage through MacPorts. Everything looked to be OK, but when
 I builded my app and tried to launch on other computer where is no
 MacPorts and no FreeImage installed it says


 {{{
 dyld: Library not loaded: /opt/local/lib/libfreeimage.3.dylib
   Referenced from: /Users/development/Library/Developer/Xcode/DerivedData
 /freeimage-
 dxsornyaxqlkyubqwsrlkgszvxhy/Build/Products/Debug/freeimage.app/Contents/MacOS/freeimage
   Reason: image not found
 }}}

 Shouldn't it copy library files together with my project? I added them to
 my project's build phases "Copy files" list. They are being copied to my
 app's bundle. But when I try to link them, I get same error. I don't know
 why but app is still looking for library in /opt/local/lib. How can I fix
 it so that I could use FreeImage at my project and run it at any computer?

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


More information about the macports-tickets mailing list