Hi all,
I'm just trying the one-click image on amd64 Ubuntu (oddly, I've never used it... I've always built my own images) but for some reason I'm having trouble getting it to load the right libraries. I run it, but I get "unable to find function address" when it tries to FFI out to GciInit.
There's probably something silly I'm forgetting here... anyone willing to remind me? --chris
|
Do you have another squeak/pharo vm that is on your machine that running the image instead of the one click vm?
I somehow got that happening to me once so it couldnt find the correct FFI library.
Cant remember how I corrected... i think i went the brute force method of trashing to other vm.
On Mon, Nov 8, 2010 at 4:06 PM, Chris Curtis <[hidden email]> wrote: Hi all, |
No, this is my first attempt at using GemTools on Linux, with the one-click image or otherwise. (I prefer to develop on Mac normally.) --chris
|
So you have no other squeak vm on the machine?
On Mon, Nov 8, 2010 at 6:00 PM, Chris Curtis <[hidden email]> wrote:
|
Nope. It's a brand-new Ubuntu 10.10 64-bit install. The only things I've installed on it are ubuntu-desktop, VNC, Gemstone 2.4.4.1, and ia32-libs. And now trying to get GemTools working.
--chris
On Mon, Nov 8, 2010 at 7:02 PM, Sean Allen <[hidden email]> wrote: So you have no other squeak vm on the machine? |
Did you make sure you have the 2.4 not 2.3 Gemtools?
On Mon, Nov 8, 2010 at 7:14 PM, Chris Curtis <[hidden email]> wrote: Nope. It's a brand-new Ubuntu 10.10 64-bit install. The only things I've installed on it are ubuntu-desktop, VNC, Gemstone 2.4.4.1, and ia32-libs. And now trying to get GemTools working. |
Yup, it's the 244x one. It's just not loading the gci library for some reason. (I'm intentionally not trying to build a new install... I figure if the one-click doesn't work out of the box for me, there's something that needs fixing, even if just in documentation.) I wonder if there's a missing library dependency? I looked at the gciForLinux.so with ldd and it looked ok though. --chris
|
OK, so I finally got the library to load. The one-click image as-built
seems to have this wrong: gciForLinux.so needs to be in the Contents/Linux686 directory with the vm. (It's currently delivered in the GemTools-1.0-beta.8-244x.app/ base directory.) Note, btw, that this contradicts the documentation (at http://code.google.com/p/glassdb/wiki/GettingStartedWithGLASS) for *both* the pre-3.11-3 and post-3.11-3 squeak vms: * pre-3.11-3 should be <image and changes directory>/gciForLinux.so * 3.11-3 and later should be <vm directory>/so.gciForLinux where what *actually* seems to work (with the 3.10-3 vm packaged in the one-click zip) is: * <vm directory>/gciForLinux.so --chris On Mon, Nov 8, 2010 at 9:52 PM, Chris Curtis <[hidden email]> wrote: > > Yup, it's the 244x one. It's just not loading the gci library for some reason. > (I'm intentionally not trying to build a new install... I figure if the one-click doesn't work out of the box for me, there's something that needs fixing, even if just in documentation.) > I wonder if there's a missing library dependency? I looked at the gciForLinux.so with ldd and it looked ok though. > > --chris > On Nov 8, 2010, at 9:17 PM, Sean Allen <[hidden email]> wrote: > > Did you make sure you have the 2.4 not 2.3 Gemtools? > > On Mon, Nov 8, 2010 at 7:14 PM, Chris Curtis <[hidden email]> wrote: >> >> Nope. It's a brand-new Ubuntu 10.10 64-bit install. The only things I've installed on it are ubuntu-desktop, VNC, Gemstone 2.4.4.1, and ia32-libs. And now trying to get GemTools working. >> --chris >> >> On Mon, Nov 8, 2010 at 7:02 PM, Sean Allen <[hidden email]> wrote: >>> >>> So you have no other squeak vm on the machine? >>> >>> On Mon, Nov 8, 2010 at 6:00 PM, Chris Curtis <[hidden email]> wrote: >>>> >>>> No, this is my first attempt at using GemTools on Linux, with the one-click image or otherwise. (I prefer to develop on Mac normally.) >>>> >>>> --chris >>>> On Nov 8, 2010, at 5:31 PM, Sean Allen <[hidden email]> wrote: >>>> >>>> Do you have another squeak/pharo vm that is on your machine that running the image instead of the one click vm? >>>> I somehow got that happening to me once so it couldnt find the correct FFI library. >>>> Cant remember how I corrected... i think i went the brute force method of trashing to other vm. >>>> >>>> On Mon, Nov 8, 2010 at 4:06 PM, Chris Curtis <[hidden email]> wrote: >>>>> >>>>> Hi all, >>>>> I'm just trying the one-click image on amd64 Ubuntu (oddly, I've never used it... I've always built my own images) but for some reason I'm having trouble getting it to load the right libraries. I run it, but I get "unable to find function address" when it tries to FFI out to GciInit. >>>>> There's probably something silly I'm forgetting here... anyone willing to remind me? >>>>> --chris >>> >> > |
Free forum by Nabble | Edit this page |