Results 1 to 3 of 3

Thread: [Mac] dylib's of imageformats are corrupt (they reference: /var/tmp//ccaKTxtL.out)

  1. #1

    Default [Mac] dylib's of imageformats are corrupt (they reference: /var/tmp//ccaKTxtL.out)

    i am developing an application that is a kind of imageviewer. therefore i need to add the qt-imageformat-dylibs to the package, so that the app can also run on machines where qt is not installed. i already managed to add the qtgui and qtcore, but there are problems with the imageplugins. when adding those i get the following error:

    Qt Code:
    1. dyld: Library not loaded: /var/tmp//cc5Mm1Kj.out
    2. Referenced from: /path/application.app/Contents/MacOS/application
    3. Reason: image not found
    To copy to clipboard, switch view to plain text mode 

    i checked this with otool and got the following output

    Qt Code:
    1. otool -L libqjpeg.dylib
    2. libqjpeg.dylib:
    3. /var/tmp//ccaKTxtL.out (compatibility version 0.0.0, current version 0.0.0)
    4. /usr/local/Trolltech/Qt-4.2.3/lib/QtGui.framework/Versions/4/QtGui (compatibility version 4.2.0, current version 4.2.3)
    5. /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon (compatibility version 2.0.0, current version 128.0.0)
    6. /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime (compatibility version 1.0.0, current version 9.0.0)
    7. /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 824.42.0)
    8. /usr/local/Trolltech/Qt-4.2.3/lib/QtCore.framework/Versions/4/QtCore (compatibility version 4.2.0, current version 4.2.3)
    9. /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
    10. /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.3)
    11. /usr/lib/libiconv.2.dylib (compatibility version 5.0.0, current version 5.0.0)
    12. /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Applica
    13. tionServices (compatibility version 1.0.0, current version 22.0.0)
    14. /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.4.0)
    15. /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
    To copy to clipboard, switch view to plain text mode 

    this line is quite strange:
    /var/tmp//ccaKTxtL.out (compatibility version 0.0.0, current version 0.0.0)

    why does it link to this strange file, that isn't even existing.

    i googled for this problem, but havn't found a real solution. i read, that it might have to do with the fact, that i compiled QT as universal for ppc and i386

    i hope, someone can help me.

    best regards,
    anchelito

  2. #2

    Default Re: [Mac] dylib's of imageformats are corrupt (they reference: /var/tmp//ccaKTxtL.out

    okay ... i recompiled qt ... two times ... the first one was universal and i still had the same problem. the second one was just for intel (i am working on an intel-mac). now the dylib references itself and i can't change this reference with the install_name_tool ... so far no change!!!

    well ... is it possible to upload the libqgif.dylib and libqjpeg.dylib (both universal) somehow, so that i can use those???

    thanks a lot!!!!

    greetings,
    anchelito

  3. #3

    Default Re: [Mac] dylib's of imageformats are corrupt (they reference: /var/tmp//ccaKTxtL.out

    is there nobody who could help me????

    thanks so much!!

    greetings

Similar Threads

  1. why i am getting errors:: undefined reference to
    By arunchaudhary1983 in forum Newbie
    Replies: 5
    Last Post: 22nd October 2007, 10:33
  2. MS Sql native driver??
    By LordQt in forum Qt Programming
    Replies: 4
    Last Post: 9th October 2007, 13:41
  3. error undefined reference ...............
    By amit_pansuria in forum Qt Programming
    Replies: 2
    Last Post: 8th June 2007, 14:28
  4. how to correctly compile threads support?
    By srhlefty in forum Installation and Deployment
    Replies: 9
    Last Post: 25th June 2006, 19:15
  5. Strange error while using Q3Canvas
    By Kapil in forum Newbie
    Replies: 13
    Last Post: 15th June 2006, 19:36

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.