newbie question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

newbie question

Gemstone/S mailing list
I am a newbie that is trying to leave the java/scala world and switch to smalltalk. so bear with me.

I installed GsDevKit_home and tode without issue.
I can start tode and testLogin, but it fails with the following trace:


Error running testLogin:
    The gci library 'libgcirpc-3.4.3-32' for GemStone version '3.4.3'
    was not found in the expected location '/media/smalltalk/GsDevKit_home/dev/clients/tode3/pharo-vm/'.
    Please double check that the GemStone version is correct.
    It may be necessary to download a copy of 'libgcirpc-3.4.3-32' for
    Linux. Use `$GS_HOME/bin/downloadGemStone 3.4.3`.


here is the content of the pharo-vm:

ls /media/smalltalk/GsDevKit_home/dev/clients/tode3/pharo-vm/
libB3DAcceleratorPlugin.so  libgcits-3.4.3-32.so         libRePlugin.so        pharo             vm-sound-null
libfloss-3.4.3-32.so        libgit2.so.0.20.0            libSqueakFFIPrims.so  PharoV30.sources
libFT2Plugin.so             libInternetConfigPlugin.so   libSqueakSSL.so       vm-display-null
libgbjgci313-3.4.3-32.so    libJPEGReaderPlugin.so       libssh2.so.1.0.1      vm-display-X11
libgcirpc-3.4.3-32.so       libJPEGReadWriter2Plugin.so  __MACOSX              vm-sound-ALSA

As you can see, the is in there: libgcirpc-3.4.3-32.so

Any idea?

Thanks.

_______________________________________________
GemStone-Smalltalk mailing list
[hidden email]
https://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: newbie question

Gemstone/S mailing list

Hello emeka,

The error message you are seeing is the result of an 'External module not found' in the Pharo client vm, when it is trying to load the library libgcirpc-3.4.3-32.so. More often than not, that message comes up when the target library is missing (thus the suggestions). In your case something a bit more mysterious is going on and it has to do with Pharo not being able to load the gci file. for some other reason that the file not being present...

Here's a full listing of the pharo-vm directory in my tode client for 3.4.3:

rogue:pharo-vm>ls -altr *3.4.3*
lrwxrwxrwx 1 dhenrich smalltalk       21 Feb  6  2019 libgcirpc-3.4.3_e-32.so -> libgcirpc-3.4.3-32.so
-r-xr-xr-x 1 dhenrich smalltalk   203569 Feb  8  2019 libgbjgci313-3.4.3-32.so
-r-xr-xr-x 1 dhenrich smalltalk  4593429 Feb  8  2019 libfloss-3.4.3-32.so
-r-xr-xr-x 1 dhenrich smalltalk 10126159 Feb  8  2019 libgcirpc-3.4.3-32.so
-r-xr-xr-x 1 dhenrich smalltalk  9032014 Feb  8  2019 libgcits-3.4.3-32.so

If you look at the full listing in your directory, the file sizes should all match...

As a secondary check, here is the listing of the product directory where the files should have been copied from:

rogue:_home>ls -l $GS_HOME/shared/downloads/products/*3.4.3*/lib32
/home/dhenrich/rogue/_homes/rogue/_home/shared/downloads/products/GemStone64Bit3.4.3-x86_64.Linux/lib32:
total 23464
-rw-r--r-- 1 dhenrich smalltalk    55305 Dec 11  2018 gcirtlobj.o
-rwxr-xr-x 1 dhenrich smalltalk  4593429 Dec 11  2018 libfloss-3.4.3-32.so
-rwxr-xr-x 1 dhenrich smalltalk   203569 Dec 11  2018 libgbjgci313-3.4.3-32.so
-rwxr-xr-x 1 dhenrich smalltalk 10126159 Dec 11  2018 libgcirpc-3.4.3-32.so
-rwxr-xr-x 1 dhenrich smalltalk  9032014 Dec 11  2018 libgcits-3.4.3-32.so
drwxr-xr-x 2 dhenrich smalltalk     4096 Dec 11  2018 slow

So a listing of your product directory would also be useful for comparison ... and we'll move forward from there.

Dale


On 3/29/20 4:56 AM, emeka okafor via GemStone-Smalltalk wrote:
I am a newbie that is trying to leave the java/scala world and switch to smalltalk. so bear with me.

I installed GsDevKit_home and tode without issue.
I can start tode and testLogin, but it fails with the following trace:


Error running testLogin:
    The gci library 'libgcirpc-3.4.3-32' for GemStone version '3.4.3'
    was not found in the expected location '/media/smalltalk/GsDevKit_home/dev/clients/tode3/pharo-vm/'.
    Please double check that the GemStone version is correct.
    It may be necessary to download a copy of 'libgcirpc-3.4.3-32' for
    Linux. Use `$GS_HOME/bin/downloadGemStone 3.4.3`.


here is the content of the pharo-vm:

ls /media/smalltalk/GsDevKit_home/dev/clients/tode3/pharo-vm/
libB3DAcceleratorPlugin.so  libgcits-3.4.3-32.so         libRePlugin.so        pharo             vm-sound-null
libfloss-3.4.3-32.so        libgit2.so.0.20.0            libSqueakFFIPrims.so  PharoV30.sources
libFT2Plugin.so             libInternetConfigPlugin.so   libSqueakSSL.so       vm-display-null
libgbjgci313-3.4.3-32.so    libJPEGReaderPlugin.so       libssh2.so.1.0.1      vm-display-X11
libgcirpc-3.4.3-32.so       libJPEGReadWriter2Plugin.so  __MACOSX              vm-sound-ALSA

As you can see, the is in there: libgcirpc-3.4.3-32.so

Any idea?

Thanks.

_______________________________________________
GemStone-Smalltalk mailing list
[hidden email]
https://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk

_______________________________________________
GemStone-Smalltalk mailing list
[hidden email]
https://lists.gemtalksystems.com/mailman/listinfo/gemstone-smalltalk