[Pkg-scicomp-devel] Bug#507162: Subject: python-openturns: Dynamic loading of library 'libOT.so' failed at /usr/lib/openturns

Jerome Robert jeromerobert at users.sf.net
Fri Nov 28 17:40:48 UTC 2008


Package: python-openturns
Version: 0.12.2-1
Severity: important

Here is the error:

>>> import openturns
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/openturns.py", line 10, in <module>
    import openturns_preload
IOError: Dynamic loading of library 'libOT.so' failed at /usr/lib/openturns

This because openturns_preload contains a dlopen to libOS.so.

python-openturns should depends on libopenturns-dev or the following patch
should be applyed:

--- a/python/src/openturns_preload.c
+++ b/python/src/openturns_preload.c
@@ -22,7 +22,7 @@ initopenturns_preload(void)
   }

   dlerror();    /* Clear any existing error */
-  handle = dlopen ( LIBINSTALL_PATH "/libOT.so", RTLD_NOW | RTLD_GLOBAL );
+  handle = dlopen ( LIBINSTALL_PATH "/libOT.so.0", RTLD_NOW | RTLD_GLOBAL );
   if (!handle) {
     PyErr_SetString( PyExc_IOError, "Dynamic loading of library 'libOT.so'
failed at " LIBINSTALL_PATH );
     return;


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/4 CPU cores)
Locale: LANG=fr_FR at euro, LC_CTYPE=fr_FR at euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-openturns depends on:
ii  libatlas3gf-base [liblapac 3.6.0-22      Automatically Tuned Linear Algebra
ii  libatlas3gf-sse2 [liblapac 3.6.0-22      Automatically Tuned Linear Algebra
ii  libc6                      2.7-16        GNU C Library: Shared libraries
ii  libgcc1                    1:4.3.2-1     GCC support library
ii  libgfortran3               4.3.2-1       Runtime library for GNU Fortran ap
ii  liblapack3gf [liblapack.so 3.1.1-1       library of linear algebra routines
ii  libopenturns0              0.12.2-1      dynamic libraries for OpenTURNS
ii  libstdc++6                 4.3.2-1       The GNU Standard C++ Library v3
ii  libxml2                    2.6.32.dfsg-5 GNOME XML library
ii  python-qt3                 3.17.4-1      Qt3 bindings for Python
ii  python-rpy                 1.0.3-2       Python interface to the GNU R lang

python-openturns recommends no packages.

python-openturns suggests no packages.

-- no debconf information







More information about the Pkg-scicomp-devel mailing list