error during a 'make' process on a CentOS
> release 5.4 system:
>
> Running mkfontdir...
> Creating SELinux policy...
> /usr/bin/python: error while loading shared libraries:
> libpython2.4.so.1.0: cannot open shared object file: No such file or
> directory
>
>
&g
Hi,
We are getting the following error during a 'make' process on a CentOS
release 5.4 system:
Running mkfontdir...
Creating SELinux policy...
/usr/bin/python: error while loading shared libraries:
libpython2.4.so.1.0: cannot open shared object file: No such file or
directory
On Jul 13, 10:09 am, Christian Heimes wrote:
> Tony Lay wrote:
> > # cd /usr/local/lib
>
> > # ls -la | grep libtk8.5.so
>
> > -r-xr-xr-x 1 root root 1112606 Jul 10 13:28 libtk8.5.so
>
> > Am I missing something, it’s there?
>
> Is /usr/local/lib in your library search path? It looks like it is
Tony Lay wrote:
> # cd /usr/local/lib
>
> # ls -la | grep libtk8.5.so
>
> -r-xr-xr-x 1 root root 1112606 Jul 10 13:28 libtk8.5.so
>
> Am I missing something, it’s there?
Is /usr/local/lib in your library search path? It looks like it isn't.
Check /etc/ld.so.conf and /etc/ld.so.conf.d/.
Chri
pinit.o -L/usr/X11R6/lib64 -L/usr/X11R6/lib -L/usr/local/
lib -ltk8.5 -ltcl8.5 -lX11 -o build/lib.linux-i686-2.6/_tkinter.so
*** WARNING: renaming "_tkinter" since importing it failed:
libtk8.5.so: cannot open shared object file: No such file or directory
Failed to find the necessa
r/X11R6/lib64 -L/usr/X11R6/lib -L/usr/local/lib -ltk8.5 -ltcl8.5 -lX11
-o build/lib.linux-i686-2.6/_tkinter.so
*** WARNING: renaming "_tkinter" since importing it failed: libtk8.5.so:
cannot open shared object file: No such file or directory
Failed to find the necessary bits to
; ImportError: libclntsh.so.9.0: cannot open shared object file: No
> such file or directory
>
> Is there something else I have to do when changing os.environ before
> trying the import?
Well, all the oracle stuff is installed in /usr/lib/oracle on my computers
(or /usr/share/oracle ..
. I can print the
value of os.environ["LD_LIBRARY_PATH"] and it is correct, but the
import fails. The cx_Oracle.so file is found, but when it tries to
load the necessary Oracle library (libclntsh.so.9.0), I get the
message:
ImportError: libclntsh.so.9.0: cannot open shared object fil
a crontab job to run the application, It logs this
> error:
>
> Traceback (most recent call last):
> File "/home/nsm1/NSM1/NSM1.py", line 5, in ?
> import cx_Oracle
> ImportError: libclntsh.so.10.1: cannot open shared object file:
> Permission denied
...
when I schedule a crontab job to run the application, It logs this
>error:
>
>Traceback (most recent call last):
> File "/home/nsm1/NSM1/NSM1.py", line 5, in ?
>import cx_Oracle
>ImportError: libclntsh.so.10.1: cannot open shared object file:
>Permission denied
&
logs this
error:
Traceback (most recent call last):
File "/home/nsm1/NSM1/NSM1.py", line 5, in ?
import cx_Oracle
ImportError: libclntsh.so.10.1: cannot open shared object file:
Permission denied
How can I fix the problem?
Any help would be appreciated,
Max
BTW:
I have the
11 matches
Mail list logo