[CIG-SHORT] Pylith Install Error

Niz niz.moussatat at gmail.com
Tue Aug 21 03:28:52 PDT 2012


without forcing the LDLflags on make I get the following error:

----------------------------
 CommandLineParser.o ../../src/cppunit/libcppunit.la -lm
mkdir .libs
g++ -g -O2 -o .libs/DllPlugInTester DllPlugInTester.o CommandLineParser.o
-ldl -L/home/tora/pylith/lib ../../src/cppunit/.libs/libcppunit.so -lm
-Wl,--rpath -Wl,/home/tora/pylith/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/tora/build/pylith/cppunit-build/src/DllPlugInTester'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/tora/build/pylith/cppunit-build/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/tora/build/pylith/cppunit-build'
make[2]: *** [cppunit] Error 2
make[2]: Leaving directory `/home/tora/build/pylith'
make[1]: *** [installed_cppunit] Error 2
make[1]: Leaving directory `/home/tora/build/pylith'
make: *** [installed_pylith] Error 2

---------------------------------
I guess I correctet it right? didn't I?

2012/8/21 Niz <niz.moussatat at gmail.com>

> Hello Pylith People
>
> I never seem to get this instalation process right.
> I did the following:
>   mkdir -p $HOME/src/pylith
>   cd $HOME/src/pylith
>   mv $HOME/Downloads/pylith-installer-1.7.1-0.tgz .
>   tar -zxf pylith-installer-1.7.1-0.tgz
>
>   mkdir -p $HOME/build/pylith
>   cd $HOME/build/pylith
>   $HOME/src/pylith/pylith-installer-1.7.1-0/configure \
>     --with-make-threads=2 \
>     --prefix=$HOME/pylith
>   source setup.sh
>   make LDFLAGS+=-ldl
>
> %% I added the LDFLAGS because of a previous error
> %% and cleaned the build folder
>
> The install process advances further till it hits:
> checking whether -lpython2.7 is a shared library... yes
> configure: downloading missing Python dependencies
> configure: error: in `/home/tora/build/pylith/nemesis-build':
> configure: error: cannot download missing Python dependencies
> See `config.log' for more details
> make[3]: Entering directory `/home/tora/build/pylith/nemesis-build'
> make[3]: *** No targets specified and no makefile found.  Stop.
> make[3]: Leaving directory `/home/tora/build/pylith/nemesis-build'
> make[2]: *** [nemesis] Error 2
> make[2]: Leaving directory `/home/tora/build/pylith'
> make[1]: *** [installed_nemesis] Error 2
> make[1]: Leaving directory `/home/tora/build/pylith'
> make: *** [installed_pylith] Error 2
>
> As said in the Config.log, I run a Ubuntu 12.04 64bit, its a clean slate,
> meaning I am trying to make pylith work with 2 thread before installing
> anything else.
>
>
> Regards
>
>


-- 
*******************************************************
MOUSSATAT Nizar - PhD Student
ISTerre - Maison des Geosiences - Equipe risques
Bureau 1121 (1er étage)
Université de Grenoble, 38041 Grenoble Cedex 9, France
E-mail: nizar.moussatat at obs.ujf-grenoble.fr
Tel Bureau: +33 (0)4 76 63 51 81
Mobile       +33 (0) 6 43 59 39 44
Home        +33 (0) 4 80 38 45 93
*******************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://geodynamics.org/pipermail/cig-short/attachments/20120821/022633d0/attachment.htm 


More information about the CIG-SHORT mailing list