On Tue, Apr 19, 2016 at 11:00 AM, Neel Patel <neel.pa...@enterprisedb.com> wrote: > Remove the "-lpython3.4m" from LFLAGS in Makefile and add it at the end in > "LIBS" variable after linking of Qt libraries as below.
While it compiles with python 2.7 it does not with 3.5.1 (I report this in the case it is useful): In file included from qrc_pgAdmin4.cpp:9:0: qrc_pgAdmin4.cpp:2373:44: warning: ‘qInitResources_pgAdmin4__init_variable__’ defined but not used [-Wunused-variable] Q_CONSTRUCTOR_FUNCTION(QT_MANGLE_NAMESPACE(qInitResources_pgAdmin4)) ^ /usr/include/qt4/QtCore/qglobal.h:941:21: note: in definition of macro ‘Q_CONSTRUCTOR_FUNCTION0’ static const int AFUNC ## __init_variable__ = AFUNC(); ^ qrc_pgAdmin4.cpp:2373:1: note: in expansion of macro ‘Q_CONSTRUCTOR_FUNCTION’ Q_CONSTRUCTOR_FUNCTION(QT_MANGLE_NAMESPACE(qInitResources_pgAdmin4)) ^ qrc_pgAdmin4.cpp:2373:24: note: in expansion of macro ‘QT_MANGLE_NAMESPACE’ Q_CONSTRUCTOR_FUNCTION(QT_MANGLE_NAMESPACE(qInitResources_pgAdmin4)) ^ g++ -m64 -L/usr/local/Python-3.5.1/lib/python3.5/config-3.5m -L/usr/local/Python-3.5.1/lib -lpthread -ldl -lutil -lm -Xlinker -export-dynamic -Wl,-O1 -o pgAdmin4 pgAdmin4.o BrowserWindow.o Server.o TabWindow.o WebViewWindow.o ConfigWindow.o moc_BrowserWindow.o moc_Server.o moc_TabWindow.o moc_WebViewWindow.o moc_ConfigWindow.o qrc_pgAdmin4.o -L/usr/lib/x86_64-linux-gnu -lQtWebKit -lQtGui -lQtNetwork -lQtCore -lpthread -lpython3.5m /usr/bin/ld: /usr/local/Python-3.5.1/lib/python3.5/config-3.5m/libpython3.5m.a(signalmodule.o): undefined reference to symbol 'pthread_sigmask@@GLIBC_2.2.5' /lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status Makefile:124: recipe for target 'pgAdmin4' failed make: *** [pgAdmin4] Error 1 -- Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-support