Hi Alexander et al. —

Thanks, that helped, though there seem to be a bunch of other places that need 
fixing. Rather than track them all down, I just put a symlink to /sw in 
/sw/lib/qt4-mac/lib for the time being.

Cheers,

— A.



On Mar 27, 2015, at 11:25 AM, Alexander Hansen 
<alexanderk.han...@gmail.com<mailto:alexanderk.han...@gmail.com>> wrote:


On Mar 26, 2015, at 6:42 AM, Andrew Frederiksen 
<andrew.frederik...@umanitoba.ca<mailto:andrew.frederik...@umanitoba.ca>> wrote:

Thanks — installing qt4-base-mac-linguist first fixed the build. Of course, now 
it doesn’t run (the application crashes on launch). Looking at the crash 
report, I think I see what the error is, though I don’t know how to fix it:

Process:               QGIS.exe [831]
Path:                  /sw/*/QGIS-py27-2.6.1.app/Contents/MacOS/QGIS.exe
Identifier:            QGIS.exe
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        sh [802]
Responsible:           sh [802]
User ID:               501

Date/Time:             2015-03-26 08:37:17.769 -0500
OS Version:            Mac OS X 10.10.2 (14C1514)
Report Version:        11
Anonymous UUID:        F35F65ED-3AE0-DE72-2672-DF24004F54C8


Time Awake Since Boot: 360 seconds

Crashed Thread:        0

Exception Type:        EXC_BREAKPOINT (SIGTRAP)
Exception Codes:       0x0000000000000002, 0x0000000000000000

Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
 Library not loaded: 
/sw/lib/qt4-mac/lib//sw/lib/qt4-mac/lib/qwt.framework/Versions/6/qwt
 Referenced from: /sw/*/QGIS-py27-2.6.1.app/Contents/MacOS/QGIS.exe
 Reason: image not found

Binary Images:
   0x7fff6adec000 -     0x7fff6ae22837  dyld (353.2.1) 
<65DCCB06-339C-3E25-9702-600A28291D0E> /usr/lib/dyld



The problem seems to be the "Library not loaded” line above; it’s looking for 
/sw/lib/qt4-mac/lib//sw/lib/qt4-mac/lib/qwt.framework/Versions/6/qwt instead of 
/sw/lib/qt4-mac/lib/qwt.framework/Versions/6/qwt (which exists).

Thanks,

— Andrew Frederiksen


As a workaround try

sudo install_name_tool -change 
/sw/lib/qt4-mac/lib//sw/lib/qt4-mac/lib/qwt.framework/Versions/6/qwt 
/sw/lib/qt4-mac/lib/qwt.framework/Versions/6/qwt 
/sw/Applications/QGIS-py27-2.6.1.app/Contents/MacOS/QGIS.exe

(and repeat as necessary for other binaries).

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to