Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Interfacing 64-bit Perl with 32-bit MySQL from sunfreeware.com on Solaris

by robot_tourist (Hermit)
on Jun 01, 2007 at 14:01 UTC ( #618744=note: print w/ replies, xml ) Need Help??


in reply to Interfacing 64-bit Perl with 32-bit MySQL from sunfreeware.com on Solaris

Hi bigmacbear, this is totally over my head (I don't have to use any Sun boxen where I work), but I've had the odd interesting problem with HP-UX systems, though not quite as involved. I think you should also post your advice to whatever related forums and newsgroups you can find (unless you have already done so). I know if I had a problem installing something, even if it was perl related, on an HP-UX box I'd probably search google groups and/or the HP website first.

How can you feel when you're made of steel? I am made of steel. I am the Robot Tourist.
Robot Tourist, by Ten Benson


Comment on Re: Interfacing 64-bit Perl with 32-bit MySQL from sunfreeware.com on Solaris
Re^2: Interfacing 64-bit Perl with 32-bit MySQL from sunfreeware.com on Solaris
by mutt (Novice) on Oct 22, 2010 at 19:30 UTC
    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...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://618744]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2014-09-21 16:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (172 votes), past polls