Jonathan Levi, M.D. wrote:

At 4:40 PM -0500 11/16/04, Martin Costabel wrote:

Jonathan Levi MD wrote:

dyld: /bin/sh version mismatch for library: /sw/src/libncurses5-5.4-20041023-1/ncurses-5.4/lib/libncurses.5.dylib (compatibility version of user: 6.0.0 greater than library's version: 5.0.0)


This sounds like your /bin/sh was linked against Fink's /sw/bin/libncurses.5.dylib or some other copy of libncurses.5.dylib with compatibility version 6.0.0. This seems only possible if you replaced the original /bin/sh by something else. Did you do this?


I think so -- don't remember why -- sorry! So what next? Re-install fink's bash?

I would try to restore the original /bin/sh (and whichever of the other /bin/*sh* binaries you changed, too). It is always a bad idea to replace system components in /bin or /sbin by hand. These should be left to be managed by Apple. If you want to run a different shell, put it into /usr/local/bin or /sw/bin, or at least give it a different name from the standard one. Many Fink/make/configure scripts depend on precise standard behavior of /bin/sh and /bin/csh.


Having said this, I think that there is also a behavior of the libncurses5 build script involved here that might be called buggy or at least somewhat careless: It sets the environment variable DYLD_LIBRARY_PATH to the build directory which causes /bin/sh to load the newly built libncurses.5.dylib instead of its own one from /usr/lib which which it was originally linked. This is what causes the crash in your case.

--
Martin




------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Fink-beginners mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to