This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Redcxx
Recipients Redcxx
Date 2019-09-11.13:47:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1568209663.11.0.274214516349.issue38111@roundup.psfhosted.org>
In-reply-to
Content
Python failed `make` when building from source if `--enabled-share` is pass in when running `./configure`.

````
...(some output which seem irrevelent)
/bin/ld: /home/e38160wl/Python3.7.4/local/lib/libssl.a(s3_meth.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/home/e38160wl/Python3.7.4/local/lib/libssl.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
ln: failed to access ‘libpython3.7m.so.1.0’: No such file or directory
make: *** [libpython3.7m.so] Error 1

````

I tried adding `CFLAGS="-fPIC"` as parameter of `./configure` but it does not make any changes
History
Date User Action Args
2019-09-11 13:47:43Redcxxsetrecipients: + Redcxx
2019-09-11 13:47:43Redcxxsetmessageid: <1568209663.11.0.274214516349.issue38111@roundup.psfhosted.org>
2019-09-11 13:47:43Redcxxlinkissue38111 messages
2019-09-11 13:47:42Redcxxcreate