[gdal-dev] CMAKE Report:[ 98%] Linking CXX executable pytest_runner; recompile with -fPIE/-fPIC

chris english englishchristophera at gmail.com
Sat Mar 5 19:50:12 PST 2022


This can't be a novel 'almost got there', but then not.
[ 98%] Linking CXX executable pytest_runner
/usr/bin/ld: /usr/local/lib/libpython3.6m.a(pylifecycle.o): relocation
R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE
object; recompile with -fPIE
/usr/bin/ld: /usr/local/lib/libpython3.6m.a(pystate.o): relocation
R_X86_64_32S against symbol `_PyEval_EvalFrameDefault' can not be used when
making a PIE object; recompile with -fPIE

In ubuntu-20.04, so have Python2.7, Python3.6, Python3.8, and 3.9, and
generally advised against summarily removing any, so...they stay.
Still working with git describe: v3.3.0-2898-gba4e7c404b

I'd like to say -fPIE is probably -fPIC, but beyond that I don't know how
to proceed.
Previously, to get to here, eliminated all DODS, libdap, netcdf, mrsid
references.
Any help to get beyond 98% to 100% good news appreciated.
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20220305/ca586d39/attachment.html>


More information about the gdal-dev mailing list