← Back to team overview

dolfin team mailing list archive

Re: [Question #140129]: ufc installation

 

Question #140129 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/140129

S Wood gave more information on the question:
Ok. I have now installed python 2.6. (X64) and am using it as the
default. I get a different error from ufc when compiling using Dorsal:


/usr/bin/ld: /usr/local/lib/python2.6/config/libpython2.6.a(abstract.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/python2.6/config/libpython2.6.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [_ufc.so] Error 1
make[2]: Leaving directory `/root/Work/FEniCS/src/ufc-1.4.2/dorsal_build_dir'
make[1]: *** [CMakeFiles/_ufc.dir/all] Error 2
make[1]: Leaving directory `/root/Work/FEniCS/src/ufc-1.4.2/dorsal_build_dir'
make: *** [all] Error 2

Does this mean that I have to compile ufc with -fPIC or recompile the
python?

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.