Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

[SOLVED] Compile error on PySide 1.2.2 Python 3.4.2 Ubuntu 14.04: Linking CXX shared library libshiboken.cpython-34m.so

$
0
0
Getting compile error from: python3.4 setup.py bdist_wheel —qmake=/usr/bin/qmake-qt4 Last lines of output: [ 83%] Building CXX object libshiboken/CMakeFiles/libshiboken.dir/shibokenbuffer.cpp.o Linking CXX shared library libshiboken.cpython-34m.so /usr/bin/ld: /home/steve/py342/lib/libpython3.4m.a(abstract.o): relocation R_X86_64_32S against `_Py_NotImplementedStruct’ can not be used when making a shared object; recompile with -fPIC /home/steve/py342/lib/libpython3.4m.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status make2: *** [libshiboken/libshiboken.cpython-34m.so.1.2.2] Error 1 make1: *** [libshiboken/CMakeFiles/libshiboken.dir/all] Error 2 make: *** [all] Error 2 error: Error compiling shiboken Any suggestions? TIA [SOLVED] Python 3.4.2 was built without using ./configure option ‘—enable-shared’ and the default is ‘disabled’. The PySide build apparently needs a python “..3.4.so” shared library and not a static (.a) library.

Viewing all articles
Browse latest Browse all 2113

Trending Articles