[HPADM] summary installig DBD mysql module for Perl
From: Ernesto Freyre Ramírez (efreyre_at_isp.qnet.com.pe)
Date: 07/16/03
- Previous message: Ernesto Freyre Ramírez: "[HPADM] patch dld.sl cont..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: <hpux-admin@dutchworks.nl> Date: Wed, 16 Jul 2003 11:00:39 -0500
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)
- Previous message: Ernesto Freyre Ramírez: "[HPADM] patch dld.sl cont..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|