[CIG-SHORT] installation problems

Brad Aagaard baagaard at usgs.gov
Wed Jun 5 13:12:09 PDT 2013


This looks like a link error when building cppunit on your system. The 
easiest solution is to simply install this package rather than building 
it. On a linux system we suggest using many of the system packages to 
reduce the number of packages you need to build with PyLith. On an 
Ubuntu system, we recommend installing

libcppunit-dev
python-numpy
libproj-dev
proj-bin

You can then configure with
./configure \
     --disable-cppunit \
     --disable-numpy \
     --disable-proj4 \
     --prefix=YOUR_PREFIX_HERE

The alternative is to add the argument LDFLAGS=-dl when configuring.

Regards,
Brad Aagaard


On 06/05/2013 12:28 PM, Alexander Eliseev wrote:
> Dear pylith experts.
>
> How are you?
>
> My name is Sasha, am going to model viscoelasticity of adhesion
> numerically. I encountered the following problems while installing pylith
> from the installation manager.
>
> As I run ./configure, I encounter the following:
>   PyLith dependencies to be installed:
>
>    gcc: no, languages: (although I have gcc 4.6.3 installed)
>    Python: no(although I have 2.7.3 installed)
>    mpi: no(have mpich2 installed)
>    cppunit: yes
>    proj4: yes
>    hdf5: yes
>    h5py: yes
>    netcdf: yes
>    netNDF4 (python): yes
>    pcre: no  (dont know what this is)
>    swig: no  (the same)
>    nemesis: yes
>    numpy: yes
>    fiat: yes
>    spatialdata: yes
>    mercurial: no  (the same)
>    cmake: yes
>    petsc: yes, options: --download-chaco=1 --download-ml=1
> --download-f-blas-lapack=1
>
> Ones I run the make thing, I got the following error messages at the end:
>
> ../../src/cppunit/.libs/libcppunit.so: undefined reference to `dlsym'
> ../../src/cppunit/.libs/libcppunit.so: undefined reference to `dlopen'
> ../../src/cppunit/.libs/libcppunit.so: undefined reference to `dlclose'
> collect2: ld returned 1 exit status
> make[5]: *** [DllPlugInTester] Error 1
> make[5]: Leaving directory
> `/home/alexander/pylith-installer-1.8.0-1/cppunit-build/src/DllPlugInTester'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory
> `/home/alexander/pylith-installer-1.8.0-1/cppunit-build/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/home/alexander/pylith-installer-1.8.0-1/cppunit-build'
> make[2]: *** [cppunit] Error 2
> make[2]: Leaving directory `/home/alexander/pylith-installer-1.8.0-1'
> make[1]: *** [installed_cppunit] Error 2
> make[1]: Leaving directory `/home/alexander/pylith-installer-1.8.0-1'
> make: *** [installed_pylith] Error 2
>
> I have Ubuntu 12.04; I also have cblas and lapack already installed.
> I would greatly appreciate your help
>
> Best regards
> Sasha
>
>
>
> _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>



More information about the CIG-SHORT mailing list