On Wed, Feb 25, 2015 at 3:32 PM, newsboost . <[email protected]> wrote: > On Tue, Feb 24, 2015 at 5:01 PM, Martin <[email protected]> wrote: >> >> On 02/24/2015 02:34 PM, Johannes Ring wrote: >> >> Then add the following in local.yaml after "extends:" and before >> "packages:": >> >> parameters: >> PATH: /usr/local/bin:/usr/bin:/bin >> >> Finally, run fenics-install.sh with your modified profile: >> >> ./install/fenics-install.sh local.yaml >> >> This will probably trigger a rebuild of all packages. >> >> >> .... > > ....... > >> >> I tried to modify the local.yaml file to include some of the original >> settings I have in my path: >> --- >> ... >> ... >> extends: >> - file: linux.yaml >> >> parameters: >> PATH: >> /usr/local/bin:/usr/bin:/bin:/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/ >> sbin:/sbin:/home/laptop/bin >> ... >> ... >> --- >> >> Tomorrow I know if this worked or not... Thanks until now... >> > > Hi all, > > Great news! The above seemed to work for me! I can run the python demos, > although the CPP demos don't run... I use "cmake ." followed by "make" and > get: > > --------- > $ make > Linking CXX executable demo_poisson > /opt/rh/devtoolset-2/root/usr/libexec/gcc/x86_64-redhat-linux/4.8.2/ld: > warning: libbz2.so.1.0, needed by > /home/laptop/.hashdist/bld/boost/qfiyw3udonv5/lib/libboost_iostreams.so, not > found (try using -rpath or -rpath-link) > /home/laptop/.hashdist/bld/boost/qfiyw3udonv5/lib/libboost_iostreams.so: > undefined reference to `BZ2_bzDecompress' > /home/laptop/.hashdist/bld/boost/qfiyw3udonv5/lib/libboost_iostreams.so: > undefined reference to `BZ2_bzCompressInit' > /home/laptop/.hashdist/bld/boost/qfiyw3udonv5/lib/libboost_iostreams.so: > undefined reference to `BZ2_bzDecompressInit' > /home/laptop/.hashdist/bld/boost/qfiyw3udonv5/lib/libboost_iostreams.so: > undefined reference to `BZ2_bzDecompressEnd' > /home/laptop/.hashdist/bld/boost/qfiyw3udonv5/lib/libboost_iostreams.so: > undefined reference to `BZ2_bzCompressEnd' > /home/laptop/.hashdist/bld/boost/qfiyw3udonv5/lib/libboost_iostreams.so: > undefined reference to `BZ2_bzCompress' > collect2: error: ld returned 1 exit status > make[2]: *** [demo_poisson] Error 1 > make[1]: *** [CMakeFiles/demo_poisson.dir/all] Error 2 > make: *** [all] Error 2 > ---------
Can you show us the output of ldd /home/laptop/.hashdist/bld/boost/qfiyw3udonv5/lib/libboost_iostreams.so ? Johannes > I found out I actually HAVE libbz2.so installed (using: "yum provides > libbz2.so.1" says I need "libbz2.so.1" which I already have, which the pc > also tells me if I type "yum install libbz2.so.1" it says: "Package > bzip2-libs-1.0.5-7.el6_0.i686 already installed and latest version / Nothing > to do")... > > So... Conclusion: I'm VERY grateful for your help - the most important > things seem to work now and I'll dig into this and try to learn from > demos/tutorials... If anyone knows about the above problem, I would be even > more happy/grateful - but it's not so important in the beginning as I enjoy > python a lot and also think I can do many things quickly in python... > > Thank you very much, Johannes, Terje and Jan! > _______________________________________________ fenics-support mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics-support
