Score:2

How to install libg2c.so.0 on Ubuntu 18.04 64bit

at flag

I'm using:

Linux ip-172-31-28-209 5.4.0-1059-aws #62~18.04.1-Ubuntu SMP Fri Oct 22 21:51:38 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

I encounter an error while running a program:

while loading shared libraries: libg2c.so.0: wrong ELF class: ELFCLASS32

How can I resolve it?

I looked at this post, but it's for 32bit version of Ubuntu.

Score:3
zw flag

Even after 13 years this 64-bit library can be installed by direct download using commands below:

cd ~/Downloads
wget -c https://old-releases.ubuntu.com/ubuntu/pool/universe/g/gcc-3.4/gcc-3.4-base_3.4.6-6ubuntu3_amd64.deb
wget -c https://old-releases.ubuntu.com/ubuntu/pool/universe/g/gcc-3.4/libg2c0_3.4.6-6ubuntu3_amd64.deb
sudo apt-get install ./gcc-3.4-base_3.4.6-6ubuntu3_amd64.deb ./libg2c0_3.4.6-6ubuntu3_amd64.deb
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.