dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #17690
[Question #102008]: CGAl library not loaded
New question #102008 on DOLFIN:
https://answers.launchpad.net/dolfin/+question/102008
I have just installed dolfin 0.9.7. The build process went smooth via Dorsal. However, I get the following when importing dolfin:
>>> from dolfin import *
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/aron/bzr/FEniCS/lib/python2.6/site-packages/dolfin/__init__.py", line 13, in <module>
import dolfin.cpp as cpp
File "/Users/aron/bzr/FEniCS/lib/python2.6/site-packages/dolfin/cpp.py", line 28, in <module>
_cpp = swig_import_helper()
File "/Users/aron/bzr/FEniCS/lib/python2.6/site-packages/dolfin/cpp.py", line 24, in swig_import_helper
_mod = imp.load_module('_cpp', fp, pathname, description)
ImportError: dlopen(/Users/aron/bzr/FEniCS/lib/python2.6/site-packages/dolfin/_cpp.so, 2): Library not loaded: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gis_cgal/work/CGAL-3.5.1/lib/libCGAL.4.dylib
Referenced from: /opt/local/lib/libCGAL_Core.4.dylib
Reason: image not found
>>>
The directory _opt_local_var_macports_sources_rsync.macports.org_release_ports_gis_cgal does not exist on my machine. Why?
CGAL is installed with macports and the installation was trouble-free.
I run SL on Mac.
Aron
--
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.
Follow ups