Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
This was very helpful, but confusing I guess..
bash-3.00# /usr/local/mysql/bin/mysql_config --libs -L/usr/local/lib -R/usr/local/lib -R/usr/lib -L/usr/local/pgsql/lib -R +/usr/local/pgsql/lib -L/usr/lib -R/usr/openwin/lib -L/usr/openwin/lib + -L/usr/local/ssl/lib -R/usr/local/ssl/lib -L/usr/local/BerkeleyDB.4. +2/lib -R/usr/local/BerkeleyDB.4.2/lib -L/usr/X11R6/lib -R/usr/X11R6/l +ib -L/usr/local/mysql/lib/mysql -lmysqlclient -lz -lposix4 -lgen -ls +ocket -lnsl -lm -L/usr/local/ssl/lib -lssl -lcrypto bash-3.00# /usr/local/mysql/bin/mysql_config --cflags -I/usr/local/mysql/include/mysql -L/usr/local/pgsql/lib -R/usr/local/ +pgsql/lib -L/usr/local/lib -R/usr/local/lib -L/usr/local/ssl/lib -R/u +sr/local/ssl/lib -L/usr/openwin/lib -R/usr/openwin/lib -I/usr/local/r +rdtool-1.2.19/include -DHAVE_RWLOCK_T
Now you can run
/usr/local/bin/perl --cflags "-I/usr/local/mysql/include/mysql -L/usr +/local/pgsql/lib -R/usr/local/pgsql/lib -L/usr/local/lib -R/usr/local +/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib -L/usr/openwin/lib -R/ +usr/openwin/lib -I/usr/local/rrdtool-1.2.19/include -DHAVE_RWLOCK_T +" and --libs="-L/usr/local/lib -R/usr/local/lib -R/usr/lib -L/usr/loc +al/pgsql/lib -R/usr/local/pgsql/lib -L/usr/lib -R/usr/openwin/lib -L/ +usr/openwin/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib -L/usr/loca +l/BerkeleyDB.4.2/lib -R/usr/local/BerkeleyDB.4.2/lib -L/usr/X11R6/lib + -R/usr/X11R6/lib -L/usr/local/mysql/lib/mysql -lmysqlclient -lz -lp +osix4 -lgen -lsocket -lnsl -lm -L/usr/local/ssl/lib -lssl -lcrypto"
it will differ on every system, but the mysql_config will tell you. after, you will probably still be screwed a little.. remember to: export LD_LIBRARY_PATH=/usr/local/mysql/lib/myql etc...

In reply to Re^2: Interfacing 64-bit Perl with 32-bit MySQL from sunfreeware.com on Solaris by mutt
in thread Interfacing 64-bit Perl with 32-bit MySQL from sunfreeware.com on Solaris by bigmacbear

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!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • 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 making s'mores by the fire in the courtyard of the Monastery: (8)
    As of 2019-07-24 08:29 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      If you were the first to set foot on the Moon, what would be your epigram?






      Results (32 votes). Check out past polls.

      Notices?