dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #06510
More link problems
Compiling and running C++ applications against DOLFIN now works fine
for me, but it breaks in Python:
>>> from dolfin import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File
"/home/logg/local/lib/python2.5/site-packages/dolfin/__init__.py",
line 4, in <module>
from assemble import *
File
"/home/logg/local/lib/python2.5/site-packages/dolfin/assemble.py",
line 17, in <module>
from dolfin import *
File
"/home/logg/local/lib/python2.5/site-packages/dolfin/dolfin.py",
line 7, in <module>
import _dolfin
ImportError: libpetscsnes.so: cannot open shared object file: No such file or directory
# pkg-config --libs dolfin
-Wl,-rpath,/usr/local/lib/petsc/lib/linux-gnu-cxx-debug -pthread
-Wl,--export-dynamic -L/home/logg/local/lib -L/usr/lib/atlas
-L/usr/local/lib/petsc/lib/linux-gnu-cxx-debug -ldolfin -lblas
-llapack -lumfpack -lamd -lpetscsnes -lpetscmat -lpetscvec -lpetscts
-lpetsc -lpetscdm -lpetscksp -lgts -lxml2 -lgthread-2.0 -lrt
-lgmodule-2.0 -ldl -lglib-2.0
Any ideas?
I guess the path to PETSc libraries was built into libdolfin.so in
some way before, but not anymore?
--
Anders
Follow ups