Re: pgadmin4: The python-config executable could not be found.

From: Luca Ferrari <fluca1978(at)infinito(dot)it>
To: Mark Csaba <markcs(at)gwyll(dot)eu>
Cc: "pgadmin-support(at)postgresql(dot)org" <pgadmin-support(at)postgresql(dot)org>
Subject: Re: pgadmin4: The python-config executable could not be found.
Date: 2016-04-19 08:59:32
Message-ID: CAKoxK+7X94hRt+mdDShABjn2X73nKAKxem_YFPj808YDypffOg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

On Mon, Apr 18, 2016 at 10:27 AM, Mark Csaba <markcs(at)gwyll(dot)eu> wrote:
> Hello Luca,
>
> Try using apt-file:
>
> sudo apt-get install apt-file
> sudo apt-file update
> sudo apt-file search python-config

Thanks for the hint: that lead me to package python-dev.
However, during the building I got:

Server.o: In function `Server::~Server()':
Server.cpp:(.text+0x1f): undefined reference to `Py_Finalize'
Server.o: In function `Server::run()':
Server.cpp:(.text+0x1bb): undefined reference to `PyRun_SimpleStringFlags'
Server.cpp:(.text+0x231): undefined reference to `PyFile_FromString'
Server.cpp:(.text+0x282): undefined reference to `PyFile_AsFile'
Server.cpp:(.text+0x291): undefined reference to `PyRun_SimpleFileExFlags'
Server.o: In function `Server::Server(unsigned short)':
Server.cpp:(.text+0x62d): undefined reference to `Py_NoSiteFlag'
Server.cpp:(.text+0x661): undefined reference to `Py_SetProgramName'
Server.cpp:(.text+0x67f): undefined reference to `Py_Initialize'
Server.cpp:(.text+0x769): undefined reference to `PySys_GetObject'
Server.cpp:(.text+0x7e3): undefined reference to `PyString_FromString'
Server.cpp:(.text+0x7ee): undefined reference to `PyList_Append'
collect2: error: ld returned 1 exit status
Makefile:124: recipe for target 'pgAdmin4' failed
make: *** [pgAdmin4] Error 1

Luca

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Neel Patel 2016-04-19 09:00:02 Re: pgadmin4: The python-config executable could not be found.
Previous Message Luca Ferrari 2016-04-19 08:46:49 Re: pgadmin4: The python-config executable could not be found.