From: Don S. <do...@se...> - 2001-09-30 13:08:40
|
OK Well every DBD::mysql test failed. I get many different incarnations of this error: t/10dsnlist.........install_driver(mysql) failed: Can't load 'blib/arch/auto/DBD/mysql/mysql.so' for module DBD::mysql: blib/arch/auto/DBD/mysql/mysql.so: undefined symbol: mysql_store_result at /usr/lib/perl5/5.6.0/i386-linux/DynaLoader.pm line 200. at (eval 1) line 3 Compilation failed in require at (eval 1) line 3. Perhaps a required shared library or dll isn't installed where expected at t/10dsnlist.t line 45 t/10dsnlist.........dubious Test returned status 255 (wstat 65280, 0xff00) DIED. FAILED tests 1-3 Failed 3/3 tests, 0.00% okay It says that a shared library isn't installed where expected. Where does it expect it to be? I symlinked /opt/mysql to /usr/local/mysql, but that doesn't seem to help. I added /opt/mysql/lib/mysql to /etc/ld.so.conf and ran ldconfig, but that didn't seem to have any effect. Argh, Don. On Sun, 30 Sep 2001, Patrick Galbraith wrote: > It sounds to me that you have DBD::Mysql library path issues. Template > is merely using DBD, and if you get those errors, it can't even properly > use DBD::Mysql. Have you ran that tests that come with DBD::Mysql? That > could reveal more about your problems. You might look at recompileing > DBD::Mysql and making sure all the tests work properly. You could also > make sure that ld.so.conf has all the lib paths (namely the ones you're > using that aren't standard) and running ldconfig load those lib paths on > your system (this is Linux only too). > > Don Seiler wrote: > > > > hullo. > > > > I'm trying to install slash (obviously). I installed mysql into > > /opt/mysql from the tarball on mysql.org. So I had to more or less > > manually install DBD::mysql to give it the locations of the files etc. > > > > Installing template from cpan fails because the DBI fails when it tries to > > connect to the mysql test database. I'm able to connect with the user > > that I give to Template, but the cpan test fails every time. Obviously I > > can install it when I don't run the test, but I get this error when I run > > install-slashsite: > > > > /usr/bin/perl: error while loading shared libraries: > > /usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/DBD/mysql/mysql.so: > > undefined symbol: mysql_init > > > > I don't know if this is related to the Template problem or what. I did > > install slash into /usr/local like suggested. Should I have installed > > mysql via rpm or into a different location. I notice that the files > > wanted are in /opt/mysql/include/mysql and /opt/mysql/lib/mysql, instead > > of just /opt/mysql/include and /opt/mysql/lib which it seems some things > > are expecting. > > > > Here is an abridged biography of my box: > > RedHat 7.1 > > MySQL 3.23.40 > > Apache 1.3.20 > > mod_perl 1.26 > > slash 2.0.0 > > > > The apache and mod_perl seem to be working fine, and were installed as > > specified in the slash instructions. > > > > I've been in the irc chat room, it doesn't seem like anyone is up for a > > nice slash chat on Saturday night or Sunday morning. :p > > > > Anyway, I'm hoping someone will have some hints and/or suggestions for my > > little dilemma. > > > > Don. > > > > _______________________________________________ > > Slashcode-general mailing list > > Sla...@li... > > https://lists.sourceforge.net/lists/listinfo/slashcode-general > > _______________________________________________ > Slashcode-general mailing list > Sla...@li... > https://lists.sourceforge.net/lists/listinfo/slashcode-general > |