PDA

View Full Version : Can't find .dylib file




G.T.
Feb 1, 2012, 10:36 AM
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:


./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



G.T.
Feb 1, 2012, 12:53 PM
I just looked at the output I pasted, is it libimf.dylib that I need? I'm not sure how to understand the error

jiminaus
Feb 1, 2012, 02:20 PM
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.

find /Applications -name libimf.dylib


If it doesn't find anything, trying replacing /Applications with /Library.

mydogisbox
Feb 1, 2012, 02:21 PM
I just looked at the output I pasted, is it libimf.dylib that I need? I'm not sure how to understand the error

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.

G.T.
Feb 1, 2012, 05:45 PM
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.

find /Applications -name libimf.dylib


If it doesn't find anything, trying replacing /Applications with /Library.

Hi, I just tried this and when I used applications I got nothing and for libraries nothing and a few denied access's

----------

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.

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/

nDarkness
Feb 1, 2012, 05:46 PM
This (https://www.ibm.com/developerworks/forums/thread.jspa?threadID=344344) may help.

G.T.
Feb 1, 2012, 06:01 PM
This (https://www.ibm.com/developerworks/forums/thread.jspa?threadID=344344) may help.

Hi, I used this suggest from the link

$ 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

$ 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?