Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What are the 32 bit libraries needed to run on a 64 bit arm linux machine? #43

Open
pdebruic opened this issue May 3, 2022 · 2 comments

Comments

@pdebruic
Copy link

pdebruic commented May 3, 2022

Hi -

I'm trying to see if the squeak linux ARM vm Smalltalk>>#highResClock works. The pharo one does not. So AndreasSystemProfiler doesn't work.

On the squeak.org website, downloads page, Advanced section (https://squeak.org/downloads/) there is this snippet:

Linux: Make sure that you have 32-bit libraries and X11 installed, and that the squeak.sh script is executable. 
Run the script with the image file as a parameter. 

But I cannot find which libraries are necessary on squeak.org. So installing them on this ubuntu 22.04 64bit arm VM is tricky.

@krono
Copy link
Member

krono commented May 3, 2022

Thansk for pointing this out.

The snippet is no longer correct.
It stems from the time when 32bit vm+image was predominant, even on x86_64.
But in particular for aarch64/armv8, this snippet is no longer correct.

The following is not a fix but, if at all, a workaround:
The script for preparing CI for the OpenSmalltalk-VM contains all dev-libraries necessary to build the VM: https://github.com/OpenSmalltalk/opensmalltalk-vm/blob/Cog/scripts/ci/actions_prepare_linux_arm.sh
Transitively, that installs all runtime libraries for the dev libraries.
This is definitively more than strictly necessary but should get you at least a working VM.

That said, we need:

  • An updated snippet on the website.
  • Maybe a list of necessary/recommended libs
  • For the VM: proper packages to better track deps.

@eliotmiranda
Copy link
Contributor

eliotmiranda commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants