On 21 Apr 2015, at 10:05, Johannes Ring 
<[email protected]<mailto:[email protected]>> wrote:

On Tue, Apr 21, 2015 at 8:32 AM, Mikael Mortensen 
<[email protected]<mailto:[email protected]>> wrote:
Hi,

I have an issue with a new hashdist installation using
fenics-developer-tools (fenics-install-all, fenics-install-component) to set
everything up. I have chosen to use fenics-deps.host-debian.yaml, with only
modification that IPython is not host. Everything installs nicely, first
dependencies and then fenics. Now dolfin works with no problems if I run
through IPython. However, using regular Python I get

Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import dolfin
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
 File
"/home/mikael/Software/Fenics/opt/fenics-dev/lib/python2.7/site-packages/dolfin/__init__.py",
line 16, in <module>
   from . import cpp
 File
"/home/mikael/Software/Fenics/opt/fenics-dev/lib/python2.7/site-packages/dolfin/cpp/__init__.py",
line 42, in <module>
   exec("from . import %s" % module_name)
 File "<string>", line 1, in <module>
 File
"/home/mikael/Software/Fenics/opt/fenics-dev/lib/python2.7/site-packages/dolfin/cpp/common.py",
line 32, in <module>
   _common = swig_import_helper()
 File
"/home/mikael/Software/Fenics/opt/fenics-dev/lib/python2.7/site-packages/dolfin/cpp/common.py",
line 28, in swig_import_helper
   _mod = imp.load_module('_common', fp, pathname, description)
ImportError:
/home/mikael/.hashdist/bld/profile/himpmgpkmphr/lib/libssl.so.1.0.0:
undefined symbol: EVP_idea_cbc


Any suggestions?

I don't have the ssl library in my profile when using
fenics-deps.host-debian.yaml and non-host ipython. Can you check that
this is actually installed in your profile? Maybe you only need to
clear your cmake cache for DOLFIN and build again?

Johannes


I tried clearing the cache, but no change in the outcome. Why does dolfin link 
with the ssl libraries? Can’t really see why dolfin should link with them just 
because I have a non-host ipython in the hashdist path? Anyway, I’ll probably 
go back to using hashdist with non-host for most packages since this used to 
work. I checked that libssl is actually installed by hashdist. This is what ldd 
tells me:

ldd ../Fenics/opt/fenics-dev/lib/libdolfin.so
../Fenics/opt/fenics-dev/lib/libdolfin.so: 
/home/mikael/.hashdist/bld/profile/himpmgpkmphr/lib/libcrypto.so.1.0.0: no 
version information available (required by /usr/lib/libpq.so.5)
../Fenics/opt/fenics-dev/lib/libdolfin.so: 
/home/mikael/.hashdist/bld/profile/himpmgpkmphr/lib/libssl.so.1.0.0: no version 
information available (required by /usr/lib/libpq.so.5)
        linux-vdso.so.1 =>  (0x00007fffb459f000)
        libboost_filesystem.so.1.54.0 => 
/usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.54.0 (0x00007f56d2335000)
...
        libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f56be6b0000)
        libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 
(0x00007f56be4a7000)
        libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f56be2a2000)
        libssl.so.1.0.0 => 
/home/mikael/.hashdist/bld/profile/himpmgpkmphr/lib/libssl.so.1.0.0 
(0x00007f56be035000)
        libcrypto.so.1.0.0 => 
/home/mikael/.hashdist/bld/profile/himpmgpkmphr/lib/libcrypto.so.1.0.0 
(0x00007f56bdc50000)

Thanks

Mikael

_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to