question about compiling polymake in ubuntu 14.04
Posted: 23 Sep 2014, 17:43
Hello,
I'm trying to compile polymake 2.13-1 on an Ubuntu 14.04 LTS and get the following error.
I recompiled nauty inside build.x86_64/bundled/nauty/staticlib/nauty with -fPIC but I still get the same error message.
I got the same error also with the current polymake version from github.
I'll appreciate any help or comment.
Thanks
I'm trying to compile polymake 2.13-1 on an Ubuntu 14.04 LTS and get the following error.
Code: Select all
g++ -shared -L/usr/local/lib -fstack-protector -o ../../lib/graph.so GraphIso.o ../../staticlib/nauty/libnauty.a -lmpfr -lgmp -lpthread
/usr/bin/ld: ../../staticlib/nauty/libnauty.a(naugraph.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
../../staticlib/nauty/libnauty.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make[1]: *** [../../lib/graph.so] Error 1
make[1]: Leaving directory `/home/vissarion/workspace/polymake-2.13-1/build.x86_64/bundled/nauty/apps/graph'
make: *** [compile] Error 2
I got the same error also with the current polymake version from github.
I'll appreciate any help or comment.
Thanks