New submission from Redcxx <weilue...@gmail.com>:

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

----------
components: Build
messages: 351880
nosy: Redcxx
priority: normal
severity: normal
status: open
title: Error while building Python from source
type: crash
versions: Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38111>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to