These are chat archives for esa/pykep

12th
Mar 2015
Manikanta Reddy D
@manikantareddyd
Mar 12 2015 02:47

I'm unable to figure this out. Can someone please help me with building pykep in ubuntu.

[ 78%] Building CXX object src/CMakeFiles/keplerian_toolbox.dir/third_party/libsgp4/Observer.cpp.o
[ 80%] Building CXX object src/CMakeFiles/keplerian_toolbox.dir/third_party/libsgp4/Eci.cpp.o
Linking CXX shared library libkeplerian_toolbox.so
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libboost_date_time.a(greg_month.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/libboost_date_time.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make[2]: [src/libkeplerian_toolbox.so] Error 1
make1:
[src/CMakeFiles/keplerian_toolbox.dir/all] Error 2
make: * [all] Error 2