I am trying to install the "libh3dapi". When I run the "cmake ." command in the build folder of H3DAPI is runs fine. But when I try to run "make", it runs for sometime and gives the following error at the end.
/usr/bin/ld: /usr/local/lib/libpython2.7.a(boolobject.o): relocation R_X86_64_32 against '.data' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libpython2.7.a: could not read symboles: Bad value collect2: ld returned 1 exit status make: *** [libh3dapi.so.2.2.1] Error 1 make: *** [CmakeFiles/H3Dapi.dir/all] Error 2 make: *** [all] Error 2.
I am using Ubuntu 12.04 debian Precise. Please help. Thanks