[CIG-SHORT] pylith install error

Matthew Knepley knepley at mcs.anl.gov
Wed May 21 03:45:48 PDT 2014


On Wed, May 21, 2014 at 3:26 AM, Charles Williams <willic3 at gmail.com> wrote:

> Something is strange.  Do you not have these symbols in libdl?
>
> Also, why are you using pylith-1.8.0?
>

Yes definitely upgrade.

The error comes because your libcppunit.so depends on -ldl, but it comes
after in
the link line. I am guessing that we have fixed the order in the latest
release.

  Matt


> Charles
>
>
> On 21/05/2014, at 8:00 pm, Birendra jha <bjha7333 at yahoo.com> wrote:
>
> > Hi
> >
> > I am trying to install pylith-1.8.0 and I am getting the following error
> during make:
> >
> > /bin/bash ../../libtool --tag=CXX   --mode=link g++  -g -O2
> -DMPICH_IGNORE_CXX_SEEK -ldl -L/home/bjha/pylith-1.8.0/lib  -o
> DllPlugInTester DllPlugInTester.o CommandLineParser.o ../../src/cppunit/
> libcppunit.la -lm
> > mkdir .libs
> > g++ -g -O2 -DMPICH_IGNORE_CXX_SEEK -o .libs/DllPlugInTester
> DllPlugInTester.o CommandLineParser.o  -ldl -L/home/bjha/pylith-1.8.0/lib
> ../../src/cppunit/.libs/libcppunit.so -lm  -Wl,--rpath
> -Wl,/home/bjha/pylith-1.8.0/lib
> > ../../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/bjha/build/pylith-1.8.0/cppunit-build/src/DllPlugInTester'
> > make[4]: *** [all-recursive] Error 1
> > make[4]: Leaving directory
> `/home/bjha/build/pylith-1.8.0/cppunit-build/src'
> > make[3]: *** [all-recursive] Error 1
> > make[3]: Leaving directory `/home/bjha/build/pylith-1.8.0/cppunit-build'
> > make[2]: *** [cppunit] Error 2
> > make[2]: Leaving directory `/home/bjha/build/pylith-1.8.0'
> > make[1]: *** [installed_cppunit] Error 2
> > make[1]: Leaving directory `/home/bjha/build/pylith-1.8.0'
> > make: *** [installed_pylith] Error 2
> >
> >
> > I have attached the log file.
> >
> > Thanks
> > Birendra<config.log>_______________________________________________
> > CIG-SHORT mailing list
> > CIG-SHORT at geodynamics.org
> > http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>
> Charles A. Williams
> Scientist
> GNS Science
> 1 Fairway Drive, Avalon
> PO Box 30368
> Lower Hutt  5040
> New Zealand
> ph (office): 0064-4570-4566
> fax (office): 0064-4570-4600
> C.Williams at gns.cri.nz
>
> _______________________________________________
> CIG-SHORT mailing list
> CIG-SHORT at geodynamics.org
> http://lists.geodynamics.org/cgi-bin/mailman/listinfo/cig-short
>



-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/cig-short/attachments/20140521/4f2d2009/attachment.html>


More information about the CIG-SHORT mailing list