[Digikam-users] Digikam crashes under MacOS when built using git + MacPorts

Phil Stanford phil.stanford at gmail.com
Mon Jan 9 15:32:54 GMT 2012


On 9 January 2012 11:46, Gilles Caulier <caulier.gilles at gmail.com> wrote:

> ok,
>
> next component used by libkgeomap is khtml. It's html parser used by
> konqueror web browser to display googlemaps.
>
> Konqueror work fine on your computer ?
>
> Other test about libkgeomap : trhis library come with a test program
> name calibrator. It's not installed on your computer, it's only
> compiled in libkgeomap build directory :
>
> [gilles at localhost calibrator (master)]$ pwd
> /mnt/data/Devel/GIT/2.x/build/extra/libkgeomap/calibrator
> [gilles at localhost calibrator (master)]$ ls -al
> total 452
> drwxr-xr-x 3 gilles gilles    416 janv.  9 09:35 ./
> drwxr-xr-x 9 gilles gilles    448 janv.  9 09:35 ../
> -rw-r--r-- 1 gilles gilles   4505 janv.  3 09:23 calibrator.moc
> drwxr-xr-x 4 gilles gilles    232 janv.  9 09:35 CMakeFiles/
> -rw-r--r-- 1 gilles gilles   1178 sept. 28 13:07 cmake_install.cmake
> -rw-r--r-- 1 gilles gilles    321 sept. 28 13:07 CTestTestfile.cmake
> -rwxr-xr-x 1 gilles gilles 420136 janv.  3 09:23 libkgeomap_calibrator*
> -rw-r--r-- 1 gilles gilles    338 janv.  3 09:23
> libkgeomap_calibrator_automoc.cpp
> -rw-r--r-- 1 gilles gilles   1642 sept. 28 13:07
> libkgeomap_calibrator_automoc.cpp.files
> -rwxr-xr-- 1 gilles gilles    268 janv.  3 09:23
> libkgeomap_calibrator.shell*
> -rw-r--r-- 1 gilles gilles  10271 sept. 28 13:07 Makefile
> [gilles at localhost calibrator (master)]$
>
> libkgeomap_calibrator.shell work fine for you ?
>
> Gilles Caulier
>
>

Thanks -

1) Konquerer works fine and I can display Googlemaps

2)  Re libkgeomap_calibrator:

On the Mac, in my build directory, this appears as a Mac application, ie a
directory with the .app suffix:

$ pwd
/Users/pns/git-files/digikam-2.5/build/extra/libkgeomap/calibrator

$ ls -l
total 72
drwxr-xr-x  6 pns  staff    204  8 Jan 13:38 CMakeFiles
-rw-r--r--  1 pns  staff    339  8 Jan 13:38 CTestTestfile.cmake
-rw-r--r--  1 pns  staff  10529  8 Jan 13:38 Makefile
-rw-r--r--  1 pns  staff   4505  8 Jan 13:42 calibrator.moc
-rw-r--r--  1 pns  staff   1019  8 Jan 13:38 cmake_install.cmake
drwxr-xr-x  3 pns  staff    102  8 Jan 13:38 libkgeomap_calibrator.app
-rw-r--r--  1 pns  staff    290  8 Jan 13:42
libkgeomap_calibrator_automoc.cpp
-rw-r--r--  1 pns  staff   1536  8 Jan 13:38
libkgeomap_calibrator_automoc.cpp.files


I can run libkgeomap_calibrator.app from the Mac Finder - although I'm not
quite sure just what the application is supposed to do, it does start the
GUI and can display either Google or marble maps.

You mentioned libkgeomap_calibrator.shell -
All the KDE programs installed under MacPorts appear in the Mac style, ie
with in a directory with the .app suffix - a bit further down are the
actual executable and the .shell file:

$ pwd
/Users/pns/git-files/digikam-2.5/build/extra/libkgeomap/calibrator/libkgeomap_calibrator.app/Contents/MacOS

$ ls -l
total 280
-rwxr-xr-x  1 pns  staff  139088  8 Jan 13:42 libkgeomap_calibrator
-rwxr-xr--  1 pns  staff     321  8 Jan 13:42 libkgeomap_calibrator.shell

For all the KDE programs I tried, I can open a shell in the program's
directory and normally I can run the program with no problems if I use the
executable directly, but get an error if I run the .shell version.   Thus
for Konqueror -

$ pwd
/Applications/MacPorts/KDE4/konqueror.app/Contents/MacOS
$ ls -l
total 88
-rwxr-xr-x  1 root  admin  37480  8 Oct 02:10 konqueror
-rwxr-xr--  1 root  admin    481  8 Oct 02:10 konqueror.shell


I can type ./konqueror  and get the browser running, but
./konqueror.shell   gives an error (in this case the path in the shell
script is wrong).

This behaviour seems 'normal' for all the KDE applications I tried, and the
applications themselves all work when run using the Mac Finder, but I
mention it in case it is significant for this problem.

In the case of libkgeomap_calibrator,  if I run ./libkgeomap_calibrator
then that works fine, if I run .//libkgeomap_calibrator.shell  then I get
the following error:

$ ./libkgeomap_calibrator.shell
dyld: Library not loaded:
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
  Referenced from:
/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
  Reason: Incompatible library version: vecLib requires version 1.0.0 or
later, but libLAPACK.dylib provides version 0.0.0
./libkgeomap_calibrator.shell: line 4: 10835 Trace/BPT trap
DYLD_LIBRARY_PATH=/Users/pns/git-files/digikam-2.5/build/lib/./:/opt/local/lib${DYLD_LIBRARY_PATH:+:$DYLD_LIBRARY_PATH}
"/Users/pns/git-files/digikam-2.5/build/extra/libkgeomap/calibrator/libkgeomap_calibrator.app/Contents/MacOS/libkgeomap_calibrator"
"$@"


As I say I'm not sure if this is relevant, since all similar attempts to
run any KDE application using the .shell version also fail, but I guess
that if there were incompatible libs being picked up somewhere that could
be the cause.

Thanks again
Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20120109/7520559f/attachment.html>


More information about the Digikam-users mailing list