Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

:) :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 ...

Its always

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


In reply to Re^3: DBD::mysql fail install check by Anonymous Monk
in thread DBD::mysql fail install check by PerlPeer

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-18 12:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found