in reply to Re^2: DBD::mysql fail install check
in thread DBD::mysql fail install check
:) :P :D *groan* you "apple" people ;)
Remember DBD::mysql trouble? well you really have go to deep, like Re: issues with DBD::mysql on mac, dyld: lazy symbol binding failed (was MAC OS 10.6 upgrade breaks DBD:mysql), Getting DBD-mysql to work with Mac OS X Lion, Re: libwww-perl fails, Re^2: Error with DynaLoader.pm and DBD::mysql, Re^2: Fuse and fuse_loop, Re^2: possible to bake LD_LIBRARY_PATH in perl(1)?, Re: DBD-mysql: dyld error ...
export DYLD_LIBRARY_PATH="/usr/local/mysql/lib:$DYLD_LIBRARY_PATH" , use ldd or otool on the .bundle/.dylib/.so to figure out what LD_LIBRARY_PATH you need to add
Or link against the 32bit libmysql for 32bit perl, or 64bit mysql for 64bit perl
Or export VERSIONER_PERL_PREFER_32_BIT=no ? export VERSIONER_PERL_PREFER_32_BIT=yes ? then recompile
Or compile mysql client libraries yourself ( sh configure ... ), not use "macports" or "fink" .. whatever apple-ness binaries you're using, or get newer binaries ...
Or uninstall mysql-dev with fink and then install mysql15-dev (or whatever non-fink apple-ness binaries
Or compile mysql client libraries yourself using similar ccflags/ldflags/lddlflags as your perl ( or remove some --ppc flag that shouldn't be there )
Or use install_name_tool ... Problems installing DBD::mysql on OS X Snow Leopard, http://search.cpan.org/dist/DBD-mysql/README.OSX/Problems installing DBD::MySQL on OS X...: Apple Support Communities
Or a combination of one or more of these, or more basic, like non standard install paths needing INC=/LIBS= ... INSTALL.pod
Or even more basic, using the wrong shebang, path to perl, not having permissions to read mysql.bundle....
98/100 its basic path management, some $PATH some $LD_LIBRARY_PATH/$DYLD_LIBRARY_PATH , so try that first
Re^3: DBD::mysql fail install check
Replies are listed 'Best First'.
|Re^4: DBD::mysql fail install check (objdump -p missing symbol)|
by Anonymous Monk on Aug 14, 2013 at 02:36 UTC
|Re^4: DBD::mysql fail install check|
by berbo (Initiate) on May 09, 2014 at 19:52 UTC