Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Eclipse cannot open shared object libgtk-x11-2.0.so.0 on Ubuntu Feisty
Eclipse cannot open shared object libgtk-x11-2.0.so.0 on Ubuntu Feisty [message #37821] Sat, 21 July 2007 14:34 Go to next message
Eclipse UserFriend
Originally posted by: DKelly360.Comcast.net

Hello everybody!

I'm having a problem executing the eclipse from the site, it produces the
following error upon execution:

dan@dan-laptop:~$ '/home/dan/Desktop/eclipse/eclipse'
/home/dan/Desktop/eclipse/eclipse: error while loading shared libraries:
libgtk-x11-2.0.so.0: cannot open shared object file: No such file or
directory

My system:
Ubuntu 7.04 Feisty / AMD64
pdt-all-in-one-S20070611 M1-linux-gtk
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0-b105, mixed mode)

I'm somewhat of a newbie to gnu/linux so bear with me... I had Eclipse-pdt
working before but this is a fresh install. I don't recall doing anything
with gtk but I have made some changes to my system that may be leading to
this error:

1: Installed ATI propreietary drivers and installed XGL, and Beryl
http://ubuntu.beryl-project.org/
2: Installed fwcutter, ndiswrapper and attempted to get my wireless bcm43xx
working :-(
3: Uninstalled GIJ (free software foundation bytecode interpreter) and
replaced it with sun-java6. Also installed ia32-sun-java6, the 32 bit java

the actions I have taken so far that haven't worked:
sudo apt-get install --reinstall libgtk2.0-0
sudo apt-get check libgtk2.0-0

Checked the ubuntu forums and found this
http://ubuntuforums.org/showthread.php?t=9482 but no resolution. I will
post one if we arrive at one here.

Any suggestions?
Re: Eclipse cannot open shared object libgtk-x11-2.0.so.0 on Ubuntu Feisty [message #37856 is a reply to message #37821] Sat, 21 July 2007 15:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: DKelly360.Comcast.net

I see that there is a 'link to a shared library' located in /etc/lib with
that exact name... does anyone know if that is what it's looking for? If
so, how do I link it or are there bigger issues than one file?

"Daniel Kelly" <DKelly360@Comcast.net> wrote in message
news:f7t5ht$r13$1@build.eclipse.org...
> Hello everybody!
>
> I'm having a problem executing the eclipse from the site, it produces the
> following error upon execution:
>
> dan@dan-laptop:~$ '/home/dan/Desktop/eclipse/eclipse'
> /home/dan/Desktop/eclipse/eclipse: error while loading shared
> libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such
> file or directory
>
> My system:
> Ubuntu 7.04 Feisty / AMD64
> pdt-all-in-one-S20070611 M1-linux-gtk
> java version "1.6.0"
> Java(TM) SE Runtime Environment (build 1.6.0-b105)
> Java HotSpot(TM) 64-Bit Server VM (build 1.6.0-b105, mixed mode)
>
> I'm somewhat of a newbie to gnu/linux so bear with me... I had Eclipse-pdt
> working before but this is a fresh install. I don't recall doing anything
> with gtk but I have made some changes to my system that may be leading to
> this error:
>
> 1: Installed ATI propreietary drivers and installed XGL, and Beryl
> http://ubuntu.beryl-project.org/
> 2: Installed fwcutter, ndiswrapper and attempted to get my wireless
> bcm43xx working :-(
> 3: Uninstalled GIJ (free software foundation bytecode interpreter) and
> replaced it with sun-java6. Also installed ia32-sun-java6, the 32 bit
> java
>
> the actions I have taken so far that haven't worked:
> sudo apt-get install --reinstall libgtk2.0-0
> sudo apt-get check libgtk2.0-0
>
> Checked the ubuntu forums and found this
> http://ubuntuforums.org/showthread.php?t=9482 but no resolution. I will
> post one if we arrive at one here.
>
> Any suggestions?
>
>
>
>
>
>
Re: Eclipse cannot open shared object libgtk-x11-2.0.so.0 on Ubuntu Feisty [message #39037 is a reply to message #37856] Wed, 25 July 2007 03:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: DKelly360.Comcast.net

Somehow this issue got resolved by installing ia32 packages, i'm not sure
which one did it for me.

"Daniel Kelly" <DKelly360@Comcast.net> wrote in message
news:f7t8oh$1br$1@build.eclipse.org...
>I see that there is a 'link to a shared library' located in /etc/lib with
>that exact name... does anyone know if that is what it's looking for? If
>so, how do I link it or are there bigger issues than one file?
>
> "Daniel Kelly" <DKelly360@Comcast.net> wrote in message
> news:f7t5ht$r13$1@build.eclipse.org...
>> Hello everybody!
>>
>> I'm having a problem executing the eclipse from the site, it produces the
>> following error upon execution:
>>
>> dan@dan-laptop:~$ '/home/dan/Desktop/eclipse/eclipse'
>> /home/dan/Desktop/eclipse/eclipse: error while loading shared
>> libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such
>> file or directory
>>
>> My system:
>> Ubuntu 7.04 Feisty / AMD64
>> pdt-all-in-one-S20070611 M1-linux-gtk
>> java version "1.6.0"
>> Java(TM) SE Runtime Environment (build 1.6.0-b105)
>> Java HotSpot(TM) 64-Bit Server VM (build 1.6.0-b105, mixed mode)
>>
>> I'm somewhat of a newbie to gnu/linux so bear with me... I had
>> Eclipse-pdt working before but this is a fresh install. I don't recall
>> doing anything with gtk but I have made some changes to my system that
>> may be leading to this error:
>>
>> 1: Installed ATI propreietary drivers and installed XGL, and Beryl
>> http://ubuntu.beryl-project.org/
>> 2: Installed fwcutter, ndiswrapper and attempted to get my wireless
>> bcm43xx working :-(
>> 3: Uninstalled GIJ (free software foundation bytecode interpreter) and
>> replaced it with sun-java6. Also installed ia32-sun-java6, the 32 bit
>> java
>>
>> the actions I have taken so far that haven't worked:
>> sudo apt-get install --reinstall libgtk2.0-0
>> sudo apt-get check libgtk2.0-0
>>
>> Checked the ubuntu forums and found this
>> http://ubuntuforums.org/showthread.php?t=9482 but no resolution. I will
>> post one if we arrive at one here.
>>
>> Any suggestions?
>>
>>
>>
>>
>>
>>
>
>
Breakpoint / mapping problem [message #39061 is a reply to message #39037] Wed, 25 July 2007 10:10 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: f_hoeger.leporello.tv

Hello,

I have a problem with Eclipse not stopping at breakpoints. "Break at
first line" works OK though. I can see variable values etc. and can step
through the code. Probably the reason is an incorrect mapping.

Following is my debug setup:

Script and Server:
/MyProject/modules/frontend/www/source_html/test/index.php

Server URL:
http://www.mydomain.com

Context Root:
<empty>

Launch:
http://www.mydomain.com/test/index.php

HtDocs Location:
/var/www/localhost/htdocs/modules/frontend/www/source_html


The source files are on the server. The directory containing them is
mounted on the local machine I'm running eclipse on. It must really be a
mapping issue I suppose. I'm using the latest PDT Feature (Incubation)
1.0.0v20070712, XDebug 2.0.0., XDebug Support V0.2.3, Example Mapper
V0.0.2 for XDebug 0.2.3.

Any help greatly appreciated.
Thank you.
Frank
Re: Breakpoint / mapping problem [message #39123 is a reply to message #39061] Wed, 25 July 2007 12:02 Go to previous message
D Kelsey is currently offline D KelseyFriend
Messages: 232
Registered: July 2009
Senior Member
The example mapper records "modules/frontend/www/source_html/test/index.php"
as the path to the script file. It then looks to see if you want to include
the project name as well and if you do sets this to
"MyProject/modules/frontend/www/source_html/test/index.php"

It then appends this to the value of htDocs to determine the location of the
real file, so this results in either
/var/www/localhost/htdocs/modules/frontend/www/source_html/m odules/frontend/www/source_html/test/index.php
or
/var/www/localhost/htdocs/modules/frontend/www/source_html/M yProject/modules/frontend/www/source_html/test/index.php

which I am guessing is not the correct location for the files.

By the looks of things your htdocs is a replication of a single project in your
workspace so try using

HtDocs Location = /var/www/localhost/htdocs

and unchecking the box to include the project name in the mapping. Doing this should result in

"/MyProject/modules/frontend/www/source_html/test/index.php" being mapped to
" /var/www/localhost/htdocs/modules/frontend/www/source_html/t est/index.php "

Hope this helps.
Dave Kelsey



Frank Höger wrote:
> Hello,
>
> I have a problem with Eclipse not stopping at breakpoints. "Break at
> first line" works OK though. I can see variable values etc. and can step
> through the code. Probably the reason is an incorrect mapping.
>
> Following is my debug setup:
>
> Script and Server:
> /MyProject/modules/frontend/www/source_html/test/index.php
>
> Server URL:
> http://www.mydomain.com
>
> Context Root:
> <empty>
>
> Launch:
> http://www.mydomain.com/test/index.php
>
> HtDocs Location:
> /var/www/localhost/htdocs/modules/frontend/www/source_html
>
>
> The source files are on the server. The directory containing them is
> mounted on the local machine I'm running eclipse on. It must really be a
> mapping issue I suppose. I'm using the latest PDT Feature (Incubation)
> 1.0.0v20070712, XDebug 2.0.0., XDebug Support V0.2.3, Example Mapper
> V0.0.2 for XDebug 0.2.3.
>
> Any help greatly appreciated.
> Thank you.
> Frank
>
>
>
>
>
>
>
Previous Topic:Three RSS Feeds You Might Be Interested In
Next Topic:Tasks are disapearing
Goto Forum:
  


Current Time: Sat Apr 20 02:39:25 GMT 2024

Powered by FUDForum. Page generated in 0.03054 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top