1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Can't get past dlopen(..) no suitable image error in gegl

Discussion in 'GIMP for Mac' started by omero72, Jan 25, 2014.

  1. omero72

    omero72 New Member

    Joined:
    Jan 25, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Hello

    I'm tryin to compile gegl-0.2.0 on my Mac mini PowerPC Leopard 10.5.4.

    ./configure is ok, but in the make, after several minutes of compilation it ends up with this (shortened)

    Code:
    GEGL-geglmodule.c-Message: Module '../../operations/generated/.libs/xor.so.dSYM/Contents/Resources/DWARF/xor.so' load error: dlopen(../../operations/generated/.libs/xor.so.dSYM/Contents/Resources/DWARF/xor.so, 10): no suitable image found.  Did find:
    	../../operations/generated/.libs/xor.so.dSYM/Contents/Resources/DWARF/xor.so: can't map
    GEGL-geglmodule.c-Message: Module '../../operations/transform/.libs/transformops.so.dSYM/Contents/Resources/DWARF/transformops.so' load error: dlopen(../../operations/transform/.libs/transformops.so.dSYM/Contents/Resources/DWARF/transformops.so, 10): no suitable image found.  Did find:
    	../../operations/transform/.libs/transformops.so.dSYM/Contents/Resources/DWARF/transformops.so: can't map
    /bin/sh: line 1: 37621 Bus error               GEGL_DEBUG_TIME=yes GEGL_SWAP=RAM GEGL_PATH=../../operations ../../bin/gegl clones.xml -o `echo clones.png | sed s?./??` > `echo clones.png | sed s?./?? | sed -e s/png/txt/`
    make[5]: *** [clones.png] Error 138
    make[4]: *** [images.stamp] Error 2
    I've applied the suggestion given at <a class="postlink" href="https://bugzilla.gnome.org/show_bug.cgi?id=673969#c6" onclick="window.open(this.href);return false;">https://bugzilla.gnome.org/show_bug.cgi?id=673969#c6</a> and applied 3 patches given at <a class="postlink" href="https://bug673969.bugzilla-attachments.gnome.org/attachment.cgi?id=223377to" onclick="window.open(this.href);return false;">https://bug673969.bugzilla-attachments. ... d=223377to</a> these 3 files to avoid the errors related to "AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER"
    • gegl/opencl/cl.h
      gegl/opencl/cl_gl.h
      gegl/opnecl/cl_platform.h

    I use the Apple GCC-3.3 (by changing the symlink at /usr/bin/gcc from gcc-4.2 to gcc-3.3) for ./configure and make.

    I use the following env variables:

    • export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
      export CPPFLAGS=-I/usr/local/include
      export LIBS=-L/usr/local/lib

    I still get the same error. What else should I do? Thanks.
     
  2. omero72

    omero72 New Member

    Joined:
    Jan 25, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Re: Can't get past dlopen(..) no suitable image error in geg

    The closest explanation for this error is at <a class="postlink" href="http://mail-index.netbsd.org/pkgsrc-bugs/2009/01/29/msg030627.html" onclick="window.open(this.href);return false;">http://mail-index.netbsd.org/pkgsrc-bug ... 30627.html</a>

    There it says: The problem seems to be that it tries to load shared libraries or objects out of the build directory to build the documentation. This does however not work quite right under Mac OS X. It is probaby caused byincorrect usage of "libtool" or by not setting "DYLD_LIBRARY_PATH".

    After I set DYLD_LIBRARY_PATH to /usr/X11/lib (in ~/.bashrc) I got over 4 of the errors (the ones which say the following can't be found libjpeg.dylib,libpng.dylib,libtiff.dylib and libgl.dylib) but afterwards I again have the same old error.

    That's just for your information. I'm still working on it.
     
  3. omero72

    omero72 New Member

    Joined:
    Jan 25, 2014
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Re: Can't get past dlopen(..) no suitable image error in geg

    After some research it turned out that I had to edit the Makefile to prevent dsym error.

    There at the 188th line of Makefile was: DSYMUTIL = 'dsymutil'
    I made it: DSYMUTIL= '' and I finally got rid of that error.

    After that, I got another error complaning about some xml file. To solve it, I added --disable-docs to configure command. Then I got the gegl perfectly compiled. Afterwards I got the gimp 2.8.8 perfectly compiled

    Nut now I have another problem starting the gimp. XQuartz and X11.app have trouble while the gimp is trying to start. I might open a new thread for that soon.

    FYI
     
  4. sami789

    sami789 New Member

    Joined:
    Oct 10, 2014
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Gender:
    Male
    There it says: The problem seems to be that it tries to load shared libraries or objects out of the build directory to build the documentation. This does however not work quite right under Mac OS X. It is probaby caused byincorrect usage of "libtool" or by not setting "DYLD_LIBRARY_PATH".
     

Share This Page