6 Aug 2003 01:05
RE: same problem with symbol net_buffer_length not found with 'make test' for DBD::mysql
Rudy Lippan <rlippan <at> remotelinux.com>
2003-08-05 23:05:33 GMT
2003-08-05 23:05:33 GMT
On Tue, 5 Aug 2003, Thomas Whitney wrote: > It is also failing most of the test for me. > I did the following > > make clean > > perl Makefile.PL --cflags=-I/usr/local/mysql/include/mysql \ > --libs=-L/usr/local/mysql/lib/mysql -lmysqlclient -lcrypt -lnsl -lm > > make > > cc -shared -L/usr/local/mysql/lib/mysql -L/usr/local/lib dbdimp.o \ > mysql.o -o blib/arch/auto/DBD/mysql/mysql.so -lmysqlclient > > (* Note: I left off -lz because I get an error - can't find -lz.) > > make test > > == Make Test Result ==================== > > PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t > t/00base...........install_driver(mysql) failed: Can't load > '/usr/local/src/DBD-mysql-2.9002/blib/arch/auto/DBD/mysql/mysql.so' for > module DBD::mysql: libmysqlclient.so.12: cannot open shared object file: No Much better. You just need to tell your system where to find libmysqlclient.so.12; so : export LD_LIBRARY_PATH=/usr/local/mysql/lib/mysql <or whatever your path to libmysqlclient.so.12 is. make test; Rudy -- -- MySQL Perl Mailing List For list archives: http://lists.mysql.com/perl To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules <at> m.gmane.org
RSS Feed