espressomd-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ESPResSo-users] Compilation trouble


From: Christoph Junghans
Subject: Re: [ESPResSo-users] Compilation trouble
Date: Fri, 20 Oct 2017 20:50:48 +0000


On Fri, Oct 20, 2017 at 14:36 Clemens Jochum <address@hidden> wrote:

Dear all,

I'm trying to compile the newest espresso development version on my laptop and I'm running into a problem. Cmake output does not give any errors, but make only gets to 55%:

[ 55%] Linking CXX shared library libEspressoCore.so
/usr/bin/ld: /usr/local/lib/libfftw3.a(assert.o): relocation R_X86_64_PC32 against symbol `stdout@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
src/core/CMakeFiles/EspressoCore.dir/build.make:3631: recipe for target 'src/core/libEspressoCore.so.4' failed
make[2]: *** [src/core/libEspressoCore.so.4] Error 1
CMakeFiles/Makefile2:1650: recipe for target 'src/core/CMakeFiles/EspressoCore.dir/all' failed
make[1]: *** [src/core/CMakeFiles/EspressoCore.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2

The problem has something to do with glibc, but I'm not sure how exactly.
I'd be grateful for some suggestions.

You need an fftw, which was configured with “—with-pic”! (“—enable-shared” works too!)
So, you will need to rebuild the libfftw in your /ist/local!

Christoph



Best,
Clemens

--
Christoph Junghans
Web: http://www.compphys.de

reply via email to

[Prev in Thread] Current Thread [Next in Thread]