[Locomotive-users] dynamic libraries
Aaron Hundley
aaron.hundley at extension.org
Tue Jul 11 18:27:03 GMT 2006
Hello,
I am developing on a MacBook Pro.
I was trying to install the gem for the ferret search engine, and I found
out that I needed the gcc compiler to build the native libraries for it.
When I installed the gem, it did the compile as part of the installation
process for the gem and I received this error:
dyld: Library not loaded: /usr/i686-apple-darwin8/lib/libgcc_s.1.dylib
Referenced from: /usr/bin/gcc
Reason: no suitable image found. Did find:
/Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/libgcc_s.1.dylib:
can't map
make: *** [analysis.o] Trace/BPT trap
dyld: Library not loaded: /usr/i686-apple-darwin8/lib/libgcc_s.1.dylib
Referenced from: /usr/bin/gcc
Reason: no suitable image found. Did find:
/Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/libgcc_s.1.dylib:
can't map
It appears that it cannot find the dynamic library for the gcc compiler or
it can't map to it.
It looks like the directory that it searches to find that library is:
/Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib
I have seen others online that had this same problem, and they just get
rid of the value for the DYLD_FALLBACK_LIBRARY_PATH environment variable:
DYLD_FALLBACK_LIBRARY_PATH=
Before it was set to
/Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib
But, I can't do this before I install the gem b/c I also need the dynamic
libraries in the
/Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib
directory.
Are there any ideas on how I can work around this?
Thanks,
Aaron
More information about the Locomotive-users
mailing list