[Twisted-Python] trouble installing 18.9.0

Joe Smongeski jsmonges at gmail.com
Tue Feb 5 14:26:39 MST 2019


I've been trying to install the latest Twisted 18.9.0 with pip install,
(using Oracle LInux 7.4),  but I'm getting compilation errors.  The first
one was:

src/twisted/test/raiser.c:4:20: fatal error: Python.h: No such file or
directory
#include "Python.h"

I was able to work around that, but now I"m getting this error:

gcc -pthread -shared -Wl,-z,relro -g -L ./python3.6m
build/temp.linux-x86_64-3.6/src/twisted/test/raiser.o -L/usr/lib64
*-lpython3.6m* -o build/lib.linux-x86_64-3.6/twisted/test/
raiser.cpython-36m-x86_64-linux-gnu.so
   * /etc/alternatives/ld: cannot find -lpython3.6m*
    collect2: error: ld returned 1 exit status
    error: command 'gcc' failed with exit status 1

Since the compile is under the control of all the install scripts, I can't
determine where the linker is looking for "python36m".

Any help would be much appreciated!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20190205/4e46d585/attachment.html>


More information about the Twisted-Python mailing list