`<div dir="ltr"><div><br></div>Hi John,<br><br><div><div class="gmail_extra"><div class="gmail_quote">On Mon, Jun 16, 2014 at 7:57 PM, John D Groenveld <span dir="ltr"><<a href="mailto:jdg117@elvis.arl.psu.edu" target="_blank">jdg117@elvis.arl.psu.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">In message <<a href="mailto:CAHBEJzXP2E%2BuBAv6forfSdmiuK_F1ahn8bvF9pY1QOKZdv5v-w@mail.gmail.com">CAHBEJzXP2E+uBAv6forfSdmiuK_F1ahn8bvF9pY1QOKZdv5v-w@mail.gmail.com</a>><br>
<div class="">, Natxo Asenjo writes:<br>
># perl Makefile.PL --mysql_config=/usr/local/mysql/5.6/bin/mysql_config<br>
>--cflags="-m32"<br>
</div>[snipped]<br>
<div class="">>I will use the following settings for compiling and testing:<br>
><br>
> cflags (User's choice) = -m32<br>
<br>
</div>My WAG is that your --cflags is overriding "mysql_config --cflags".<br>
Remove yours.<br>
<br></blockquote><div><br></div><div>yes, I thought that at first, but I need that because otherwise I get this:<br><br>ld: fatal: file dbdimp.o: wrong ELF class: ELFCLASS64<br>ld: fatal: file processing errors. No output written to blib/arch/auto/DBD/mysql/mysql.so<br>
<br></div><div>because:<br><br># /usr/local/mysql/5.6/bin/mysql_config --cflags<br>-I/usr/local/mysql/5.6/include -m64 -fPIC -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing<br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Happy hacking,<br></blockquote><div><br></div><div>I try to ;-)<br></div></div><br></div><div class="gmail_extra">Thanks,<br><br>-- <br></div><div class="gmail_extra">groet,<br></div><div class="gmail_extra">natxo<br></div>
</div></div>
`