Bug#664035: libtrilinos: missing python symbols when compiling deal.II examples

Kevin Mitchell kevmitch at math.sfu.ca
Wed Mar 14 22:49:46 UTC 2012


Package: libtrilinos
Version: 10.4.0.dfsg-1
Severity: normal

As it stands this bug makes deal.II unusuable.
When trying to compile the /usr/share/doc/deal.ii-examples/step-1 from deal.ii-examples, 
I get a long list of errors about missing python symbols referenced in /usr/lib/libtrilinos_pytrilinos.so

$ make
Makefile:140: Makefile.dep: No such file or directory
============================ Remaking Makefile.dep
==============optimized===== step-1.cc  ->  step-1.o
============================ Linking step-1
/usr/lib/libtrilinos_pytrilinos.so: undefined reference to `PyType_IsSubtype'
/usr/lib/libtrilinos_pytrilinos.so: undefined reference to `PyExc_RuntimeError'
...
/usr/lib/libtrilinos_pytrilinos.so: undefined reference to `PyList_New'
collect2: ld returned 1 exit status
make: *** [step-1] Error 1

If however I add -lpython2.7 to the compile command, the compilation goes through, but I get segfault when I run the exectuable.

My guess would be that /usr/lib/libtrilinos_pytrilinos.so (as installed from libtrilinos-dev) needs to be recompiled with python2.7.
I gather this might be somewhat of a problem from my inability to install the actual package python-libtrilinos which conflicts with python2.7. 




-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (600, 'unstable'), (500, 'testing'), (400, 'stable'), (300, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.3.0-rc7.01 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libtrilinos depends on:
ii  libatlas3gf-base [liblapack.so.3gf]  3.8.4-3
ii  libblas3gf [libblas.so.3gf]          1.2.20110419-2
ii  libc6                                2.13-27
ii  libexpat1                            2.0.1-7.2
ii  libgcc1                              1:4.6.3-1
ii  libgfortran3                         4.6.3-1
ii  liblapack3gf [liblapack.so.3gf]      3.3.1-1
ii  libopenmpi1.3                        1.4.3-2.1
ii  libstdc++6                           4.6.3-1

libtrilinos recommends no packages.

Versions of packages libtrilinos suggests:
ii  libtrilinos-doc  10.4.0.dfsg-1

-- no debconf information





More information about the debian-science-maintainers mailing list