Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] shared object file not found
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
nes
Apprentice
Apprentice


Joined: 10 Aug 2004
Posts: 155
Location: Vienna/Austria

PostPosted: Fri Sep 03, 2004 5:01 am    Post subject: [solved] shared object file not found Reply with quote

Warum findet er bei eclipse die libgtk nicht, liegt doch eh im richtigen ordner, alles andere geht ja auch? Konkret:

Code:

bash-2.05b$ ./eclipse
./eclipse: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
bash-2.05b$
bash-2.05b$ ls -la /usr/lib/libgtk-x11-2.0.so.0
lrwxrwxrwx  1 root root 25 29. Aug 11:00 /usr/lib/libgtk-x11-2.0.so.0 -> libgtk-x11-2.0.so.0.400.4
bash-2.05b$ ls -la /usr/lib/libgtk-x11-2.0.so.0.400.4
-rwxr-xr-x  1 root root 3076608 29. Aug 11:00 /usr/lib/libgtk-x11-2.0.so.0.400.4
bash-2.05b$


lg., nes


Last edited by nes on Sun Sep 05, 2004 6:13 am; edited 1 time in total
Back to top
View user's profile Send private message
dgently
Apprentice
Apprentice


Joined: 29 Jul 2004
Posts: 160

PostPosted: Fri Sep 03, 2004 5:51 am    Post subject: Reply with quote

Was sagt denn "ldd eclipse" und "ldconfig -p | grep libgtk-x11"?
Back to top
View user's profile Send private message
nes
Apprentice
Apprentice


Joined: 10 Aug 2004
Posts: 155
Location: Vienna/Austria

PostPosted: Fri Sep 03, 2004 3:47 pm    Post subject: Reply with quote

Code:

bash-2.05b$ ldd eclipse
        linux-gate.so.1 =>  (0xffffe000)
        libgtk-x11-2.0.so.0 => not found
        libgdk_pixbuf-2.0.so.0 => not found
        libc.so.6 => /lib32/libc.so.6 (0x5557e000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x55555000)
        libgdk-x11-2.0.so.0 => not found
        libgobject-2.0.so.0 => not found
bash-2.05b$
bash-2.05b$ /sbin/ldconfig -p | grep libgtk-x11
        libgtk-x11-2.0.so.0 (libc6,x86-64) => /usr/lib/libgtk-x11-2.0.so.0
        libgtk-x11-2.0.so (libc6,x86-64) => /usr/lib/libgtk-x11-2.0.so
bash-2.05b$


lg., nes
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Fri Sep 03, 2004 3:50 pm    Post subject: Reply with quote

:arrow: revdep-rebuild -p
_________________
Please make sure that you have searched for an answer to a question after reading all the relevant docs.
Back to top
View user's profile Send private message
nes
Apprentice
Apprentice


Joined: 10 Aug 2004
Posts: 155
Location: Vienna/Austria

PostPosted: Fri Sep 03, 2004 3:57 pm    Post subject: Reply with quote

Gerade getan, am Fehler hat sich aber leider nichts geändert:
Code:

gamma root # revdep-rebuild -p

Checking reverse dependencies...
Packages containing binaries and libraries broken by any package update,
will be recompiled.

Collecting system binaries and libraries... done.
  (/root/.revdep-rebuild.1_files)

Collecting complete LD_LIBRARY_PATH... done.
  (/root/.revdep-rebuild.2_ldpath)

Checking dynamic linking consistency...
 done.
  (/root/.revdep-rebuild.3_rebuild)

Assigning files to ebuilds... Nothing to rebuild

Evaluating package order... done.
  (/root/.revdep-rebuild.5_order)

Dynamic linking on your system is consistent... All done.
gamma root #


Wie gesagt, beim Aufruf von eclipse gleicher Fehler wie zuvor: Er findet die libgtk nicht.

lg., nes
Back to top
View user's profile Send private message
Beforegod
Bodhisattva
Bodhisattva


Joined: 10 Apr 2002
Posts: 1494
Location: Frankfurt/Main

PostPosted: Fri Sep 03, 2004 5:11 pm    Post subject: Reply with quote

Bleibt Dir nichts anderes übrig als eclipse neu zu emergen.
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Fri Sep 03, 2004 6:43 pm    Post subject: Reply with quote

Die gesuchten Bibliotheken sind von x11-libs/gtk+, also würde ich mich darüber her machen. Aber schon verwunderlich, daß revdep-rebuild da nichts liefert. Wie stehts mit qpkg -l gtk+-2 | grep lib/lib?
_________________
Please make sure that you have searched for an answer to a question after reading all the relevant docs.
Back to top
View user's profile Send private message
dgently
Apprentice
Apprentice


Joined: 29 Jul 2004
Posts: 160

PostPosted: Fri Sep 03, 2004 7:38 pm    Post subject: Reply with quote

nes wrote:
Code:

bash-2.05b$ ldd eclipse
        linux-gate.so.1 =>  (0xffffe000)
        libgtk-x11-2.0.so.0 => not found
        libgdk_pixbuf-2.0.so.0 => not found
        libc.so.6 => /lib32/libc.so.6 (0x5557e000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x55555000)
        libgdk-x11-2.0.so.0 => not found
        libgobject-2.0.so.0 => not found
bash-2.05b$
bash-2.05b$ /sbin/ldconfig -p | grep libgtk-x11
        libgtk-x11-2.0.so.0 (libc6,x86-64) => /usr/lib/libgtk-x11-2.0.so.0
        libgtk-x11-2.0.so (libc6,x86-64) => /usr/lib/libgtk-x11-2.0.so
bash-2.05b$

lg., nes

Ich kenne mich zwar nicht mit x86-64 aus, aber ich vermute mal das Problem ist, dass eclipse ne 32bit Anwendung ist ("libc.so.6 => /lib32/libc.so.6") und du damit nicht die "x86-64" version von libgtk verwenden kannst.
Du brauchst also noch ne 32bit version von libgtk, oder ein fuer 64bit kompiliertes eclipse.
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Fri Sep 03, 2004 8:00 pm    Post subject: Reply with quote

dgently: Und ich darf mich mal wieder fragen, wozu ich die Brille auf der Nase habe... :roll:
_________________
Please make sure that you have searched for an answer to a question after reading all the relevant docs.
Back to top
View user's profile Send private message
nes
Apprentice
Apprentice


Joined: 10 Aug 2004
Posts: 155
Location: Vienna/Austria

PostPosted: Fri Sep 03, 2004 8:49 pm    Post subject: Reply with quote

dgently wrote:

Ich kenne mich zwar nicht mit x86-64 aus, aber ich vermute mal das Problem ist, dass eclipse ne 32bit Anwendung ist ("libc.so.6 => /lib32/libc.so.6") und du damit nicht die "x86-64" version von libgtk verwenden kannst.
Du brauchst also noch ne 32bit version von libgtk, oder ein fuer 64bit kompiliertes eclipse.

Danke, das duerfte es wohl sein. Nur, wie bekomme ich die? Gar nicht? Das heisst, dass ich da per chroot eine komplette 32-Bit-Umgebung in die Höhe ziehen müsste?

lg., nes
Back to top
View user's profile Send private message
Carlo
Developer
Developer


Joined: 12 Aug 2002
Posts: 3356

PostPosted: Fri Sep 03, 2004 9:11 pm    Post subject: Reply with quote

Nein, Du kannst - so denn die jeweiligen Ebuilds darauf vorbereitet sind - unter x86-64 32 und 64 bit parallel fahren.
:arrow: emerge -s emul-linux
_________________
Please make sure that you have searched for an answer to a question after reading all the relevant docs.
Back to top
View user's profile Send private message
nes
Apprentice
Apprentice


Joined: 10 Aug 2004
Posts: 155
Location: Vienna/Austria

PostPosted: Sun Sep 05, 2004 6:12 am    Post subject: Reply with quote

Herzlichen Dank!

Mein Problem ist zwar definitiv nicht gelöst (Es gibt keinen eclipse-ebuild für amd64 bzw. ~amd64), aber mir ist jetzt zumindest mal klar warum mein naiver Ansatz einfach eclipse von www.eclipse.org runterzuladen und es damit auszuprobieren nicht funktionieren kann.

lg., nes
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum