<br><br><div class="gmail_quote">On Thu, Mar 25, 2010 at 9:36 PM, John Toohey <span dir="ltr">&lt;<a href="mailto:jt@parspro.com">jt@parspro.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Yep, found them, had set my lib path to /usr/local/opendbx/lib. However, now I have :-<div><div>ioLoadModule(/usr/local/lib/libopendbx.so):</div><div><br></div><div>  /usr/local/lib/libopendbx.so: wrong ELF class: ELFCLASS64</div>

<div><br></div><div>when I access the DB from Pharo. Seems to be a 64/32 issue, </div></div></blockquote><div><br>yes, it is about that.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div>but adding CFLAGS=&quot;-m32&quot; to my env, and then doing ./configure, give me an error that the compiler cannot create an executable.</div>
<div><br></div><div>I&#39;m writing all this down, as some issues, like the requirement to have g++ installed,</div></div></blockquote><div><br>This is actually not true. It depends how you are installing OpenDBX. If you want to compile, then of course it is needed. But you can use OpenDBX binaries files instead. In Windows you can use directly the dlls and in Linux you can use the .deb or .rpm as it is explained here:<br>
<a href="http://www.squeakdbx.org/Compiling%20and%20installing%20OpenDBX">http://www.squeakdbx.org/Compiling%20and%20installing%20OpenDBX</a><br>I don&#39;t know how to do it in MacOS, thus.<br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div> and passing --disable-utils should be part of the docs. </div></div></blockquote><div><br>We consider that  --disable-utils is not a SqueakDBX problem, but OpenDBX. And that&#39;s why ( I did it myself ) added <br>
<br><a href="http://www.linuxnetworks.de/doc/index.php/OpenDBX/Setup/Common_problems">http://www.linuxnetworks.de/doc/index.php/OpenDBX/Setup/Common_problems</a><br><br>For the moment, I only found this problem in Windows, and hence it is explained in the Windows compiling:<br>
<br>Look for example for PostgreSQL in Windows:<br><br><a href="http://www.squeakdbx.org/PostgreSQL%20for%20Win">http://www.squeakdbx.org/PostgreSQL%20for%20Win</a><br><br>And here:<br><br><a href="http://www.linuxnetworks.de/doc/index.php/OpenDBX/Setup/Manual_builds#Without_utilities">http://www.linuxnetworks.de/doc/index.php/OpenDBX/Setup/Manual_builds#Without_utilities</a><br>
<br>Now...what would be great is to make it by default disable. I will ask this to OpenDBX author.   <br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div>Maybe when I am done, and all tests are green, I can write up OSX and Linux with Pharo RC3 as a FAQ. Most of this is available on the site, but some specific examples might help people also.</div><div><div></div>
<div class="h5">
<div><br></div></div></div></div></blockquote><div><br>Yes, please! we will really appreciate that.<br><br>Cheers<br><br>Mariano <br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div><div class="h5"><div></div><br><div class="gmail_quote">On Thu, Mar 25, 2010 at 16:43, John Toohey <span dir="ltr">&lt;<a href="mailto:jt@parspro.com" target="_blank">jt@parspro.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

I set OpenDBX current: nil, and now it uses the Linux driver, but have the Unable to FInd Function Address error. According to the docs, the library should be called libopendbx.so, but after building and installing on my system, I have libpgsqlbackend.so, and no file called libopendbx.so.<div>

<div><div></div><div>
<br><br><div class="gmail_quote">On Thu, Mar 25, 2010 at 16:20, John Toohey <span dir="ltr">&lt;<a href="mailto:jt@parspro.com" target="_blank">jt@parspro.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


Hi,<div>I just deployed my test image, after testing on OSX, to a Linux production server, but the DBX drivers still think they are on OSX. In #createConnection, OpenDBX current returns the OSX driver. What is the best way to reset this, and can I do it in a running image.<br clear="all">



<br>-- <br>-JT<br><br><br>
</div>
</blockquote></div><br><br clear="all"><br></div></div>-- <br>-JT<br><br><br>
</div>
</blockquote></div><br><br clear="all"><br></div></div>-- <br>-JT<br><br><br>
</div>
<br>_______________________________________________<br>
SqueakDBX mailing list<br>
<a href="mailto:SqueakDBX@lists.squeakfoundation.org">SqueakDBX@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/squeakdbx" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/squeakdbx</a><br>
<br></blockquote></div><br>