ninia / jep

Embed Python in Java
Other
1.27k stars 146 forks source link

can't install jep on my machine #509

Closed Ruturaj4 closed 8 months ago

Ruturaj4 commented 8 months ago

A part of trace:

      gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPACKAGE=jep -DUSE_DEALLOC=1 -DJEP_NUMPY_ENABLED=1 -DVERSION=\"4.1.1\" -DPYTHON_LDLIBRARY=\"libpython3.7m.a\" -I/nfs/apps/7/arch/generic/Java/1.8.0_121/include -I/nfs/apps/7/arch/generic/Java/1.8.0_121/include/linux -Isrc/main/c/Include -Ibuild/include -I/panfs/panfs.ittc.ku.edu/scratch/r668v698/DIRTY/dirtenv/lib/python3.7/site-packages/numpy/core/include -I/panfs/panfs.ittc.ku.edu/scratch/r668v698/DIRTY/dirtenv/include -I/nfs/apps/7/arch/generic/Python/3.7.4/include/python3.7m -c src/main/c/Objects/pyjcollection.c -o build/temp.linux-x86_64-cpython-37/src/main/c/Objects/pyjcollection.o
      gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPACKAGE=jep -DUSE_DEALLOC=1 -DJEP_NUMPY_ENABLED=1 -DVERSION=\"4.1.1\" -DPYTHON_LDLIBRARY=\"libpython3.7m.a\" -I/nfs/apps/7/arch/generic/Java/1.8.0_121/include -I/nfs/apps/7/arch/generic/Java/1.8.0_121/include/linux -Isrc/main/c/Include -Ibuild/include -I/panfs/panfs.ittc.ku.edu/scratch/r668v698/DIRTY/dirtenv/lib/python3.7/site-packages/numpy/core/include -I/panfs/panfs.ittc.ku.edu/scratch/r668v698/DIRTY/dirtenv/include -I/nfs/apps/7/arch/generic/Python/3.7.4/include/python3.7m -c src/main/c/Objects/pyjconstructor.c -o build/temp.linux-x86_64-cpython-37/src/main/c/Objects/pyjconstructor.o
      gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPACKAGE=jep -DUSE_DEALLOC=1 -DJEP_NUMPY_ENABLED=1 -DVERSION=\"4.1.1\" -DPYTHON_LDLIBRARY=\"libpython3.7m.a\" -I/nfs/apps/7/arch/generic/Java/1.8.0_121/include -I/nfs/apps/7/arch/generic/Java/1.8.0_121/include/linux -Isrc/main/c/Include -Ibuild/include -I/panfs/panfs.ittc.ku.edu/scratch/r668v698/DIRTY/dirtenv/lib/python3.7/site-packages/numpy/core/include -I/panfs/panfs.ittc.ku.edu/scratch/r668v698/DIRTY/dirtenv/include -I/nfs/apps/7/arch/generic/Python/3.7.4/include/python3.7m -c src/main/c/Objects/pyjfield.c -o build/temp.linux-x86_64-cpython-37/src/main/c/Objects/pyjfield.o
      gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPACKAGE=jep -DUSE_DEALLOC=1 -DJEP_NUMPY_ENABLED=1 -DVERSION=\"4.1.1\" -DPYTHON_LDLIBRARY=\"libpython3.7m.a\" -I/nfs/apps/7/arch/generic/Java/1.8.0_121/include -I/nfs/apps/7/arch/generic/Java/1.8.0_121/include/linux -Isrc/main/c/Include -Ibuild/include -I/panfs/panfs.ittc.ku.edu/scratch/r668v698/DIRTY/dirtenv/lib/python3.7/site-packages/numpy/core/include -I/panfs/panfs.ittc.ku.edu/scratch/r668v698/DIRTY/dirtenv/include -I/nfs/apps/7/arch/generic/Python/3.7.4/include/python3.7m -c src/main/c/Objects/pyjiterable.c -o build/temp.linux-x86_64-cpython-37/src/main/c/Objects/pyjiterable.o
      gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPACKAGE=jep -DUSE_DEALLOC=1 -DJEP_NUMPY_ENABLED=1 -DVERSION=\"4.1.1\" -DPYTHON_LDLIBRARY=\"libpython3.7m.a\" -I/nfs/apps/7/arch/generic/Java/1.8.0_121/include -I/nfs/apps/7/arch/generic/Java/1.8.0_121/include/linux -Isrc/main/c/Include -Ibuild/include -I/panfs/panfs.ittc.ku.edu/scratch/r668v698/DIRTY/dirtenv/lib/python3.7/site-packages/numpy/core/include -I/panfs/panfs.ittc.ku.edu/scratch/r668v698/DIRTY/dirtenv/include -I/nfs/apps/7/arch/generic/Python/3.7.4/include/python3.7m -c src/main/c/Objects/pyjiterator.c -o build/temp.linux-x86_64-cpython-37/src/main/c/Objects/pyjiterator.o
      gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPACKAGE=jep -DUSE_DEALLOC=1 -DJEP_NUMPY_ENABLED=1 -DVERSION=\"4.1.1\" -DPYTHON_LDLIBRARY=\"libpython3.7m.a\" -I/nfs/apps/7/arch/generic/Java/1.8.0_121/include -I/nfs/apps/7/arch/generic/Java/1.8.0_121/include/linux -Isrc/main/c/Include -Ibuild/include -I/panfs/panfs.ittc.ku.edu/scratch/r668v698/DIRTY/dirtenv/lib/python3.7/site-packages/numpy/core/include -I/panfs/panfs.ittc.ku.edu/scratch/r668v698/DIRTY/dirtenv/include -I/nfs/apps/7/arch/generic/Python/3.7.4/include/python3.7m -c src/main/c/Objects/pyjlist.c -o build/temp.linux-x86_64-cpython-37/src/main/c/Objects/pyjlist.o
      gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPACKAGE=jep -DUSE_DEALLOC=1 -DJEP_NUMPY_ENABLED=1 -DVERSION=\"4.1.1\" -DPYTHON_LDLIBRARY=\"libpython3.7m.a\" -I/nfs/apps/7/arch/generic/Java/1.8.0_121/include -I/nfs/apps/7/arch/generic/Java/1.8.0_121/include/linux -Isrc/main/c/Include -Ibuild/include -I/panfs/panfs.ittc.ku.edu/scratch/r668v698/DIRTY/dirtenv/lib/python3.7/site-packages/numpy/core/include -I/panfs/panfs.ittc.ku.edu/scratch/r668v698/DIRTY/dirtenv/include -I/nfs/apps/7/arch/generic/Python/3.7.4/include/python3.7m -c src/main/c/Objects/pyjmap.c -o build/temp.linux-x86_64-cpython-37/src/main/c/Objects/pyjmap.o
      gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPACKAGE=jep -DUSE_DEALLOC=1 -DJEP_NUMPY_ENABLED=1 -DVERSION=\"4.1.1\" -DPYTHON_LDLIBRARY=\"libpython3.7m.a\" -I/nfs/apps/7/arch/generic/Java/1.8.0_121/include -I/nfs/apps/7/arch/generic/Java/1.8.0_121/include/linux -Isrc/main/c/Include -Ibuild/include -I/panfs/panfs.ittc.ku.edu/scratch/r668v698/DIRTY/dirtenv/lib/python3.7/site-packages/numpy/core/include -I/panfs/panfs.ittc.ku.edu/scratch/r668v698/DIRTY/dirtenv/include -I/nfs/apps/7/arch/generic/Python/3.7.4/include/python3.7m -c src/main/c/Objects/pyjmethod.c -o build/temp.linux-x86_64-cpython-37/src/main/c/Objects/pyjmethod.o
      gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPACKAGE=jep -DUSE_DEALLOC=1 -DJEP_NUMPY_ENABLED=1 -DVERSION=\"4.1.1\" -DPYTHON_LDLIBRARY=\"libpython3.7m.a\" -I/nfs/apps/7/arch/generic/Java/1.8.0_121/include -I/nfs/apps/7/arch/generic/Java/1.8.0_121/include/linux -Isrc/main/c/Include -Ibuild/include -I/panfs/panfs.ittc.ku.edu/scratch/r668v698/DIRTY/dirtenv/lib/python3.7/site-packages/numpy/core/include -I/panfs/panfs.ittc.ku.edu/scratch/r668v698/DIRTY/dirtenv/include -I/nfs/apps/7/arch/generic/Python/3.7.4/include/python3.7m -c src/main/c/Objects/pyjmonitor.c -o build/temp.linux-x86_64-cpython-37/src/main/c/Objects/pyjmonitor.o
      gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPACKAGE=jep -DUSE_DEALLOC=1 -DJEP_NUMPY_ENABLED=1 -DVERSION=\"4.1.1\" -DPYTHON_LDLIBRARY=\"libpython3.7m.a\" -I/nfs/apps/7/arch/generic/Java/1.8.0_121/include -I/nfs/apps/7/arch/generic/Java/1.8.0_121/include/linux -Isrc/main/c/Include -Ibuild/include -I/panfs/panfs.ittc.ku.edu/scratch/r668v698/DIRTY/dirtenv/lib/python3.7/site-packages/numpy/core/include -I/panfs/panfs.ittc.ku.edu/scratch/r668v698/DIRTY/dirtenv/include -I/nfs/apps/7/arch/generic/Python/3.7.4/include/python3.7m -c src/main/c/Objects/pyjmultimethod.c -o build/temp.linux-x86_64-cpython-37/src/main/c/Objects/pyjmultimethod.o
      gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPACKAGE=jep -DUSE_DEALLOC=1 -DJEP_NUMPY_ENABLED=1 -DVERSION=\"4.1.1\" -DPYTHON_LDLIBRARY=\"libpython3.7m.a\" -I/nfs/apps/7/arch/generic/Java/1.8.0_121/include -I/nfs/apps/7/arch/generic/Java/1.8.0_121/include/linux -Isrc/main/c/Include -Ibuild/include -I/panfs/panfs.ittc.ku.edu/scratch/r668v698/DIRTY/dirtenv/lib/python3.7/site-packages/numpy/core/include -I/panfs/panfs.ittc.ku.edu/scratch/r668v698/DIRTY/dirtenv/include -I/nfs/apps/7/arch/generic/Python/3.7.4/include/python3.7m -c src/main/c/Objects/pyjnumber.c -o build/temp.linux-x86_64-cpython-37/src/main/c/Objects/pyjnumber.o
      gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPACKAGE=jep -DUSE_DEALLOC=1 -DJEP_NUMPY_ENABLED=1 -DVERSION=\"4.1.1\" -DPYTHON_LDLIBRARY=\"libpython3.7m.a\" -I/nfs/apps/7/arch/generic/Java/1.8.0_121/include -I/nfs/apps/7/arch/generic/Java/1.8.0_121/include/linux -Isrc/main/c/Include -Ibuild/include -I/panfs/panfs.ittc.ku.edu/scratch/r668v698/DIRTY/dirtenv/lib/python3.7/site-packages/numpy/core/include -I/panfs/panfs.ittc.ku.edu/scratch/r668v698/DIRTY/dirtenv/include -I/nfs/apps/7/arch/generic/Python/3.7.4/include/python3.7m -c src/main/c/Objects/pyjobject.c -o build/temp.linux-x86_64-cpython-37/src/main/c/Objects/pyjobject.o
      gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPACKAGE=jep -DUSE_DEALLOC=1 -DJEP_NUMPY_ENABLED=1 -DVERSION=\"4.1.1\" -DPYTHON_LDLIBRARY=\"libpython3.7m.a\" -I/nfs/apps/7/arch/generic/Java/1.8.0_121/include -I/nfs/apps/7/arch/generic/Java/1.8.0_121/include/linux -Isrc/main/c/Include -Ibuild/include -I/panfs/panfs.ittc.ku.edu/scratch/r668v698/DIRTY/dirtenv/lib/python3.7/site-packages/numpy/core/include -I/panfs/panfs.ittc.ku.edu/scratch/r668v698/DIRTY/dirtenv/include -I/nfs/apps/7/arch/generic/Python/3.7.4/include/python3.7m -c src/main/c/Objects/pyjtype.c -o build/temp.linux-x86_64-cpython-37/src/main/c/Objects/pyjtype.o
      gcc -pthread -shared build/temp.linux-x86_64-cpython-37/src/main/c/Jep/convert_j2p.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/convert_p2j.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/ArrayList.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/AutoCloseable.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/BigInteger.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/Boolean.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/Buffer.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/Byte.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/ByteBuffer.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/ByteOrder.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/CharBuffer.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/Character.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/Class.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/ClassLoader.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/Collection.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/Collections.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/Comparable.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/Constructor.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/Double.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/DoubleBuffer.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/Entry.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/Field.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/Float.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/FloatBuffer.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/HashMap.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/IntBuffer.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/Integer.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/Iterable.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/Iterator.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/JPyCallable.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/JPyObject.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/JepException.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/List.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/Long.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/LongBuffer.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/Map.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/Member.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/Method.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/Modifier.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/Number.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/Object.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/Proxy.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/Short.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/ShortBuffer.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/String.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/java_access/Throwable.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/jep.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/jep_exceptions.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/jep_numpy.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/jep_util.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/maininterpreter.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/pyembed.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/python/invocationhandler.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/python/jep_object.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/python/jpycallable.o build/temp.linux-x86_64-cpython-37/src/main/c/Jep/python/pypointer.o build/temp.linux-x86_64-cpython-37/src/main/c/Objects/pyjarray.o build/temp.linux-x86_64-cpython-37/src/main/c/Objects/pyjautocloseable.o build/temp.linux-x86_64-cpython-37/src/main/c/Objects/pyjbuffer.o build/temp.linux-x86_64-cpython-37/src/main/c/Objects/pyjclass.o build/temp.linux-x86_64-cpython-37/src/main/c/Objects/pyjcollection.o build/temp.linux-x86_64-cpython-37/src/main/c/Objects/pyjconstructor.o build/temp.linux-x86_64-cpython-37/src/main/c/Objects/pyjfield.o build/temp.linux-x86_64-cpython-37/src/main/c/Objects/pyjiterable.o build/temp.linux-x86_64-cpython-37/src/main/c/Objects/pyjiterator.o build/temp.linux-x86_64-cpython-37/src/main/c/Objects/pyjlist.o build/temp.linux-x86_64-cpython-37/src/main/c/Objects/pyjmap.o build/temp.linux-x86_64-cpython-37/src/main/c/Objects/pyjmethod.o build/temp.linux-x86_64-cpython-37/src/main/c/Objects/pyjmonitor.o build/temp.linux-x86_64-cpython-37/src/main/c/Objects/pyjmultimethod.o build/temp.linux-x86_64-cpython-37/src/main/c/Objects/pyjnumber.o build/temp.linux-x86_64-cpython-37/src/main/c/Objects/pyjobject.o build/temp.linux-x86_64-cpython-37/src/main/c/Objects/pyjtype.o -L/nfs/apps/7/arch/generic/Java/1.8.0_121/jre/lib/amd64/server/ -ljvm -lpython3.7m -ldl -o build/lib.linux-x86_64-cpython-37/jep/jep.cpython-37m-x86_64-linux-gnu.so -L/nfs/apps/7/arch/generic/Python/3.7.4/lib
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(abstract.o): requires dynamic R_X86_64_PC32 reloc against 'PyType_IsSubtype' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(boolobject.o): requires unsupported dynamic reloc 11; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(bytearrayobject.o): requires dynamic R_X86_64_32 reloc against '_PyByteArray_empty_string' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(bytesobject.o): requires dynamic R_X86_64_PC32 reloc against 'memchr' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(call.o): requires unsupported dynamic reloc 11; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(call.o): requires dynamic R_X86_64_PC32 reloc against '_PyRuntime' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(classobject.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(codeobject.o): requires unsupported dynamic reloc 11; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(complexobject.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(exceptions.o): requires dynamic R_X86_64_PC32 reloc against 'PyTuple_New' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(floatobject.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(frameobject.o): requires dynamic R_X86_64_32 reloc against '_Py_NoneStruct' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(frameobject.o): requires dynamic R_X86_64_PC32 reloc against '_PyRuntime' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(funcobject.o): requires unsupported dynamic reloc 11; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(iterobject.o): requires dynamic R_X86_64_PC32 reloc against 'PyLong_AsSsize_t' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(listobject.o): requires dynamic R_X86_64_PC32 reloc against '_Py_NoneStruct' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(longobject.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(dictobject.o): requires unsupported dynamic reloc 11; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(dictobject.o): requires dynamic R_X86_64_PC32 reloc against 'PyObject_RichCompareBool' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(memoryobject.o): requires dynamic R_X86_64_PC32 reloc against 'PyExc_BufferError' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(methodobject.o): requires dynamic R_X86_64_32 reloc against '_Py_NoneStruct' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(moduleobject.o): requires dynamic R_X86_64_PC32 reloc against 'PyCFunction_NewEx' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(object.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(obmalloc.o): requires dynamic R_X86_64_PC32 reloc against 'mmap64' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(capsule.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(rangeobject.o): requires dynamic R_X86_64_PC32 reloc against '_PyLong_Zero' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(setobject.o): requires unsupported dynamic reloc 11; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(sliceobject.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(structseq.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(tupleobject.o): requires dynamic R_X86_64_PC32 reloc against 'PyObject_RichCompareBool' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(typeobject.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(unicodeobject.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(unicodectype.o): requires unsupported dynamic reloc 11; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(weakrefobject.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(_warnings.o): requires dynamic R_X86_64_PC32 reloc against '_PyRuntime' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(bltinmodule.o): requires unsupported dynamic reloc 11; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(ceval.o): requires dynamic R_X86_64_PC32 reloc against '_PyRuntime' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(ceval.o): requires dynamic R_X86_64_PC32 reloc against 'PyUnicode_AsUTF8' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(ceval.o): requires dynamic R_X86_64_PC32 reloc against '_PyRuntime' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(compile.o): requires unsupported dynamic reloc 11; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(codecs.o): requires dynamic R_X86_64_PC32 reloc against 'PyExc_UnicodeEncodeError' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(errors.o): requires dynamic R_X86_64_PC32 reloc against '_PyRuntime' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(errors.o): requires dynamic R_X86_64_PC32 reloc against '_PyRuntime' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(future.o): requires dynamic R_X86_64_PC32 reloc against 'PyObject_Malloc' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(getargs.o): requires unsupported dynamic reloc 11; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(getversion.o): requires dynamic R_X86_64_PC32 reloc against 'Py_GetCompiler' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(import.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(importdl.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(marshal.o): requires dynamic R_X86_64_PC32 reloc against 'PyBuffer_FillInfo' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(modsupport.o): requires unsupported dynamic reloc 11; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(mysnprintf.o): requires dynamic R_X86_64_PC32 reloc against 'vsnprintf' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(pathconfig.o): requires dynamic R_X86_64_PC32 reloc against '_PyCoreConfig_Read' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(peephole.o): requires dynamic R_X86_64_PC32 reloc against 'memset' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(pyarena.o): requires dynamic R_X86_64_PC32 reloc against 'PyMem_Malloc' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(pyhash.o): requires unsupported dynamic reloc 11; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(pylifecycle.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(pylifecycle.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(pystate.o): requires dynamic R_X86_64_PC32 reloc against '_PyMem_SetDefaultAllocator' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(context.o): requires dynamic R_X86_64_PC32 reloc against '_Py_NoneStruct' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(hamt.o): requires unsupported dynamic reloc 11; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(pythonrun.o): requires dynamic R_X86_64_PC32 reloc against 'PyErr_Fetch' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(pythonrun.o): requires dynamic R_X86_64_PC32 reloc against 'PyErr_Fetch' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(pytime.o): requires dynamic R_X86_64_PC32 reloc against 'ceil' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(bootstrap_hash.o): requires dynamic R_X86_64_PC32 reloc against 'PyEval_SaveThread' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(symtable.o): requires dynamic R_X86_64_PC32 reloc against 'PyLong_AsLong' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(sysmodule.o): requires dynamic R_X86_64_PC32 reloc against '_PyRuntime' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(thread.o): requires dynamic R_X86_64_PC32 reloc against 'PyMem_RawFree' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(traceback.o): requires dynamic R_X86_64_32 reloc against '_Py_NoneStruct' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(pystrcmp.o): requires dynamic R_X86_64_PC32 reloc against '__ctype_tolower_loc' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(pystrtod.o): requires unsupported dynamic reloc 11; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(pystrhex.o): requires dynamic R_X86_64_PC32 reloc against 'PyUnicode_New' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(dtoa.o): requires unsupported dynamic reloc 11; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(formatter_unicode.o): requires unsupported dynamic reloc 11; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(fileutils.o): requires unsupported dynamic reloc 11; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(dynload_shlib.o): requires dynamic R_X86_64_PC32 reloc against 'strchr' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(getpath.o): requires dynamic R_X86_64_PC32 reloc against 'wcslen' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(main.o): requires dynamic R_X86_64_PC32 reloc against 'PyList_New' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(gcmodule.o): requires dynamic R_X86_64_PC32 reloc against '_PyRuntime' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(posixmodule.o): requires unsupported dynamic reloc 11; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(errnomodule.o): requires dynamic R_X86_64_PC32 reloc against 'PyUnicode_FromString' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(pwdmodule.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(_sre.o): requires unsupported dynamic reloc 11; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(_codecsmodule.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(_weakref.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(_functoolsmodule.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(_operator.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(_collectionsmodule.o): requires dynamic R_X86_64_PC32 reloc against '_Py_NoneStruct' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(_abc.o): requires dynamic R_X86_64_PC32 reloc against 'PyWeakref_NewRef' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(itertoolsmodule.o): requires unsupported dynamic reloc 11; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(atexitmodule.o): requires dynamic R_X86_64_PC32 reloc against 'PyModule_GetState' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(signalmodule.o): requires dynamic R_X86_64_PC32 reloc against '__errno_location' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(_stat.o): requires dynamic R_X86_64_PC32 reloc against 'PyLong_AsUnsignedLong' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(timemodule.o): requires dynamic R_X86_64_PC32 reloc against '_PyTime_GetPerfCounter' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(_threadmodule.o): requires dynamic R_X86_64_PC32 reloc against 'PyThreadState_Get' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(_localemodule.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(_iomodule.o): requires dynamic R_X86_64_PC32 reloc against 'PyModule_GetState' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(iobase.o): requires dynamic R_X86_64_PC32 reloc against '_Py_FalseStruct' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(fileio.o): requires dynamic R_X86_64_PC32 reloc against 'PyExc_TypeError' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(bytesio.o): requires dynamic R_X86_64_PC32 reloc against 'PyBytes_FromStringAndSize' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(bufferedio.o): requires dynamic R_X86_64_PC32 reloc against '_PyIO_get_module_state' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(bufferedio.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(textio.o): requires dynamic R_X86_64_PC32 reloc against '_Py_NoneStruct' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(stringio.o): requires dynamic R_X86_64_PC32 reloc against 'PyMem_Malloc' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(zipimport.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(faulthandler.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(_tracemalloc.o): requires dynamic R_X86_64_PC32 reloc against '_Py_hashtable_set' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(hashtable.o): requires dynamic R_X86_64_PC32 reloc against 'memset' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(symtablemodule.o): requires dynamic R_X86_64_32 reloc against 'PyUnicode_FSDecoder' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(xxsubtype.o): requires dynamic R_X86_64_PC32 reloc against 'PyList_Type' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(getbuildinfo.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(acceler.o): requires dynamic R_X86_64_PC32 reloc against 'PyObject_Malloc' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(grammar1.o): requires unsupported dynamic reloc 11; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(node.o): requires dynamic R_X86_64_PC32 reloc against 'PyObject_Free' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(myreadline.o): requires dynamic R_X86_64_PC32 reloc against 'PyMem_RawMalloc' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(parsetok.o): requires dynamic R_X86_64_PC32 reloc against 'PyParser_New' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(tokenizer.o): requires dynamic R_X86_64_PC32 reloc against 'fileno' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(tokenizer.o): requires dynamic R_X86_64_PC32 reloc against '__ctype_b_loc' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(accu.o): requires dynamic R_X86_64_PC32 reloc against 'PyList_New' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(bytes_methods.o): requires dynamic R_X86_64_PC32 reloc against 'memchr' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(cellobject.o): requires dynamic R_X86_64_PC32 reloc against 'PyExc_ValueError' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(descrobject.o): requires dynamic R_X86_64_PC32 reloc against 'PyType_IsSubtype' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(enumobject.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(genobject.o): requires dynamic R_X86_64_PC32 reloc against '_Py_NoneStruct' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(fileobject.o): requires dynamic R_X86_64_PC32 reloc against '_Py_NoneStruct' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(odictobject.o): requires dynamic R_X86_64_PC32 reloc against 'PyObject_GetIter' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(namespaceobject.o): requires dynamic R_X86_64_PC32 reloc against 'PyDict_New' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(Python-ast.o): requires dynamic R_X86_64_32 reloc against '_Py_NoneStruct' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(Python-ast.o): requires dynamic R_X86_64_PC32 reloc against 'PyObject_IsInstance' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(asdl.o): requires dynamic R_X86_64_PC32 reloc against 'PyArena_Malloc' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(ast.o): requires dynamic R_X86_64_PC32 reloc against 'PyErr_ProgramTextObject' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(ast_opt.o): requires dynamic R_X86_64_PC32 reloc against 'PyObject_IsTrue' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(ast_unparse.o): requires dynamic R_X86_64_PC32 reloc against 'PyUnicode_Replace' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(getcompiler.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(getcopyright.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(getplatform.o): requires dynamic R_X86_64_32 reloc which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(mystrtoul.o): requires unsupported dynamic reloc 11; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(structmember.o): requires unsupported dynamic reloc 11; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(getopt.o): requires dynamic R_X86_64_PC32 reloc against '_PyOS_opterr' which may overflow at runtime; recompile with -fPIC
      /nfs/apps/7/arch/generic/binutils/2.37/bin/ld.gold: error: /nfs/apps/7/arch/generic/Python/3.7.4/lib/libpython3.7m.a(parser.o): requires dynamic R_X86_64_PC32 reloc against 'PyMem_Malloc' which may overflow at runtime; recompile with -fPIC
      collect2: error: ld returned 1 exit status
      error: command '/nfs/apps/7/arch/generic/GCCcore/11.2.0/bin/gcc' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for jep
  Running setup.py clean for jep
Failed to build jep
ERROR: Could not build wheels for jep, which is required to install pyproject.toml-based projects

can't build jep on my machine.

Environment (please complete the following information):

Logs Please attach the complete console output of the build.

Additional context Add any other context about the problem here.

bsteffensmeier commented 8 months ago

Your syustem is trying to link against the static library libpython3.7m.a. A shared library such as libpython3.7m.so is required to build jep. If you built python yourself you need to rebuild it with the --enable-shared option.

Ruturaj4 commented 8 months ago

I figured it out. Thanks!