I have a most peculiar problem. I've been using Pierce Ng’s PasswordCrypt encryption package with Pharo 5. Now that I'm using Pharo 6, it doesn't seem to work anymore. The ffiCall:module: message always gives me "External module not found". So my question is, what alternative package can I use to replace the it for Pharo 6? Should I go back to Pharo 5? |
i've seen that error when i forgot to put a link to sqlite3 (libsqlite3.so) near the VM. are you sure that the VM have access to the external library? On Sat, Nov 17, 2018 at 7:39 PM Richard Kenneth Eng <[hidden email]> wrote:
Bernardo E.C. Sent from a cheap desktop computer in South America. |
That's what I'm trying to determine. This used to work before with Pharo 5.
With the latest Pharo setup, it's not clear where I'm supposed to place the libshacrypt.so file. It has to be located where the Pharo VM can find it, I presume. This may be a 32 vs 64 bit issue. I am investigating... vonbecmann wrote > i've seen that error when i forgot to put a link to sqlite3 > (libsqlite3.so) > near the VM. are you sure that the VM have access to the external library? > > > > On Sat, Nov 17, 2018 at 7:39 PM Richard Kenneth Eng < > horrido.hobbies@ >> wrote: > >> I have a most peculiar problem. I've been using Pierce Ng’s PasswordCrypt >> <http://www.samadhiweb.com/blog/2017.02.18.shacrypt.html> >> encryption >> package with Pharo 5. Now that I'm using Pharo 6, it doesn't seem to work >> anymore. The ffiCall:module: message always gives me "External module >> not found". >> >> So my question is, what alternative package can I use to replace the it >> for Pharo 6? >> >> Should I go back to Pharo 5? >> > > > -- > Bernardo E.C. > > Sent from a cheap desktop computer in South America. -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html |
horrido <[hidden email]> wrote:
> That's what I'm trying to determine. This used to work before with Pharo 5. > > With the latest Pharo setup, it's not clear where I'm supposed to place the > libshacrypt.so file. It has to be located where the Pharo VM can find it, I > presume. > > This may be a 32 vs 64 bit issue. I am investigating... Your old 32 bit .so will definitely not work with 64 bit. And does it work with Pharo 6.1? Stephan |
All is good now. I replaced my 64-bit Debian with 32-bit Debian. Then, I
installed 32-bit Pharo. It's weird that I must run Pharo (which is installed in /home/richard) as root, though. Must be a Debain thing 'cuz it wasn't necessary in Ubuntu. Stephan Eggermont-3 wrote > horrido < > horrido.hobbies@ > > wrote: >> That's what I'm trying to determine. This used to work before with Pharo >> 5. >> >> With the latest Pharo setup, it's not clear where I'm supposed to place >> the >> libshacrypt.so file. It has to be located where the Pharo VM can find it, >> I >> presume. >> >> This may be a 32 vs 64 bit issue. I am investigating... > > Your old 32 bit .so will definitely not work with 64 bit. And does it work > with Pharo 6.1? > > Stephan -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html |
In reply to this post by horrido
On Sat, Nov 17, 2018 at 05:38:28PM -0500, Richard Kenneth Eng wrote:
> I have a most peculiar problem. I've been using Pierce Ng’s PasswordCrypt > <http://www.samadhiweb.com/blog/2017.02.18.shacrypt.html> encryption > package with Pharo 5. Now that I'm using Pharo 6, it doesn't seem to work > anymore. The ffiCall:module: message always gives me "External module > not found". I use the library myself on 32-bit Pharo 6, so it works, for me at least. For custom so/dll files such as this library or my custom-built SQLite library, my practice is to place them into the VM directory where the Pharo executable and all its bundled so/dll files are. Then I run following script to start Pharo: #!/bin/sh PHAROVMPATH=$(dirname `readlink -f "$0"`) LD_LIBRARY_PATH="$PHAROVMPATH" exec "$PHAROVMPATH/pharo" $@ & Pierce |
Free forum by Nabble | Edit this page |