Jump to content


ubuntu 32 and 64


  • Please log in to reply
3 replies to this topic

#1 OFFLINE   Manitoban

Manitoban

    Post Master

  • Members
  • PipPipPipPip
  • 224 posts

Posted 22 June 2012 - 09:38 AM

I have a small program which I am testing for a friend. It is written in Basic on a 32 bit machine.  There are two versions; one written for windows, and the other for linux.  In ubuntu32 the windows version runs under wine, and the linux version runs correctly as well.  I have windows 7 and ubuntu64 on a different machine.  The windows version of of the program runs in ubuntu64 under wine, but the linux version will not run. The windows version runs under Windows7 as well.  Using the terminal in ubuntu, I am told that "error loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: no such file or directory".

I have found the file quoted above in the directory /usr/lib/x86_64-linux-gnu/  so it is not missing.

I assume this is a 32/64 bit problem.  Is there a fix short of getting rid of ubuntu64 and installing ubuntu32?

#2 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 12,841 posts

Posted 22 June 2012 - 09:59 AM

You need to install the multlib package:
sudo apt-get install ia32-libs-gtk

Posted ImagePosted Image
Posted Image π
Comhack.com/CNI Radio/Linux User #363317/G+/Configs

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984

#3 OFFLINE   Manitoban

Manitoban

    Post Master

  • Members
  • PipPipPipPip
  • 224 posts

Posted 22 June 2012 - 03:54 PM

Securitybreach
Thanks for the prompt answer.  I am pleased to say it worked!!!

I have always been grateful for the help I can get on this forum.  this is another occasion of the same.
Question:
    How on earth do you manage to find all these elusive answers?  99 people out of a hundred wouldn't even know where to begin.

#4 OFFLINE   securitybreach

securitybreach

    CLI Phreak

  • Forum Admins
  • 12,841 posts

Posted 23 June 2012 - 01:29 AM

View PostManitoban, on 22 June 2012 - 03:54 PM, said:

Securitybreach
Thanks for the prompt answer.  I am pleased to say it worked!!!

I have always been grateful for the help I can get on this forum.  this is another occasion of the same.
Question:
How on earth do you manage to find all these elusive answers?  99 people out of a hundred wouldn't even know where to begin.

No problem :thumbsup:

I guess I just have strong Google FU or maybe it is because I have been running Linux for almost a decade, who knows. B)

A lot of the times, I have went through the same issues or similar issues. For instance, this time I knew that sometimes you need multilib versions of libraries (lib32) when you are running x86_64 as some do not have a pure x86_64 port.

Also, you can usually just search for the error with the distro or just linux by itself. I kind of figured what the issue was but I went ahead and searched anyway. So I just simply searched for:

Quote

ubuntu + error loading shared libraries: libgtk-x11-2.0.so.0

on Google and the first link gave me the answer:
ubuntu error loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: no such file or directory

Glad I could help.... :thumbsup:


B)
Posted ImagePosted Image
Posted Image π
Comhack.com/CNI Radio/Linux User #363317/G+/Configs

"Do you begin to see, then, what kind of world we are creating? It is the exact opposite of the stupid hedonistic Utopias that the old reformers imagined. A world of fear and treachery and torment, a world of trampling and being trampled upon, a world which will grow not less but more merciless as it refines itself. Progress in our world will be progress toward more pain." -George Orwell, 1984




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users