On Dec 29, 2011, at 5:02 PM, Brian Manning wrote: > On Thu, Dec 29, 2011 at 3:26 PM, Bruce Johnson > <john...@pharmacy.arizona.edu> wrote: >>> Does the output of: >>> >>> otool -L >>> /Library/Perl/5.12/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle >>> >>> list your custom MySQL libraries anywhere? If the linker can't find >>> your MySQL libraries, then you'll need to give the linker some hints. >>> You can set the environment variable DYLD_LIBRARY_PATH to point to the >>> path where your custom libraries are located, and things should then >>> work. >> >> Not sure: >> >> bruces-Mac-Pro:lib johnson$ otool -L >> /Library/Perl/5.12/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle >> /Library/Perl/5.12/darwin-thread-multi-2level/auto/DBD/mysql/mysql.bundle: >> libmysqlclient.18.dylib (compatibility version 18.0.0, current >> version 18.0.0) >> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current >> version 159.1.0) >> >> it lists the dylib, but not the path. Should it show the path? > > I would say yes, here's mine (from MacPorts):
Well, I found this: <http://probably.co.uk/problems-installing-dbdmysql-on-os-x-snow-leopard.html> that was supposed to fix the issue. It didn't, so I took the brute-force kludge of symlinking the dylib to /usr/lib That works. otool still shows the dylib file sans path, but the original script now works... -- Bruce Johnson "Wherever you go, there you are" B. Banzai, PhD