List:MySQL and Perl« Previous MessageNext Message »
From:John Lathrop Date:March 13 1999 5:02pm
Subject:Stuck Again...frustrated...DBD:mysql
View as plain text  
Here I am...stuck again....

I'm trying to access a database using DBD::mysql on my internet provider's
system running FreeBSD 2.2-980222-SNAP.  I was able to get all of the
necessary modules installed and test (with great difficulty but it finally

This is the first simple test program I tried looking like this:

    use lib '/domains/';
    use strict;
    use DBI;

    my $dbh = DBI->connect('DBI:mysql:test',<username>,<password>) || die
"Database connection not made...";


I have tried running it in perl several ways:

    /usr/local/bin/perl --static --config
    /usr/local/bin/perl --static
    /usr/local/bin/perl -static -config
    /usr/local/bin/perl -static

I always get a familiar looking error like this:

install_driver(mysql) failed: Can't load
/perl5/site_perl/i386-freebsd/auto/DBD/mysql/' for module
DBD::mysql: Can't find shared library "" at
/usr/local/lib/perl5/i386-freebsd/5.00401/ line 155.

 at (eval 1) line 2

 at line 8

Some information in the mail archives suggested to add links to the file.  I've added links all over the place.  None of
the links that I added worked.

If I could just get this to work with someone's help... :-(

Stuck Again...frustrated...DBD:mysqlJohn Lathrop13 Mar
Re: Stuck Again...frustrated...DBD:mysqlJochen Wiedmann15 Mar