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

Hugh McIntyre lists at mcintyreweb.com
Wed Jun 18 16:27:19 UTC 2014


C++/C issue maybe?  See 
http://stackoverflow.com/questions/203548/undefined-symbol-gxx-personality-v0-on-link.

Or, for example, you could try the one of the following fixes from a 
related case, depending on whether the code is supposed to be C++ or C: 
https://github.com/goccy/p5-Compiler-Lexer/issues/28#issuecomment-40294865 
or 
https://github.com/goccy/p5-Compiler-Lexer/issues/28#issuecomment-40281980.

Hugh.


On 6/17/14 11:17 AM, Natxo Asenjo 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.
>
> Does this ring a bell, anyone?
>
> Thanks!
>
>
>
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>



More information about the OmniOS-discuss mailing list