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

John D Groenveld jdg117 at elvis.arl.psu.edu
Mon Jun 16 18:10:35 UTC 2014


In message <CAHBEJzXYkr3cv5oFNLy=YeFmCixdU2d6zWXM7-+4KnHQjBqkHw at mail.gmail.com>
, Natxo Asenjo writes:
>yes, I thought that at first, but I need that because otherwise I get this:
>
>ld: fatal: file dbdimp.o: wrong ELF class: ELFCLASS64
>ld: fatal: file processing errors. No output written to
>blib/arch/auto/DBD/mysql/mysql.so
>
>because:
>
># /usr/local/mysql/5.6/bin/mysql_config --cflags
>-I/usr/local/mysql/5.6/include  -m64  -fPIC -g -fabi-version=2
>-fno-omit-frame-pointer -fno-strict-aliasing

Rebuild your custom Perl with -m64 or install a set of 32-bit
MySQL libraries to which you can link your 32-bit DBD::mysql.

John
groenveld at acm.org


More information about the OmniOS-discuss mailing list