GP in GNU/Linux 64b

Setup, what to try first, tutorials

Moderator: MSandro

Post Reply
bromagosa
Posts: 33
Joined: Sep 15th, '15, 07:11

GP in GNU/Linux 64b

Post by bromagosa » Oct 20th, '15, 13:02

I've just been given a new 64b computer at work and I can't seem to get GP to fire up:

Code: Select all

bromagosa@edutec [ ~/GP/GP-alpha-041 ] %./gp
./gp: 12: ./gp: runtime/linux_gp: not found
This is what happens if I try to run linux_gp straight away:

Code: Select all

bromagosa@edutec [ ~/GP/GP-alpha-041/runtime ] %./linux_gp 
zsh: command not found: ./linux_gp
Any pointers?

bromagosa
Posts: 33
Joined: Sep 15th, '15, 07:11

Re: GP in GNU/Linux 64b

Post by bromagosa » Oct 21st, '15, 12:07

I've worked this out, luckily I've just been given this laptop with a fresh Debian install and I practically had nothing installed in it, so these should be universal steps:

Code: Select all

# dpkg --add-architecture i386
# apt-get update
# apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 libpangocairo-1.0-0:i386 libasound2:i386
That should be all!

JohnM
Posts: 359
Joined: Sep 11th, '15, 14:42

Re: GP in GNU/Linux 64b

Post by JohnM » Oct 27th, '15, 20:11

Thanks for posting the solution to this problem.

We are currently distributing only 32-bit versions of GP for all platforms since that is the most "universal" (i.e. the 32-bit version works on both 32-bit and 64-bit machines). Many 64-bit machines come with 32-bit libraries installed by default, but apparently your new 64-bit Linux machine did not. It's good to know how to get the 32-bit libraries if you don't already have them.

JohnM
Posts: 359
Joined: Sep 11th, '15, 14:42

Re: GP in GNU/Linux 64b

Post by JohnM » Dec 14th, '15, 11:26

The following set of commands worked for me on a different 64-bit Linux system:

Code: Select all

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install gcc-multilib libpangocairo-1.0-0:i386 libasound2:i386
I'm not a Linux expert, but I think gcc-multilib includes libc6:i386, libncurses5:i386, and libstdc++6:i386.

Post Reply