Re: error on DBI-Mysql for Perl

Re: error on DBI-Mysql for Perl

am 28.10.2003 07:09:07 von Jochen Wiedmann

John Fu wrote:

> /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBD/m ysql/mysql.so:
> symbol uncompress: referenced symbol not found at
> /usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line 229.

Most probably this indicates that you need an additional library to link
against. Have no idea, what library contains "uncompress". Perhaps you can
ask on some solaris related mailing list. Or someone on this list knows
how to query for the symbols that a given library contains.


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: error on DBI-Mysql for Perl

am 28.10.2003 07:09:07 von Jochen Wiedmann

John Fu wrote:

> /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBD/m ysql/mysql.so:
> symbol uncompress: referenced symbol not found at
> /usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line 229.

Most probably this indicates that you need an additional library to link
against. Have no idea, what library contains "uncompress". Perhaps you can
ask on some solaris related mailing list. Or someone on this list knows
how to query for the symbols that a given library contains.


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

error on DBI-Mysql for Perl

am 28.10.2003 11:28:21 von John Fu

OS version : solaris (sparc) 5.8
Mysql version : 3.23.53 from sunfreeware
Perl version : 5.8.0 from sunfreeware
DBI version : 1.38 from cpan
DBD-Mysql version : 2.9003 from cpan

error message:
install_driver(mysql) failed: Can't load
'/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBD/ mysql/mysql.so'
for module DBD::mysql: ld.so.1: /usr/local/bin/perl: fatal: relocation
error: file
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBD/m ysql/mysql.so:
symbol uncompress: referenced symbol not found at
/usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line 229.
at (eval 2) line 3
Compilation failed in require at (eval 2) line 3.
Perhaps a required shared library or dll isn't installed where expected
at create_library.pl line 34

ll /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBD/m ysql/mysql.so
-r-xr-xr-x 1 root other 198256 Oct 27 19:16
/usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBD/m ysql/mysql.so

It is simalar with "KNOWN PROBLEMS" (3), but not exactly same.
Although I have tried the solution for (3), it doesnot work.

Please help me solve this problem.

Thanks.
John


--
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: error on DBI-Mysql for Perl

am 29.10.2003 06:13:44 von Jim Cromie

Jochen Wiedmann wrote:

> John Fu wrote:
>
>> /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBD/m ysql/mysql.so:
>> symbol uncompress: referenced symbol not found at
>> /usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line 229.
>
>
> Most probably this indicates that you need an additional library to link
> against. Have no idea, what library contains "uncompress". Perhaps you
> can
> ask on some solaris related mailing list. Or someone on this list knows
> how to query for the symbols that a given library contains.
>
>
> Jochen
>
>
>
heres a start:

cd /lib
perl -e 'for () { $a=`nm $_ | grep uncompress `; $? or print
"$_\n" }'

repeat in /usr/lib

there are several uncompress that this finds, some of which are
obviously not right.


--
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: error on DBI-Mysql for Perl

am 29.10.2003 06:13:44 von Jim Cromie

Jochen Wiedmann wrote:

> John Fu wrote:
>
>> /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/DBD/m ysql/mysql.so:
>> symbol uncompress: referenced symbol not found at
>> /usr/local/lib/perl5/5.8.0/sun4-solaris/DynaLoader.pm line 229.
>
>
> Most probably this indicates that you need an additional library to link
> against. Have no idea, what library contains "uncompress". Perhaps you
> can
> ask on some solaris related mailing list. Or someone on this list knows
> how to query for the symbols that a given library contains.
>
>
> Jochen
>
>
>
heres a start:

cd /lib
perl -e 'for () { $a=`nm $_ | grep uncompress `; $? or print
"$_\n" }'

repeat in /usr/lib

there are several uncompress that this finds, some of which are
obviously not right.


--
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