[ic] Installing mysql libraries w/o root

Ed LaFrance interchange-users@interchange.redhat.com
Wed Nov 14 11:51:01 2001


At 09:39 PM 11/13/2001 -0800, you wrote:
>Perl experts:
>
>     I would like to move my databases from gdbm to mysql.  However, I do not
>have root access on the server where our catalog is located.  This script:
>
>#!/usr/bin/perl
>
>use DBI;
>use DBD::mysql;
>
>     produces this error:
>
>Can't load
>'/usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBD/mysql/mysql.so' for
>module DBD::mysql:
>/usr/lib/perl5/site_perl/5.005/i386-linux/auto/DBD/mysql/mysql.so: undefined
>symbol: uncompress at /usr/lib/perl5/5.00503/i386-linux/DynaLoader.pm line
>169.
>
>  at ./tmp.perl line 4
>
>     I presume that the fix for this is to install the latest DBD::mysql, but
>since I'm not root, perl -MCPAN -e 'install DBD::mysql' produces errors.
>Assuming that I need to install this, what's the best way to install it in
>my home directory and then what do I do to Interchange to get it to use my
>copy of DBD::mysql instead of the system copy?  (Remember that I don't have
>access to Interchange's source code on this server).
>
>     Any help appreciated.
>
>..Patrick

I guess you could try the local install script 
(interchange-4.x.x/dist/src/cpan_local_install), but I don't know if it 
will work in this situation.  Otherwise you'll need to coax the server 
admin into doing it for you.

- Ed L.


>

===============================================================
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================