LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-06-2007, 05:19 PM   #1
aregmi
LQ Newbie
 
Registered: May 2007
Posts: 8

Rep: Reputation: 0
wxPython problem: /_core_.so: cannot open shared object file: No such file or directo


Hello Folks,

After struggling for a while, I eventually managed to install wxPython-2.6.3.3 unicode version in my Red Hat Linux system. But now I am getting the following error.

[root@rh-aee-07-iw Desktop]# python
Python 2.4.4 (#1, Apr 17 2007, 13:24:25)
[GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/__init__.py", line 42, in ?
from wx._core import *
File "/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 4, in ?
import _core_
ImportError: /usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core_.so: cannot open shared object file: No such file or directory
>>>

I made sure that _core_.so file is in the directory. The file is there but for some reason it couldn't open the file. I tried installing the ansi version, installing it in another location but of no avail.

I would really really apreciate your help.

Ananda
 
Old 06-06-2007, 05:22 PM   #2
aregmi
LQ Newbie
 
Registered: May 2007
Posts: 8

Original Poster
Rep: Reputation: 0
I would also thankful if somebody could shed some light on the situations and circumstances where an error like that(not being able to access a shared object file) would pop up and hints and clues to fix such situation.

Thanks again,

Ananda
 
Old 06-06-2007, 08:53 PM   #3
aregmi
LQ Newbie
 
Registered: May 2007
Posts: 8

Original Poster
Rep: Reputation: 0
I have an update for you guys if anybody is reading these posts:

I went to the folder where _core_.so is and tried

$ ldd _core_.so

and got the following. I can see that it could not find a lot of libraries. Is this a serious issue? Then I did a locate to find one of the missing library and i found it in /opt/pango/lib folder. Then I added this path in /etc/ld.so.conf and ran ldconfig. Then I tried ldd _core_.so again and still getting the same list and a lot of not found.

linux-gate.so.1 => (0xffffe000)
libwx_gtk2ud-2.6.so.0 => /usr/lib/wxPython-2.6.3.3-gtk2-unicode/lib/libwx_gtk2ud-2.6.so.0 (0xf783a000) libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xf775c000)
libm.so.6 => /lib/tls/libm.so.6 (0xf7739000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf7731000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0xf771f000)
libc.so.6 => /lib/tls/libc.so.6 (0xf75f4000)
libz.so.1 => /usr/lib/libz.so.1 (0xf75e3000)
libdl.so.2 => /lib/libdl.so.2 (0xf75df000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0xf732b000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0xf72bf000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0xf72a5000)
libgdk_pixbuf-2.0.so.0 => not found
libpangoxft-1.0.so.0 => not found
libpangox-1.0.so.0 => not found
libpango-1.0.so.0 => not found
libgobject-2.0.so.0 => not found
libgmodule-2.0.so.0 => not found
libgthread-2.0.so.0 => not found
libglib-2.0.so.0 => not found
libpng12.so.0 => /usr/lib/libpng12.so.0 (0xf727f000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xf7261000)
libtiff.so.3 => /usr/lib/libtiff.so.3 (0xf7214000)
libexpat.so.0 => /usr/lib/libexpat.so.0 (0xf71f4000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0xf7176000)
/lib/ld-linux.so.2 (0x56555000)
libgdk_pixbuf-2.0.so.0 => not found
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xf7097000)
libpangoxft-1.0.so.0 => not found
libpangox-1.0.so.0 => not found
libpango-1.0.so.0 => not found
libgobject-2.0.so.0 => not found
libgmodule-2.0.so.0 => not found
libglib-2.0.so.0 => not found
libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0xf7092000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0xf708a000)
libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0xf7087000)
libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0xf7075000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xf700a000)
libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xf6fe4000)
libXcursor.so.1 => /usr/X11R6/lib/libXcursor.so.1 (0xf6fda000)
libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0xf6fd2000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xf6fc4000)
libpangoxft-1.0.so.0 => not found
libpangox-1.0.so.0 => not found
libpango-1.0.so.0 => not found
libgobject-2.0.so.0 => not found
libgmodule-2.0.so.0 => not found
libglib-2.0.so.0 => not found
libgdk_pixbuf-2.0.so.0 => not found
libgobject-2.0.so.0 => not found
libgmodule-2.0.so.0 => not found
libglib-2.0.so.0 => not found
libasound.so.2 => /lib/libasound.so.2 (0xf6f1b000)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
libtermcap.so.2: cannot open shared object file: No such file or directory tcma Linux - Software 11 02-24-2012 03:00 AM
error while loading shared libraries: libgvc.so.3: cannot open shared object file coolrock Slackware 6 01-17-2007 05:10 PM
Apache Mod_pyton Problem: mod_python cannot open shared object file jCash Linux - Newbie 0 11-12-2006 05:48 PM
error while loading shared libraries: libdb-4.1.so: cannot open shared object file putquery8581 Linux - Software 1 10-01-2004 07:03 AM
libawt.so: libXp.so.6: cannot open shared object file: No such file or directory man26 *BSD 0 09-10-2004 08:34 AM


All times are GMT -5. The time now is 11:23 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration