[SqueakDBX] Re: Problem deploying image from OSX to Linux

Mariano Martinez Peck marianopeck at gmail.com
Fri Mar 26 16:00:08 UTC 2010


On Fri, Mar 26, 2010 at 12:53 PM, John Toohey <jt at parspro.com> wrote:

> Docs update
>
> - This link bring me only to the main page,


weird...it works for me :(


> and also the link :-
>
> http://www.assembla.com/spaces/Proyecto-Proyecto/documents/cW1J8Mx40r3Rq-eJe5afGb/download/openDBXtutorial_v2.0.pdf
> gives an "invalid space" error.
>
>
Thanks for reporting. This has to be updated as all the information in that
pdf is the same we already put in

http://www.squeakdbx.org/Compiling%20for%20different%20backends

Ok...so...more things to update in the website for the weekend :(

I found the Snow Leopard link via the FAQ. Thanks.
>
>
Excellent.

Cheers

Mariano


> On Fri, Mar 26, 2010 at 03:50, Mariano Martinez Peck <
> marianopeck at gmail.com> wrote:
>
>>
>>
>> On Fri, Mar 26, 2010 at 2:00 AM, John Toohey <jt at parspro.com> wrote:
>>
>>> I give up, this is the third time in as many months, I've tried OpenDBX.
>>> Has anyone here managed to get this to work on a 64bit  Linux box, with a 32
>>> bit VM?
>>
>>
>> I don't have a 64 bits machine, so I never tested. Esteban did it, and
>> thus, I wrote his notes that time:
>>
>> http://www.squeakdbx.org/news/SqueakDBX%20in%20Snow%20Leopard%2064%20bits
>>
>> Hope this helps.
>>
>> Cheers
>>
>> Mariano
>>
>>
>>> I'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)
>>>
>>> Is there somewhere I can get pre-build 32 binaries that will work?
>>>
>>>
>>>
>>> On Thu, Mar 25, 2010 at 20:36, John Toohey <jt at parspro.com> wrote:
>>>
>>>> Yep, found them, had set my lib path to /usr/local/opendbx/lib. However,
>>>> now I have :-
>>>> ioLoadModule(/usr/local/lib/libopendbx.so):
>>>>
>>>>   /usr/local/lib/libopendbx.so: wrong ELF class: ELFCLASS64
>>>>
>>>> when I access the DB from Pharo. Seems to be a 64/32 issue, but adding
>>>> CFLAGS="-m32" to my env, and then doing ./configure, give me an error that
>>>> the compiler cannot create an executable.
>>>>
>>>> I'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.
>>>>
>>>>
>>>> On Thu, Mar 25, 2010 at 16:43, John Toohey <jt at parspro.com> wrote:
>>>>
>>>>> 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.
>>>>>
>>>>>
>>>>> On Thu, Mar 25, 2010 at 16:20, John Toohey <jt at parspro.com> wrote:
>>>>>
>>>>>> Hi,
>>>>>> 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.
>>>>>>
>>>>>> --
>>>>>> -JT
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> -JT
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> -JT
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> -JT
>>>
>>>
>>>
>>> _______________________________________________
>>> SqueakDBX mailing list
>>> SqueakDBX at lists.squeakfoundation.org
>>> http://lists.squeakfoundation.org/mailman/listinfo/squeakdbx
>>>
>>>
>>
>> _______________________________________________
>> SqueakDBX mailing list
>> SqueakDBX at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/mailman/listinfo/squeakdbx
>>
>>
>
>
> --
> -JT
>
>
>
> _______________________________________________
> SqueakDBX mailing list
> SqueakDBX at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/squeakdbx
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeakdbx/attachments/20100326/35315e62/attachment-0001.htm


More information about the SqueakDBX mailing list