dbTalk Databases Forums  

RE: Can't load 'blib/arch/auto/DBD/mysql/mysql.so' for module DBD ::mysql: ld.so.1: /usr/bin/perl: fatal: libz.so.1: open failed:

mailing.database.msql-mysql-modules mailing.database.msql-mysql-modules


Discuss RE: Can't load 'blib/arch/auto/DBD/mysql/mysql.so' for module DBD ::mysql: ld.so.1: /usr/bin/perl: fatal: libz.so.1: open failed: in the mailing.database.msql-mysql-modules forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Kangara, Madhu
 
Posts: n/a

Default RE: Can't load 'blib/arch/auto/DBD/mysql/mysql.so' for module DBD ::mysql: ld.so.1: /usr/bin/perl: fatal: libz.so.1: open failed: - 08-22-2003 , 10:44 AM






Santhosh,
Which c compiler do you have. If you did not install a special c compiler,
the cc which you find in Solaris is not a real c compiler.
Madhu

-----Original Message-----
From: santosh kandi [mailto:santoshkandi (AT) yahoo (DOT) com]
Sent: Friday, August 22, 2003 8:27 AM
To: Jochen Wiedmann
Cc: perl (AT) lists (DOT) mysql.com
Subject: RE: Can't load 'blib/arch/auto/DBD/mysql/mysql.so' for module
DBD ::mysql: ld.so.1: /usr/bin/perl: fatal: libz.so.1: open failed:



here are my logs

dlefh /home/a0867706/myperl/DBD-mysql-2.9002 26 <> ./a
I will use the following settings for compiling and
testing:

cflags (mysql_config) =
-I'/home/a0867706/myperl/mysql/include'
libs (Users choice) =
-L/home/a0867706/myperl/mysql/lib/mysql -lz
nocatchstderr (default ) = 0
nofoundrows (default ) = 0
ssl (guessed ) = 0
testdb (default ) = test
testhost (default ) =
testpassword (default ) =
testuser (default ) =

To change these settings, see 'perl Makefile.PL
--help' and
'perldoc INSTALL'.

Using DBI 1.21 installed in
/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/auto/DBI
Writing Makefile for DBD::mysql

MAKE:
dlefh /home/a0867706/myperl/DBD-mysql-2.9002 27 <>
make
cc -c
-I/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/auto/DBI
-I'/home/a0867706/mypec
"dbdimp.c", line 1422: warning: argument #1 is
incompatible with prototype:
prototype: pointer to char :
"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/prot5
argument : pointer to const char
"dbdimp.c", line 1426: warning: argument #1 is
incompatible with prototype:
prototype: pointer to char :
"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/prot5
argument : pointer to const char
"dbdimp.c", line 1443: warning: argument #1 is
incompatible with prototype:
prototype: pointer to char :
"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/prot5
argument : pointer to const char
"dbdimp.c", line 1449: warning: argument #1 is
incompatible with prototype:
prototype: pointer to char :
"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/prot5
argument : pointer to const char
"dbdimp.c", line 1465: warning: argument #1 is
incompatible with prototype:
prototype: pointer to char :
"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/prot5
argument : pointer to const char
"dbdimp.c", line 1473: warning: argument #1 is
incompatible with prototype:
prototype: pointer to char :
"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/prot5
argument : pointer to const char
"dbdimp.c", line 1478: warning: argument #1 is
incompatible with prototype:
prototype: pointer to char :
"/usr/local/lib/perl5/5.00503/sun4-solaris/CORE/prot5
argument : pointer to const char
cc -c
-I/usr/local/lib/perl5/site_perl/5.005/sun4-solaris/auto/DBI
-I'/home/a0867706/mypec
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
LD_RUN_PATH="/home/a0867706/myperl/mysql/lib/mysql"
/usr/bin/perl myld cc -o blib/arch/au
chmod 755 blib/arch/auto/DBD/mysql/mysql.so
cp mysql.bs blib/arch/auto/DBD/mysql/mysql.bs
chmod 644 blib/arch/auto/DBD/mysql/mysql.bs
Manifying blib/man3/DBD::mysql.3
Manifying blib/man3/Bundle:BD::mysql.3
Manifying blib/man3/DBD::mysql::INSTALL.3
/usr/local/bin/pod2man: bad option in paragraph 178 of
lib/DBD/mysql/INSTALL.pod: ``-h'' >
/usr/local/bin/pod2man: bad option in paragraph 178 of
lib/DBD/mysql/INSTALL.pod: ``-h'' >
Manifying blib/man3/Mysql.3

dlefh /home/a0867706/myperl/DBD-mysql-2.9002 30 <>
make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib
-I/usr/local/lib/perl5/5.00503/sun4
-solaris -I/usr/local/lib/perl5/5.00503 -e 'use
Test::Harness qw(&runtests $verbose); $ver
bose=0; runtests @ARGV;' t/*.t
t/00base............install_driver(mysql) failed:
Can't load 'blib/arch/auto/DBD/mysql/mys
ql.so' for module DBD::mysql: ld.so.1: /usr/bin/perl:
fatal: relocation error: file blib/a
rch/auto/DBD/mysql/mysql.so: symbol net_buffer_length:
referenced symbol not found at /usr
/local/lib/perl5/5.00503/sun4-solaris/DynaLoader.pm
line 169.

at (eval 1) line 3
Perhaps a required shared library or dll isn't
installed where expected
at t/00base.t line 38
dubious
Test returned status 255 (wstat 65280, 0xff00)
Warning: Use of "defined" without parens is ambiguous
at /usr/local/lib/perl5/site_perl/5.
005/sun4-solaris/_h2ph_pre.ph line 2.
DIED. FAILED tests 4-5
Failed 2/5 tests, 60.00% okay
t/10dsnlist.........install_driver(mysql) failed:
Can't load 'blib/arch/auto/DBD/mysql/mys
ql.so' for module DBD::mysql: ld.so.1: /usr/bin/perl:
fatal: relocation error: file blib/a
rch/auto/DBD/mysql/mysql.so: symbol net_buffer_length:
referenced symbol not found at /usr
/local/lib/perl5/5.00503/sun4-solaris/DynaLoader.pm
line 169.

at (eval 1) line 3
Perhaps a required shared library or dll isn't
installed where expected
at t/10dsnlist.t line 45
dubious
Test returned status 255 (wstat 65280, 0xff00)
Undefined subroutine &Test::Harness::WCOREDUMP called
at /usr/local/lib/perl5/5.00503/Test
/Harness.pm line 288.
*** Error code 255
make: Fatal error: Command failed for target
`test_dynamic'


lemme knwo if you need anything else.
Thanks,
Santosh



__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:
http://lists.mysql.com/perl?unsub=ma...bile (DOT) com

--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=ms...ie.nctu.edu.tw


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.