Package: python-sciscipy
Version: 0.3.0-1
Severity: important
*** Please type your report below this line ***
When I try to import scilab in python, I get the following error message:
$ python
Python 2.5.5 (r255:77872, Apr 21 2010, 08:44:16)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import scilab
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/pymodules/python2.5/scilab.py", line 69, in <module>
cdll.LoadLibrary("/usr/lib/scilab/libscilab.so.0")
File "/usr/lib/python2.5/ctypes/__init__.py", line 431, in LoadLibrary
return self._dlltype(name)
File "/usr/lib/python2.5/ctypes/__init__.py", line 348, in __init__
self._handle = _dlopen(self._name, mode)
OSError: libscicall_scilab.so.5: cannot open shared object file: No such
file or directory
>>>
The library libscicall_scilab.so.5 is installed in my system, as a part of
the scilab-minimal-bin package:
$ apt-file search libscicall_scilab.so.5
scilab-minimal-bin: /usr/lib/scilab/libscicall_scilab.so.5
scilab-minimal-bin: /usr/lib/scilab/libscicall_scilab.so.5.0.2
scilab-minimal-bin-dbg:
/usr/lib/debug/usr/lib/scilab/libscicall_scilab.so.5.0.2
$ ls -lr /usr/lib/scilab/libscicall*
-rw-r--r-- 1 root root 11040 04-21 16:44
- /usr/lib/scilab/libscicall_scilab.so.5.0.2
lrwxrwxrwx 1 root root 26 05-05 09:29
/usr/lib/scilab/libscicall_scilab.so.5 -> libscicall_scilab.so.5.0.2
lrwxrwxrwx 1 root root 26 05-05 09:29
/ /usr/lib/scilab/libscicall_scilab.so -> libscicall_scilab.so.5.0.2
-rw-r--r-- 1 root root 1066 04-21 16:39
- /usr/lib/scilab/libscicall_scilab.la
The only way to import scilab at the moment is to use a small workaround:
$ LD_LIBRARY_PATH=/usr/lib/scilab/ python
Python 2.5.5 (r255:77872, Apr 21 2010, 08:44:16)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import scilab
>>>
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.33.3-rt16 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-sciscipy depends on:
ii libc6 2.11.1-3 Embedded GNU C Library:
Shared lib
ii python 2.5.4-9 An interactive high-level
object-o
ii python-support 1.0.8 automated rebuilding
support for P
ii scilab-full-bin 5.2.2-1 Scientific software package
for nu
python-sciscipy recommends no packages.
python-sciscipy suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org