Re: pgadmin4: The python-config executable could not be found. - Mailing list pgadmin-support

From Mark Csaba
Subject Re: pgadmin4: The python-config executable could not be found.
Date
Msg-id zarafa.57160388.24f8.5d723f2504b6fa95@mail.gwyll.eu
Whole thread Raw
In response to Re: pgadmin4: The python-config executable could not be found.  (Luca Ferrari <fluca1978@infinito.it>)
List pgadmin-support
Hello,

I'm not an expert on this, but I would start with this line:
"undefined reference to symbol 'pthread_sigmask@@GLIBC_2.2.5'"

Csaba


-----Original Message-----
From: pgadmin-support-owner@postgresql.org [mailto:pgadmin-support-owner@postgresql.org] On Behalf Of Luca Ferrari
Sent: Tuesday, April 19, 2016 12:05 PM
To: Neel Patel
Cc: pgadmin-support@postgresql.org
Subject: Re: [pgadmin-support] pgadmin4: The python-config executable could not be found.

On Tue, Apr 19, 2016 at 11:00 AM, Neel Patel <neel.patel@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.oServer.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

Attachment

pgadmin-support by date:

Previous
From: Luca Ferrari
Date:
Subject: Re: pgadmin4: The python-config executable could not be found.
Next
From: Luca Ferrari
Date:
Subject: pgadmin4: no module flask