I need to open a 32-bit image on my new 64-bit laptop running Ubuntu 22.04 64-bit. I've relied on this great technique and script for the last few years to identify the required packages.
https://milanvavra.wordpress.com/2017/02/27/squeak-5-1-32bit-installation-on...
For my 22.04, it identifies:
libc6-i386 libc6:i386 libgl1:i386
of which I installed all. Unfortunately, Squeak is still reporting the following error message when attempting to launch the image: ____ ./Squeak6.0-22104-32bit-202206021410-Linux-x86/bin/squeak ./Squeak6.0-22104-32bit-202206021410-Linux-x86/shared/Squeak6.0-22104-32bit.image vm-display-X11 tryLoading /home/cmm/Chris/dev/Squeak/Squeak6.0-22104-32bit-202206021410-Linux-x86/bin/vm-display-X11.so: dlopen: libXrender.so.1: cannot open shared object file: No such file or directory could not find display driver vm-display-X11; either: - check that /home/cmm/Chris/dev/Squeak/Squeak6.0-22104-32bit-202206021410-Linux-x86/bin//vm-display-X11.so exists, or - use the '-plugins <path>' option to tell me where it is, or - remove DISPLAY from your environment. Aborted (core dumped) ____
Any ideas? Has anyone else been able to get Squeak 6.0 32-bit running on an x86_64 machine?
thanks.
Hi,
So ldd is your friend here.
ldd vm-display-X11/.libs/vm-display-X11.so
or where ever it is in your installation and you will get a list of required libraries for that shared library.
We now want libXrender.so, and an
apt search libXrender
shows that I have installed libxrender-dev. There is a i386 version of this as well.
If you do not want the extra disk space for the -dev version the package is confusingly named
libxrender1
So installing the i386 version of that will get past this error message.
But any shared libraries that ldd shows as not being found will need to be installed before squeak will start.
cheers
bruce
On 2022-08-26T07:05:11.000+02:00, Chris Muller ma.chris.m@gmail.com wrote:
I need to open a 32-bit image on my new 64-bit laptop running Ubuntu 22.04 64-bit. I've relied on this great technique and script for the last few years to identify the required packages. https://milanvavra.wordpress.com/2017/02/27/squeak-5-1-32bit-installation-on... For my 22.04, it identifies: libc6-i386 libc6:i386 libgl1:i386 of which I installed all. Unfortunately, Squeak is still reporting the following error message when attempting to launch the image: ____ ./Squeak6.0-22104-32bit-202206021410-Linux-x86/bin/squeak ./Squeak6.0-22104-32bit-202206021410-Linux-x86/shared/Squeak6.0-22104-32bit.image vm-display-X11 tryLoading /home/cmm/Chris/dev/Squeak/Squeak6.0-22104-32bit-202206021410-Linux-x86/bin/vm-display-X11.so [http://vm-display-X11.so%5D:%C2%A0dlopen:%C2%A0libXrender.so.1 [http://libXrender.so.1%5D:%C2%A0cannot%C2%A0open%C2%A0shared%C2%A0object%C2%... file or directory could not find display driver vm-display-X11; either: - check that /home/cmm/Chris/dev/Squeak/Squeak6.0-22104-32bit-202206021410-Linux-x86/bin//vm-display-X11.so [http://vm-display-X11.so%5D%C2%A0exists,%C2%A0or - use the '-plugins <path>' option to tell me where it is, or - remove DISPLAY from your environment. Aborted (core dumped) ____ Any ideas? Has anyone else been able to get Squeak 6.0 32-bit running on an x86_64 machine? thanks. -------------------------
squeak-dev@lists.squeakfoundation.org