I forgot to said that the 64 bits questions was also in the FAQ:<br><br><a href="http://www.squeakdbx.org/FAQ">http://www.squeakdbx.org/FAQ</a><br><br>So I guess that you may already read it so it wouldn&#39;t help with the other link. <br>
<br><div class="gmail_quote">On Fri, Mar 26, 2010 at 4:50 AM, Mariano Martinez Peck <span dir="ltr">&lt;<a href="mailto:marianopeck@gmail.com">marianopeck@gmail.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;">
<br><br><div class="gmail_quote"><div class="im">On Fri, Mar 26, 2010 at 2:00 AM, 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 give up, this is the third time in as many months, I&#39;ve tried OpenDBX. Has anyone here managed to get this to work on a 64bit  Linux box, with a 32 bit VM?</blockquote></div><div><br>I don&#39;t have a 64 bits machine, so I never tested. Esteban did it, and thus, I wrote his notes that time:<br>

<br><a href="http://www.squeakdbx.org/news/SqueakDBX%20in%20Snow%20Leopard%2064%20bits" target="_blank">http://www.squeakdbx.org/news/SqueakDBX%20in%20Snow%20Leopard%2064%20bits</a><br><br>Hope this helps.<br><br>Cheers<br>
<font color="#888888"><br>Mariano<br>
 </font></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><div class="h5"> I&#39;ve added CFLAGS=-m32 and CXXFLAGS=-m32, LDEMULATION=i385, and ./configure --build=i366, but I still get 64 bits drivers. (These are production servers, so I cannot change them to 32 bit)<div>


<br></div><div><div>Is there somewhere I can get pre-build 32 binaries that will work?</div><div><br></div><div><br></div><div><div><div></div><div><br><div class="gmail_quote">On Thu, Mar 25, 2010 at 20:36, 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;">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, 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, and passing --disable-utils should be part of the docs. 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>
<div><br></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>
</blockquote></div><br><br clear="all"><br></div></div>-- <br>-JT<br><br><br>
</div></div>
<br></div></div><div class="im">_______________________________________________<br>
SqueakDBX mailing list<br>
<a href="mailto:SqueakDBX@lists.squeakfoundation.org" target="_blank">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></div></blockquote></div><br>
</blockquote></div><br>