[Wine] [Fwd: Trouble with libgsm on Mac OS X 10.6.2]

doh123 wineforum-user at winehq.org
Mon Sep 6 22:33:48 CDT 2010


I'm far from an expert on the subject matter. Maybe some app that was written for Linux/BSD or whatever is looking at a LD_LIBRARY_PATH on its own and its nothing to do with the OS?  I've never tried messing with LD_LIBRARY_PATH on OSX, but its not *supposed* to do anything normally.

The OS Relies on DYLD_LIBRARY_PATH.  If you change it, you have to make sure it encompasses every single location for every library accessed... or there are major issues. This is what makes DYLD_FALLBACK_LIBRARY_PATH very useful.  If the library isn't found, it'll check the fallback locations.  Usually its best to not mess with DYLD_LIBRARY_PATH.... but being a fallback, if a user actually has the file on their machine in a normal location, it can cause problems making anything portable, because it goes with the one it finds first.

You might want to use otool on your binaries and dylibs and see what exact location they are looking for things in.  You can also use install_name_tool to modify them to look in other places.  Very useful tools to change things around after they are built.







More information about the wine-users mailing list