DBD::MYSQL make test failure

DBD::MYSQL make test failure

am 08.09.2003 14:57:40 von Dan Temple

I'm getting the same "make test" error that Ben Eisel posted August 5th, there
was no reply on that thread.

I'm using gcc 3.3, perl 5.8.0 (compiled with same gcc) and have also applied
the CFLAGS solution to the Known Problem, without success:

perl Makefile.PL --libs="-L/usr/local/mysql/lib -lmysqlclient -lposix4 -lcrypt
-lgen -lsocket -lnsl -lm -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc"

Any help appreciated. See error message below.

/Dan

t/00base...........install_driver(mysql) failed: Can't load
'/net/sharedfiles/not-backed-up/dan/install/DBD-mysql-2.9002 /blib/arch/auto/DBD/mysql/mysql.so'
for module DBD::mysql: ld.so.1: /usr/bin/perl: fatal: relocation error: file
/net/sharedfiles/not-backed-up/dan/install/DBD-mysql-2.9002/ blib/arch/auto/DBD/mysql/mysql.so:
symbol net_buffer_length: referenced symbol not found at
/usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line 229.



--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: DBD::MYSQL make test failure

am 08.09.2003 15:41:21 von Jochen Wiedmann

Dan Temple wrote:

> I'm getting the same "make test" error that Ben Eisel posted August 5th,
> there was no reply on that thread.
>
> I'm using gcc 3.3, perl 5.8.0 (compiled with same gcc) and have also
> applied
> the CFLAGS solution to the Known Problem, without success:
>
> perl Makefile.PL --libs="-L/usr/local/mysql/lib -lmysqlclient -lposix4
> -lcrypt -lgen -lsocket -lnsl -lm
> -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc"
>
> Any help appreciated. See error message below.
>
> /Dan
>
> t/00base...........install_driver(mysql) failed: Can't load
> '/net/sharedfiles/not-backed-up/dan/install/DBD-mysql-2.9002 /blib/arch/auto/DBD/mysql/mysql.so'
> for module DBD::mysql: ld.so.1: /usr/bin/perl: fatal: relocation error:
> file
> /net/sharedfiles/not-backed-up/dan/install/DBD-mysql-2.9002/ blib/arch/auto/DBD/mysql/mysql.so:
> symbol net_buffer_length: referenced symbol not found at
> /usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line 229.

Please supply the full output of

perl Makefile.PL --libs="-L/usr/local/mysql/lib -lmysqlclient
-lposix4 -lcrypt -lgen -lsocket -lnsl -lm
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc"
make
make test


Jochen



--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: DBD::MYSQL make test failure

am 08.09.2003 15:41:21 von Jochen Wiedmann

Dan Temple wrote:

> I'm getting the same "make test" error that Ben Eisel posted August 5th,
> there was no reply on that thread.
>
> I'm using gcc 3.3, perl 5.8.0 (compiled with same gcc) and have also
> applied
> the CFLAGS solution to the Known Problem, without success:
>
> perl Makefile.PL --libs="-L/usr/local/mysql/lib -lmysqlclient -lposix4
> -lcrypt -lgen -lsocket -lnsl -lm
> -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc"
>
> Any help appreciated. See error message below.
>
> /Dan
>
> t/00base...........install_driver(mysql) failed: Can't load
> '/net/sharedfiles/not-backed-up/dan/install/DBD-mysql-2.9002 /blib/arch/auto/DBD/mysql/mysql.so'
> for module DBD::mysql: ld.so.1: /usr/bin/perl: fatal: relocation error:
> file
> /net/sharedfiles/not-backed-up/dan/install/DBD-mysql-2.9002/ blib/arch/auto/DBD/mysql/mysql.so:
> symbol net_buffer_length: referenced symbol not found at
> /usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line 229.

Please supply the full output of

perl Makefile.PL --libs="-L/usr/local/mysql/lib -lmysqlclient
-lposix4 -lcrypt -lgen -lsocket -lnsl -lm
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc"
make
make test


Jochen



--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: DBD::MYSQL make test failure

am 08.09.2003 16:48:09 von Dan Temple

Jochen Wiedmann wrote:
> Please supply the full output of
> perl Makefile.PL --libs="-L/usr/local/mysql/lib -lmysqlclient
> -lposix4 -lcrypt -lgen -lsocket -lnsl -lm
> -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc"
> make
> make test

Here it is:

[dan@frame-1 DBD-mysql-2.9002]$ uname -a
SunOS frame-1.cph.firma.net 5.9 Generic_112233-05 sun4u sparc SUNW,UltraAX-i2
[dan@frame-1 DBD-mysql-2.9002]$ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/ccs/bin:/u sr/ucb:/usr/openwin/bin:/opt/sfw/bin:/usr/local/mysql/bin
[dan@frame-1 DBD-mysql-2.9002]$ perl Makefile.PL
--libs="-L/usr/local/mysql/lib -lmysqlclient -lposix4 -lcrypt -lgen -lsocket
-lnsl -lm -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc"
I will use the following settings for compiling and testing:

cflags (mysql_config) = -I'/usr/local/mysql/include'
libs (Users choice) = -L/usr/local/mysql/lib -lmysqlclient
-lposix4 -lcrypt -lgen -lsocket -lnsl -lm
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc
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'.

Checking if your kit is complete...
Looks good
Using DBI 1.37 installed in
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBI
Writing Makefile for DBD::mysql
[dan@frame-1 DBD-mysql-2.9002]$ make
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Mysql.pm blib/lib/Mysql.pm
cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
gcc -c -I/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBI
-I'/usr/local/mysql/include' -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -DVERSION=\"2.9002\" -DXS_VERSION=\"2.9002\" -fPIC
"-I/usr/local/lib/perl5/5.8.0/sun4-solaris/CORE" dbdimp.c
/usr/bin/perl -p -e "s/~DRIVER~/mysql/g" <
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBI/D river.xst > mysql.xsi
/usr/bin/perl /usr/local/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/5.8.0/ExtUtils/typemap mysql.xs > mysql.xsc && mv
mysql.xsc mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs, line 193
Warning: duplicate function definition 'rows' detected in mysql.xs, line 291
gcc -c -I/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBI
-I'/usr/local/mysql/include' -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -DVERSION=\"2.9002\" -DXS_VERSION=\"2.9002\" -fPIC
"-I/usr/local/lib/perl5/5.8.0/sun4-solaris/CORE" mysql.c
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.so
LD_RUN_PATH="/usr/local/mysql/lib:/usr/lib:/usr/local/lib/gc c-lib/sparc-sun-solaris2.9/3.3"
/usr/bin/perl myld gcc -G -L/usr/local/lib dbdimp.o mysql.o -o
blib/arch/auto/DBD/mysql/mysql.so -L/usr/local/mysql/lib -lmysqlclient
-lposix4 -lcrypt -lgen -lsocket -lnsl -lm
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc
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/Mysql.3
Manifying blib/man3/DBD::mysql::INSTALL.3
Manifying blib/man3/Bundle::DBD::mysql.3
[dan@frame-1 DBD-mysql-2.9002]$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base...........install_driver(mysql) failed: Can't load
'/net/sharedfiles/not-backed-up/dan/install/DBD-mysql-2.9002 /blib/arch/auto/DBD/mysql/mysql.so'
for module DBD::mysql: ld.so.1: /usr/bin/perl: fatal: relocation error: file
/net/sharedfiles/not-backed-up/dan/install/DBD-mysql-2.9002/ blib/arch/auto/DBD/mysql/mysql.so:
symbol net_buffer_length: referenced symbol not found at
/usr/local/lib/perl5/5.8.0/sun4-solaris/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)
DIED. FAILED tests 4-5
Failed 2/5 tests, 60.00% okay
t/10dsnlist........install_driver(mysql) failed: Can't load
'/net/sharedfiles/not-backed-up/dan/install/DBD-mysql-2.9002 /blib/arch/auto/DBD/mysql/mysql.so'
for module DBD::mysql: ld.so.1: /usr/bin/perl: fatal: relocation error: file
/net/sharedfiles/not-backed-up/dan/install/DBD-mysql-2.9002/ blib/arch/auto/DBD/mysql/mysql.so:
symbol net_buffer_length: referenced symbol not found at
/usr/local/lib/perl5/5.8.0/sun4-solaris/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/10dsnlist.t line 45
t/10dsnlist........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-9
Failed 9/9 tests, 0.00% okay
t/20createdrop.....install_driver(mysql) failed: Can't load
'/net/sharedfiles/not-backed-up/dan/install/DBD-mysql-2.9002 /blib/arch/auto/DBD/mysql/mysql.so'
for module DBD::mysql: ld.so.1: /usr/bin/perl: fatal: relocation error: file
/net/sharedfiles/not-backed-up/dan/install/DBD-mysql-2.9002/ blib/arch/auto/DBD/mysql/mysql.so:
symbol net_buffer_length: referenced symbol not found at
/usr/local/lib/perl5/5.8.0/sun4-solaris/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/20createdrop.t line 45
t/20createdrop.....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-5
Failed 5/5 tests, 0.00% okay

And so on.....all tests fail in this way. Hope you can cast some light on it!

regards

Dan



> Dan Temple wrote:
>
>> I'm getting the same "make test" error that Ben Eisel posted August
>> 5th, there was no reply on that thread.
>>
>> I'm using gcc 3.3, perl 5.8.0 (compiled with same gcc) and have also
>> applied
>> the CFLAGS solution to the Known Problem, without success:
>>
>> perl Makefile.PL --libs="-L/usr/local/mysql/lib -lmysqlclient -lposix4
>> -lcrypt -lgen -lsocket -lnsl -lm
>> -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc"
>>
>> Any help appreciated. See error message below.
>>
>> /Dan
>>
>> t/00base...........install_driver(mysql) failed: Can't load
>> '/net/sharedfiles/not-backed-up/dan/install/DBD-mysql-2.9002 /blib/arch/auto/DBD/mysql/mysql.so'
>> for module DBD::mysql: ld.so.1: /usr/bin/perl: fatal: relocation
>> error: file
>> /net/sharedfiles/not-backed-up/dan/install/DBD-mysql-2.9002/ blib/arch/auto/DBD/mysql/mysql.so:
>> symbol net_buffer_length: referenced symbol not found at
>> /usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line 229.
>
>
> Please supply the full output of
>
> perl Makefile.PL --libs="-L/usr/local/mysql/lib -lmysqlclient
> -lposix4 -lcrypt -lgen -lsocket -lnsl -lm
> -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc"
> make
> make test
>
>
> Jochen
>
>
>


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: DBD::MYSQL make test failure

am 08.09.2003 16:48:09 von Dan Temple

Jochen Wiedmann wrote:
> Please supply the full output of
> perl Makefile.PL --libs="-L/usr/local/mysql/lib -lmysqlclient
> -lposix4 -lcrypt -lgen -lsocket -lnsl -lm
> -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc"
> make
> make test

Here it is:

[dan@frame-1 DBD-mysql-2.9002]$ uname -a
SunOS frame-1.cph.firma.net 5.9 Generic_112233-05 sun4u sparc SUNW,UltraAX-i2
[dan@frame-1 DBD-mysql-2.9002]$ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/ccs/bin:/u sr/ucb:/usr/openwin/bin:/opt/sfw/bin:/usr/local/mysql/bin
[dan@frame-1 DBD-mysql-2.9002]$ perl Makefile.PL
--libs="-L/usr/local/mysql/lib -lmysqlclient -lposix4 -lcrypt -lgen -lsocket
-lnsl -lm -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc"
I will use the following settings for compiling and testing:

cflags (mysql_config) = -I'/usr/local/mysql/include'
libs (Users choice) = -L/usr/local/mysql/lib -lmysqlclient
-lposix4 -lcrypt -lgen -lsocket -lnsl -lm
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc
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'.

Checking if your kit is complete...
Looks good
Using DBI 1.37 installed in
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBI
Writing Makefile for DBD::mysql
[dan@frame-1 DBD-mysql-2.9002]$ make
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Mysql.pm blib/lib/Mysql.pm
cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
gcc -c -I/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBI
-I'/usr/local/mysql/include' -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -DVERSION=\"2.9002\" -DXS_VERSION=\"2.9002\" -fPIC
"-I/usr/local/lib/perl5/5.8.0/sun4-solaris/CORE" dbdimp.c
/usr/bin/perl -p -e "s/~DRIVER~/mysql/g" <
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBI/D river.xst > mysql.xsi
/usr/bin/perl /usr/local/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/5.8.0/ExtUtils/typemap mysql.xs > mysql.xsc && mv
mysql.xsc mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs, line 193
Warning: duplicate function definition 'rows' detected in mysql.xs, line 291
gcc -c -I/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBI
-I'/usr/local/mysql/include' -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -DVERSION=\"2.9002\" -DXS_VERSION=\"2.9002\" -fPIC
"-I/usr/local/lib/perl5/5.8.0/sun4-solaris/CORE" mysql.c
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.so
LD_RUN_PATH="/usr/local/mysql/lib:/usr/lib:/usr/local/lib/gc c-lib/sparc-sun-solaris2.9/3.3"
/usr/bin/perl myld gcc -G -L/usr/local/lib dbdimp.o mysql.o -o
blib/arch/auto/DBD/mysql/mysql.so -L/usr/local/mysql/lib -lmysqlclient
-lposix4 -lcrypt -lgen -lsocket -lnsl -lm
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc
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/Mysql.3
Manifying blib/man3/DBD::mysql::INSTALL.3
Manifying blib/man3/Bundle::DBD::mysql.3
[dan@frame-1 DBD-mysql-2.9002]$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base...........install_driver(mysql) failed: Can't load
'/net/sharedfiles/not-backed-up/dan/install/DBD-mysql-2.9002 /blib/arch/auto/DBD/mysql/mysql.so'
for module DBD::mysql: ld.so.1: /usr/bin/perl: fatal: relocation error: file
/net/sharedfiles/not-backed-up/dan/install/DBD-mysql-2.9002/ blib/arch/auto/DBD/mysql/mysql.so:
symbol net_buffer_length: referenced symbol not found at
/usr/local/lib/perl5/5.8.0/sun4-solaris/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)
DIED. FAILED tests 4-5
Failed 2/5 tests, 60.00% okay
t/10dsnlist........install_driver(mysql) failed: Can't load
'/net/sharedfiles/not-backed-up/dan/install/DBD-mysql-2.9002 /blib/arch/auto/DBD/mysql/mysql.so'
for module DBD::mysql: ld.so.1: /usr/bin/perl: fatal: relocation error: file
/net/sharedfiles/not-backed-up/dan/install/DBD-mysql-2.9002/ blib/arch/auto/DBD/mysql/mysql.so:
symbol net_buffer_length: referenced symbol not found at
/usr/local/lib/perl5/5.8.0/sun4-solaris/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/10dsnlist.t line 45
t/10dsnlist........dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-9
Failed 9/9 tests, 0.00% okay
t/20createdrop.....install_driver(mysql) failed: Can't load
'/net/sharedfiles/not-backed-up/dan/install/DBD-mysql-2.9002 /blib/arch/auto/DBD/mysql/mysql.so'
for module DBD::mysql: ld.so.1: /usr/bin/perl: fatal: relocation error: file
/net/sharedfiles/not-backed-up/dan/install/DBD-mysql-2.9002/ blib/arch/auto/DBD/mysql/mysql.so:
symbol net_buffer_length: referenced symbol not found at
/usr/local/lib/perl5/5.8.0/sun4-solaris/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/20createdrop.t line 45
t/20createdrop.....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-5
Failed 5/5 tests, 0.00% okay

And so on.....all tests fail in this way. Hope you can cast some light on it!

regards

Dan



> Dan Temple wrote:
>
>> I'm getting the same "make test" error that Ben Eisel posted August
>> 5th, there was no reply on that thread.
>>
>> I'm using gcc 3.3, perl 5.8.0 (compiled with same gcc) and have also
>> applied
>> the CFLAGS solution to the Known Problem, without success:
>>
>> perl Makefile.PL --libs="-L/usr/local/mysql/lib -lmysqlclient -lposix4
>> -lcrypt -lgen -lsocket -lnsl -lm
>> -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc"
>>
>> Any help appreciated. See error message below.
>>
>> /Dan
>>
>> t/00base...........install_driver(mysql) failed: Can't load
>> '/net/sharedfiles/not-backed-up/dan/install/DBD-mysql-2.9002 /blib/arch/auto/DBD/mysql/mysql.so'
>> for module DBD::mysql: ld.so.1: /usr/bin/perl: fatal: relocation
>> error: file
>> /net/sharedfiles/not-backed-up/dan/install/DBD-mysql-2.9002/ blib/arch/auto/DBD/mysql/mysql.so:
>> symbol net_buffer_length: referenced symbol not found at
>> /usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line 229.
>
>
> Please supply the full output of
>
> perl Makefile.PL --libs="-L/usr/local/mysql/lib -lmysqlclient
> -lposix4 -lcrypt -lgen -lsocket -lnsl -lm
> -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc"
> make
> make test
>
>
> Jochen
>
>
>


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: DBD::MYSQL make test failure

am 08.09.2003 19:51:01 von Rudy Lippan

On Mon, 8 Sep 2003, Dan Temple wrote:

> Date: Mon, 08 Sep 2003 14:57:40 +0200
> From: Dan Temple
> To: perl@lists.mysql.com
> Subject: DBD::MYSQL make test failure
>
> I'm getting the same "make test" error that Ben Eisel posted August 5th, there
> was no reply on that thread.
>
> I'm using gcc 3.3, perl 5.8.0 (compiled with same gcc) and have also applied
> the CFLAGS solution to the Known Problem, without success:
>
> perl Makefile.PL --libs="-L/usr/local/mysql/lib -lmysqlclient -lposix4 -lcrypt
> -lgen -lsocket -lnsl -lm -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc"
>

Did you build mysql from source? If so I believe that it should be
-L/usr/local/mysql/lib/mysql and not -L/usr/local/mysql/lib

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@m .gmane.org

Re: DBD::MYSQL make test failure

am 08.09.2003 19:51:01 von Rudy Lippan

On Mon, 8 Sep 2003, Dan Temple wrote:

> Date: Mon, 08 Sep 2003 14:57:40 +0200
> From: Dan Temple
> To: perl@lists.mysql.com
> Subject: DBD::MYSQL make test failure
>
> I'm getting the same "make test" error that Ben Eisel posted August 5th, there
> was no reply on that thread.
>
> I'm using gcc 3.3, perl 5.8.0 (compiled with same gcc) and have also applied
> the CFLAGS solution to the Known Problem, without success:
>
> perl Makefile.PL --libs="-L/usr/local/mysql/lib -lmysqlclient -lposix4 -lcrypt
> -lgen -lsocket -lnsl -lm -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc"
>

Did you build mysql from source? If so I believe that it should be
-L/usr/local/mysql/lib/mysql and not -L/usr/local/mysql/lib

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@m .gmane.org

Re: DBD::MYSQL make test failure

am 08.09.2003 21:19:51 von Dan Temple

I installed MySQL using pkgadd. The path seems to be correct:

[dan@frame-1 lib]$ ls /usr/local/mysql/lib/
libdbug.a libmysqlclient_r.a libmysys.a
libmysqlclient.a libmystrings.a
[dan@frame-1 lib]$ /usr/local/mysql/bin/mysql_config --libs
-L'/usr/local/mysql/lib' -lmysqlclient -lposix4 -lcrypt -lgen -lsocket -lnsl -lm
[dan@frame-1 lib]$

(Note this is a Solaris 9 system)

/Dan

Rudy Lippan wrote:
> On Mon, 8 Sep 2003, Dan Temple wrote:
>
>
>>Date: Mon, 08 Sep 2003 14:57:40 +0200
>>From: Dan Temple
>>To: perl@lists.mysql.com
>>Subject: DBD::MYSQL make test failure
>>
>>I'm getting the same "make test" error that Ben Eisel posted August 5th, there
>>was no reply on that thread.
>>
>>I'm using gcc 3.3, perl 5.8.0 (compiled with same gcc) and have also applied
>>the CFLAGS solution to the Known Problem, without success:
>>
>>perl Makefile.PL --libs="-L/usr/local/mysql/lib -lmysqlclient -lposix4 -lcrypt
>>-lgen -lsocket -lnsl -lm -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc"
>>
>
>
> Did you build mysql from source? If so I believe that it should be
> -L/usr/local/mysql/lib/mysql and not -L/usr/local/mysql/lib
>
> 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@m .gmane.org

Re: DBD::MYSQL make test failure

am 08.09.2003 21:19:51 von Dan Temple

I installed MySQL using pkgadd. The path seems to be correct:

[dan@frame-1 lib]$ ls /usr/local/mysql/lib/
libdbug.a libmysqlclient_r.a libmysys.a
libmysqlclient.a libmystrings.a
[dan@frame-1 lib]$ /usr/local/mysql/bin/mysql_config --libs
-L'/usr/local/mysql/lib' -lmysqlclient -lposix4 -lcrypt -lgen -lsocket -lnsl -lm
[dan@frame-1 lib]$

(Note this is a Solaris 9 system)

/Dan

Rudy Lippan wrote:
> On Mon, 8 Sep 2003, Dan Temple wrote:
>
>
>>Date: Mon, 08 Sep 2003 14:57:40 +0200
>>From: Dan Temple
>>To: perl@lists.mysql.com
>>Subject: DBD::MYSQL make test failure
>>
>>I'm getting the same "make test" error that Ben Eisel posted August 5th, there
>>was no reply on that thread.
>>
>>I'm using gcc 3.3, perl 5.8.0 (compiled with same gcc) and have also applied
>>the CFLAGS solution to the Known Problem, without success:
>>
>>perl Makefile.PL --libs="-L/usr/local/mysql/lib -lmysqlclient -lposix4 -lcrypt
>>-lgen -lsocket -lnsl -lm -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc"
>>
>
>
> Did you build mysql from source? If so I believe that it should be
> -L/usr/local/mysql/lib/mysql and not -L/usr/local/mysql/lib
>
> 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@m .gmane.org

Re: DBD::MYSQL make test failure

am 08.09.2003 21:19:51 von Dan Temple

I installed MySQL using pkgadd. The path seems to be correct:

[dan@frame-1 lib]$ ls /usr/local/mysql/lib/
libdbug.a libmysqlclient_r.a libmysys.a
libmysqlclient.a libmystrings.a
[dan@frame-1 lib]$ /usr/local/mysql/bin/mysql_config --libs
-L'/usr/local/mysql/lib' -lmysqlclient -lposix4 -lcrypt -lgen -lsocket -lnsl -lm
[dan@frame-1 lib]$

(Note this is a Solaris 9 system)

/Dan

Rudy Lippan wrote:
> On Mon, 8 Sep 2003, Dan Temple wrote:
>
>
>>Date: Mon, 08 Sep 2003 14:57:40 +0200
>>From: Dan Temple
>>To: perl@lists.mysql.com
>>Subject: DBD::MYSQL make test failure
>>
>>I'm getting the same "make test" error that Ben Eisel posted August 5th, there
>>was no reply on that thread.
>>
>>I'm using gcc 3.3, perl 5.8.0 (compiled with same gcc) and have also applied
>>the CFLAGS solution to the Known Problem, without success:
>>
>>perl Makefile.PL --libs="-L/usr/local/mysql/lib -lmysqlclient -lposix4 -lcrypt
>>-lgen -lsocket -lnsl -lm -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc"
>>
>
>
> Did you build mysql from source? If so I believe that it should be
> -L/usr/local/mysql/lib/mysql and not -L/usr/local/mysql/lib
>
> 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@m .gmane.org

Re: DBD::MYSQL make test failure

am 09.09.2003 08:46:23 von Dan Temple

Here you go..and yes, there's a warning from ld during the make.

/Dan

[dan@frame-1 DBD-mysql-2.9002]$ perl Makefile.PL --nocatchstderr
--libs="-L/usr/local/mysql/lib -lmysqlclient -lposix4 -lcrypt -lgen -lsocket
-lnsl -lm -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc"
I will use the following settings for compiling and testing:

cflags (mysql_config) = -I'/usr/local/mysql/include'
libs (Users choice) = -L/usr/local/mysql/lib -lmysqlclient
-lposix4 -lcrypt -lgen -lsocket -lnsl -lm
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc
nocatchstderr (Users choice) = 1
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'.

Checking if your kit is complete...
Looks good
Using DBI 1.37 installed in
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBI
Writing Makefile for DBD::mysql

[dan@frame-1 DBD-mysql-2.9002]$ make
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Mysql.pm blib/lib/Mysql.pm
cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
gcc -c -I/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBI
-I'/usr/local/mysql/include' -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -DVERSION=\"2.9002\" -DXS_VERSION=\"2.9002\" -fPIC
"-I/usr/local/lib/perl5/5.8.0/sun4-solaris/CORE" dbdimp.c
/usr/bin/perl -p -e "s/~DRIVER~/mysql/g" <
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBI/D river.xst > mysql.xsi
/usr/bin/perl /usr/local/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/5.8.0/ExtUtils/typemap mysql.xs > mysql.xsc && mv
mysql.xsc mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs, line 193
Warning: duplicate function definition 'rows' detected in mysql.xs, line 291
gcc -c -I/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBI
-I'/usr/local/mysql/include' -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -DVERSION=\"2.9002\" -DXS_VERSION=\"2.9002\" -fPIC
"-I/usr/local/lib/perl5/5.8.0/sun4-solaris/CORE" mysql.c
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.so
LD_RUN_PATH="/usr/local/mysql/lib:/usr/lib:/usr/local/lib/gc c-lib/sparc-sun-solaris2.9/3.3"
gcc -G -L/usr/local/lib dbdimp.o mysql.o -o
blib/arch/auto/DBD/mysql/mysql.so -L/usr/local/mysql/lib -lmysqlclient
-lposix4 -lcrypt -lgen -lsocket -lnsl -lm
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc
ld: warning: file /usr/local/mysql/lib/libmysqlclient.a(libmysql.o): wrong ELF
class: ELFCLASS64
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/Mysql.3
Manifying blib/man3/DBD::mysql::INSTALL.3
Manifying blib/man3/Bundle::DBD::mysql.3

[dan@frame-1 DBD-mysql-2.9002]$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base...........install_driver(mysql) failed: Can't load
'/net/sharedfiles/not-backed-up/dan/install/DBD-mysql-2.9002 /blib/arch/auto/DBD/mysql/mysql.so'
for module DBD::mysql: ld.so.1: /usr/bin/perl: fatal: relocation error: file
/net/sharedfiles/not-backed-up/dan/install/DBD-mysql-2.9002/ blib/arch/auto/DBD/mysql/mysql.so:
symbol net_buffer_length: referenced symbol not found at
/usr/local/lib/perl5/5.8.0/sun4-solaris/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)
DIED. FAILED tests 4-5
Failed 2/5 tests, 60.00% okay


Jochen Wiedmann wrote:

> Zitat von Dan Temple :
>
>
>>Jochen Wiedmann wrote:
>> > Please supply the full output of
>> > perl Makefile.PL --libs="-L/usr/local/mysql/lib -lmysqlclient
>> > -lposix4 -lcrypt -lgen -lsocket -lnsl -lm
>> > -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc"
>> > make
>> > make test
>
>
> Please be so kind to repeat the same, adding the option --nocatchstderr
> to "perl Makefile.PL":
>
> perl Makefile.PL --nocatchstderr
> --libs="-L/usr/local/mysql/lib -lmysqlclient
> -lposix4 -lcrypt -lgen -lsocket -lnsl -lm
> -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc"
> make
> make test
>
>
> Jochen
>
>
> P.S: Rudy, please be so kind to release a version 2.9003 with the
> bugfix in myld
>


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: DBD::MYSQL make test failure

am 09.09.2003 08:46:23 von Dan Temple

Here you go..and yes, there's a warning from ld during the make.

/Dan

[dan@frame-1 DBD-mysql-2.9002]$ perl Makefile.PL --nocatchstderr
--libs="-L/usr/local/mysql/lib -lmysqlclient -lposix4 -lcrypt -lgen -lsocket
-lnsl -lm -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc"
I will use the following settings for compiling and testing:

cflags (mysql_config) = -I'/usr/local/mysql/include'
libs (Users choice) = -L/usr/local/mysql/lib -lmysqlclient
-lposix4 -lcrypt -lgen -lsocket -lnsl -lm
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc
nocatchstderr (Users choice) = 1
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'.

Checking if your kit is complete...
Looks good
Using DBI 1.37 installed in
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBI
Writing Makefile for DBD::mysql

[dan@frame-1 DBD-mysql-2.9002]$ make
cp lib/DBD/mysql/GetInfo.pm blib/lib/DBD/mysql/GetInfo.pm
cp lib/DBD/mysql.pm blib/lib/DBD/mysql.pm
cp lib/DBD/mysql/INSTALL.pod blib/lib/DBD/mysql/INSTALL.pod
cp lib/Mysql.pm blib/lib/Mysql.pm
cp lib/Mysql/Statement.pm blib/lib/Mysql/Statement.pm
cp lib/Bundle/DBD/mysql.pm blib/lib/Bundle/DBD/mysql.pm
gcc -c -I/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBI
-I'/usr/local/mysql/include' -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -DVERSION=\"2.9002\" -DXS_VERSION=\"2.9002\" -fPIC
"-I/usr/local/lib/perl5/5.8.0/sun4-solaris/CORE" dbdimp.c
/usr/bin/perl -p -e "s/~DRIVER~/mysql/g" <
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBI/D river.xst > mysql.xsi
/usr/bin/perl /usr/local/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap
/usr/local/lib/perl5/5.8.0/ExtUtils/typemap mysql.xs > mysql.xsc && mv
mysql.xsc mysql.c
Warning: duplicate function definition 'do' detected in mysql.xs, line 193
Warning: duplicate function definition 'rows' detected in mysql.xs, line 291
gcc -c -I/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBI
-I'/usr/local/mysql/include' -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -O -DVERSION=\"2.9002\" -DXS_VERSION=\"2.9002\" -fPIC
"-I/usr/local/lib/perl5/5.8.0/sun4-solaris/CORE" mysql.c
Running Mkbootstrap for DBD::mysql ()
chmod 644 mysql.bs
rm -f blib/arch/auto/DBD/mysql/mysql.so
LD_RUN_PATH="/usr/local/mysql/lib:/usr/lib:/usr/local/lib/gc c-lib/sparc-sun-solaris2.9/3.3"
gcc -G -L/usr/local/lib dbdimp.o mysql.o -o
blib/arch/auto/DBD/mysql/mysql.so -L/usr/local/mysql/lib -lmysqlclient
-lposix4 -lcrypt -lgen -lsocket -lnsl -lm
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc
ld: warning: file /usr/local/mysql/lib/libmysqlclient.a(libmysql.o): wrong ELF
class: ELFCLASS64
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/Mysql.3
Manifying blib/man3/DBD::mysql::INSTALL.3
Manifying blib/man3/Bundle::DBD::mysql.3

[dan@frame-1 DBD-mysql-2.9002]$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base...........install_driver(mysql) failed: Can't load
'/net/sharedfiles/not-backed-up/dan/install/DBD-mysql-2.9002 /blib/arch/auto/DBD/mysql/mysql.so'
for module DBD::mysql: ld.so.1: /usr/bin/perl: fatal: relocation error: file
/net/sharedfiles/not-backed-up/dan/install/DBD-mysql-2.9002/ blib/arch/auto/DBD/mysql/mysql.so:
symbol net_buffer_length: referenced symbol not found at
/usr/local/lib/perl5/5.8.0/sun4-solaris/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)
DIED. FAILED tests 4-5
Failed 2/5 tests, 60.00% okay


Jochen Wiedmann wrote:

> Zitat von Dan Temple :
>
>
>>Jochen Wiedmann wrote:
>> > Please supply the full output of
>> > perl Makefile.PL --libs="-L/usr/local/mysql/lib -lmysqlclient
>> > -lposix4 -lcrypt -lgen -lsocket -lnsl -lm
>> > -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc"
>> > make
>> > make test
>
>
> Please be so kind to repeat the same, adding the option --nocatchstderr
> to "perl Makefile.PL":
>
> perl Makefile.PL --nocatchstderr
> --libs="-L/usr/local/mysql/lib -lmysqlclient
> -lposix4 -lcrypt -lgen -lsocket -lnsl -lm
> -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc"
> make
> make test
>
>
> Jochen
>
>
> P.S: Rudy, please be so kind to release a version 2.9003 with the
> bugfix in myld
>


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: DBD::MYSQL make test failure

am 09.09.2003 09:00:53 von Jochen Wiedmann

Dan Temple wrote:

> ld: warning: file /usr/local/mysql/lib/libmysqlclient.a(libmysql.o):
> wrong ELF class: ELFCLASS64

I would assume that means that your MySQL is compiled as a 64bit binary,
but Perl is compiled as 32bit, thus interoperable. Recompiling Perl as
a 64bit binary *or* recompiling the MySQL client libraries (not necessarily
the server, there's a configure option --without-server or so) as 32 bit
should do.


Jochen



--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: DBD::MYSQL make test failure

am 09.09.2003 09:00:53 von Jochen Wiedmann

Dan Temple wrote:

> ld: warning: file /usr/local/mysql/lib/libmysqlclient.a(libmysql.o):
> wrong ELF class: ELFCLASS64

I would assume that means that your MySQL is compiled as a 64bit binary,
but Perl is compiled as 32bit, thus interoperable. Recompiling Perl as
a 64bit binary *or* recompiling the MySQL client libraries (not necessarily
the server, there's a configure option --without-server or so) as 32 bit
should do.


Jochen



--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: DBD::MYSQL make test failure

am 11.09.2003 18:47:15 von Rudy Lippan

On Tue, 9 Sep 2003, Dan Temple wrote:

> Jochen Wiedmann wrote:
>
> > Zitat von Dan Temple :
> >
> >
> >>Jochen Wiedmann wrote:
> >> > Please supply the full output of
> >> > perl Makefile.PL --libs="-L/usr/local/mysql/lib -lmysqlclient
> >> > -lposix4 -lcrypt -lgen -lsocket -lnsl -lm
> >> > -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc"
> >> > make
> >> > make test
> >
> >
> > Please be so kind to repeat the same, adding the option --nocatchstderr
> > to "perl Makefile.PL":
> >
> > perl Makefile.PL --nocatchstderr
> > --libs="-L/usr/local/mysql/lib -lmysqlclient
> > -lposix4 -lcrypt -lgen -lsocket -lnsl -lm
> > -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc"
> > make
> > make test
> >
> >
> > Jochen
> >
> >
> > P.S: Rudy, please be so kind to release a version 2.9003 with the
> > bugfix in myld
> >

Ok. I'll do that after work today -- I have a few more bug fixes that are
ready go to go up also, and I have just been procrastinating wrt to
acutally doing the release.


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@m .gmane.org

Re: DBD::MYSQL make test failure

am 11.09.2003 18:47:15 von Rudy Lippan

On Tue, 9 Sep 2003, Dan Temple wrote:

> Jochen Wiedmann wrote:
>
> > Zitat von Dan Temple :
> >
> >
> >>Jochen Wiedmann wrote:
> >> > Please supply the full output of
> >> > perl Makefile.PL --libs="-L/usr/local/mysql/lib -lmysqlclient
> >> > -lposix4 -lcrypt -lgen -lsocket -lnsl -lm
> >> > -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc"
> >> > make
> >> > make test
> >
> >
> > Please be so kind to repeat the same, adding the option --nocatchstderr
> > to "perl Makefile.PL":
> >
> > perl Makefile.PL --nocatchstderr
> > --libs="-L/usr/local/mysql/lib -lmysqlclient
> > -lposix4 -lcrypt -lgen -lsocket -lnsl -lm
> > -L/usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3 -lgcc"
> > make
> > make test
> >
> >
> > Jochen
> >
> >
> > P.S: Rudy, please be so kind to release a version 2.9003 with the
> > bugfix in myld
> >

Ok. I'll do that after work today -- I have a few more bug fixes that are
ready go to go up also, and I have just been procrastinating wrt to
acutally doing the release.


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@m .gmane.org

Re: DBD::MYSQL make test failure

am 12.09.2003 08:26:27 von Dan Temple

I just installed the 32-bit Solaris binary of MySQL instead - problem
solved. (No options needed on Makefile.PL either).

Thanks for the help.

/Dan

Jochen Wiedmann wrote:
> Dan Temple wrote:
>
>> ld: warning: file /usr/local/mysql/lib/libmysqlclient.a(libmysql.o):
>> wrong ELF class: ELFCLASS64
>
>
> I would assume that means that your MySQL is compiled as a 64bit binary,
> but Perl is compiled as 32bit, thus interoperable. Recompiling Perl as
> a 64bit binary *or* recompiling the MySQL client libraries (not necessarily
> the server, there's a configure option --without-server or so) as 32 bit
> should do.
>
>
> Jochen
>
>
>


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org

Re: DBD::MYSQL make test failure

am 12.09.2003 08:26:27 von Dan Temple

I just installed the 32-bit Solaris binary of MySQL instead - problem
solved. (No options needed on Makefile.PL either).

Thanks for the help.

/Dan

Jochen Wiedmann wrote:
> Dan Temple wrote:
>
>> ld: warning: file /usr/local/mysql/lib/libmysqlclient.a(libmysql.o):
>> wrong ELF class: ELFCLASS64
>
>
> I would assume that means that your MySQL is compiled as a 64bit binary,
> but Perl is compiled as 32bit, thus interoperable. Recompiling Perl as
> a 64bit binary *or* recompiling the MySQL client libraries (not necessarily
> the server, there's a configure option --without-server or so) as 32 bit
> should do.
>
>
> Jochen
>
>
>


--
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe: http://lists.mysql.com/perl?unsub=gcdmp-msql-mysql-modules@m .gmane.org