On Aug 7, 2014, at 3:33 PM, [email protected] wrote: > The other thing I did was set up symbolic links from /usr/lib and > /usr/local/lib to /usr/local/mysql/libmysqlclient.18.dylib > > sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib > /usr/local/lib/libmysqlclient.18.dylib > sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib > /usr/lib/libmysqlclient.18.dylib > > Maybe one of those symbolic links enabled R to find the library? >
Check the IDs in your library (see otool -L) - if the symlink works then the ID doesn't match its actual location (or it's empty). Adjust it with install_name_tool -change if that's the case. Don't set DYLD_LIBRARY_PATH it overrides the search path and cause a lot of trouble - if you have to then your binary is using the wrong ID. Obviously, you'll need to recompile the package when you change the ID. Cheers, Simon > Dan > > > _______________________________________________ > R-SIG-Mac mailing list > [email protected] > https://stat.ethz.ch/mailman/listinfo/r-sig-mac _______________________________________________ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
