From: Ernesto Freyre Ramírez (efreyre@isp.qnet.com.pe)
Date: Wed Jul 16 2003 - 12:00:39 EDT
Hi List, Finally I installed the DBD-Mysql module, I was getting errors such as:
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base.........../usr/lib/dld.sl: Unresolved symbol: __udivdi3 (code) from /var/src/DBD-mysql-2.9002/blib/arch/auto/DBD/mysql/mysql.sl
/usr/lib/dld.sl: Unresolved symbol: __umoddi3 (code) from /var/src/DBD-mysql-2.9002/blib/arch/auto/DBD/mysql/mysql.sl
install_driver(mysql) failed: Can't load '/var/src/DBD-mysql-2.9002/blib/arch/auto/DBD/mysql/mysql.sl' for module DBD::mysql: Unresolved external at /opt/perl5/lib/5.8.0/PA-RISC2.0/DynaLoader.pm line 229.
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/00base.t line 38
t/00base...........dubious
Test returned status 255 (wstat 65280, 0xff00)
at the make test.
This problem was because , I would need to add the place for libgcc at moment of perl Makefile.PL command.
So I executed this with the parameters:
perl Makefile.PL --libs="-L/usr/local/mysql/lib/mysql -lmysqlclient -lcrypt -lnsl -lm -L/usr/local/pa20_32/lib/gcc-lib/hppa2.0w-hp-hpux11.11/3.3 -lgcc"
then
make
make test
make install
And all works!!!
Thank you all that helped me.
Ernesto Freyre
Área de Operaciones
Qnet - Servicios Internet
Telf. 241-4122 anexos 2245/2244
www.qnet.com.pe
-- ---> Please post QUESTIONS and SUMMARIES only!! <--- To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl Name: hpux-admin@dutchworks.nl Owner: owner-hpux-admin@dutchworks.nl Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only) http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)
This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:31 EDT