[OmniOS-discuss] trouble building DBD::mysql (perl)

Natxo Asenjo natxo.asenjo at gmail.com
Wed Jun 18 20:48:43 UTC 2014


On Tue, Jun 17, 2014 at 8:17 PM, Natxo Asenjo <natxo.asenjo at gmail.com>
wrote:

> hi,
>
> following on this saga, with perlbrew I got it installed but:
>
> # perl -MDBD::mysql -e 1
> Can't load
> '/opt/perl5//perls/perl-5.20.0/lib/site_perl/5.20.0/i86pc-solaris-thread-multi-64/auto/DBD/mysql/mysql.so'
> for module DBD::mysql: ld.so.1: perl: fatal: relocation error: file
> /usr/local/mysql/5.6/lib/libmysqlclient.so.18: symbol __gxx_personality_v0:
> referenced symbol not found at
> /opt/perl5//perls/perl-5.20.0/lib/5.20.0/i86pc-solaris-thread-multi-64/DynaLoader.pm
> line 193.
>  at -e line 0.
> Compilation failed in require.
> BEGIN failed--compilation aborted.
>
>
I have this other problem when using the system perl and the mysql-55
package from ms.omniti (it builds and compiles ok, though):


# perl -MDBD::mysql
Can't load
'/usr/perl5/site_perl/5.16.1/i86pc-solaris-thread-multi-64int/auto/DBD/mysql/mysql.so'
for module DBD::mysql: ld.so.1: perl: fatal:
/usr/perl5/site_perl/5.16.1/i86pc-solaris-thread-multi-64int/auto/DBD/mysql/mysql.so:
wrong ELF class: ELFCLASS64 at
/usr/perl5/5.16.1/lib/i86pc-solaris-thread-multi-64int/DynaLoader.pm line
190.
 at - line 0.

Is there a 64bit system perl? I do not see it in /usr/bin/amd64/perl like
for python2.6.

Thanks!

-- 
groet,
natxo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20140618/7a3cefa6/attachment.html>


More information about the OmniOS-discuss mailing list