Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Comment on

( #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":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

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

    How do I use this? | Other CB clients
    Other Users?
    Others rifling through the Monastery: (18)
    As of 2015-07-28 18:47 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









      Results (258 votes), past polls