Can't find .dylib file

Discussion in 'Mac Programming' started by G.T., Feb 1, 2012.

  1. macrumors 6502a

    Joined:
    Jul 12, 2008
    #1
    Hi

    This is really important as I'm trying to do stuff for my psychology honours project. I'm using SPSS 20 and I have an .spp file but they stopped using .spp form 16 onwards and instead they use .spj. They give you the steps for using a prodconvert thing in SPSS with the terminal. I follow the steps but it give me the error:


    Code:
    ./prodconvert "/Applications/t/SPSSVanSelstJolicoeur1994article_3sd.spp"
    dyld: Library not loaded: libimf.dylib
      Referenced from: /Applications/IBM/SPSS/Statistics/20/SPSSStatistics.app/Contents/bin/./../lib/libifcore.dylib
      Reason: image not found
    Trace/BPT trap
    So its missing the libifcore.dylib. I can't get it online (from what I can see) there is no website like .dll files have.

    Please help. If someone can send it to me? or if they know SPSS and why this is happening.

    Thanks

    I'm running 10.6.8
     
  2. thread starter macrumors 6502a

    Joined:
    Jul 12, 2008
    #2
    I just looked at the output I pasted, is it libimf.dylib that I need? I'm not sure how to understand the error
     
  3. macrumors 65816

    jiminaus

    Joined:
    Dec 16, 2010
    Location:
    Sydney
    #3
    Yes, Mac OS X isn't finding libimf.dylib. It's directly libifcore.dylib that needs libimf.dylib. Presumably the prodconvert program (indirectly) needs libifcore.dylib.

    Do you have libimf.dylib anywhere on your system?

    Try running this command from terminal.
    Code:
    find /Applications -name libimf.dylib
    
    If it doesn't find anything, trying replacing /Applications with /Library.
     
  4. macrumors member

    Joined:
    Jan 16, 2011
    #4
    I'm not an expert by any means, but I'm going to take a stab here. I had this issue recently as well, and it meant that Xcode wasn't finding my library. In my case it was because the library wasn't installed correctly on my computer so Xcode couldn't find it. Do you have a library which has imf in the name? I would guess that's the one it can't find.
     
  5. thread starter macrumors 6502a

    Joined:
    Jul 12, 2008
    #5
    Hi, I just tried this and when I used applications I got nothing and for libraries nothing and a few denied access's

    ----------

    I've went through the SPSS folders and it doesn't have it :/ I think a search said it was related to intel math libraries or something.

    Its annoying there is no website like www.dll-files.com/
     
  6. macrumors newbie

    Joined:
    Jan 10, 2012
  7. thread starter macrumors 6502a

    Joined:
    Jul 12, 2008
    #7
    Hi, I used this suggest from the link

    Code:
    $ export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/Applications/SPSSInc/PASWStatistics18/PASWStatistics18.0.app/Contents/lib
    I changed it since thats for 18 but get this

    Code:
    $ export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/Applications/IBM/SPSS/Statistics/20/SPSSStatistics.app/Contents/lib
    -bash: $: command not found


    ----------

    Just realised the $ shouldn't be there. So it did that but it never helped. But I think I actually need that file. Its not in the wrong place I just don't have it. I'm not sure what to do. Anyone have it on their macs?
     

Share This Page