Thread: pgAgent build error,(Ubuntu)
Problem with building on Ubuntu:
Linking CXX executable pgagent
/usr/bin/ld: /usr/lib/gcc/i686-linux-gnu/4.8/../../../../lib/libpq.a(fe-auth.o): undefined reference to symbol 'error_message'
//lib/i386-linux-gnu/libcom_err.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [pgagent] Error 1
make[1]: *** [CMakeFiles/pgagent.dir/all] Error 2
make: *** [all] Error 2
pgAgent source 3.4.0
Ubuntu 14.02.2 x86
cmake version 2.8.12.2
wxWidgets 2.8.12
gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
postgresql 9.3.6
Any advice?
С уважением,
Beholder .
ras_atari@mail.ru
Linking CXX executable pgagent
/usr/bin/ld: /usr/lib/gcc/i686-linux-gnu/4.8/../../../../lib/libpq.a(fe-auth.o): undefined reference to symbol 'error_message'
//lib/i386-linux-gnu/libcom_err.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [pgagent] Error 1
make[1]: *** [CMakeFiles/pgagent.dir/all] Error 2
make: *** [all] Error 2
pgAgent source 3.4.0
Ubuntu 14.02.2 x86
cmake version 2.8.12.2
wxWidgets 2.8.12
gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2
postgresql 9.3.6
Any advice?
С уважением,
Beholder .
ras_atari@mail.ru
Make sure, that you install all postgresql packages (postgresql-server-dev-9.3, and libpq). 25.03.2015, 19:49, "Beholder" <ras_atari@mail.ru>: > Problem with building on Ubuntu: -- Best regards, Dmitry Voronin
tested, 100%, everything need is established, including postgresql-server-dev-9.3 and libpq, otherwise "ccmake" will not configure sources.
Четверг, 26 марта 2015, 8:29 +03:00 от Dmitry Voronin <carriingfate92@ya.ru>:
С уважением,
Beholder .
ras_atari@mail.ru
Четверг, 26 марта 2015, 8:29 +03:00 от Dmitry Voronin <carriingfate92@ya.ru>:
Make sure, that you install all postgresql packages (postgresql-server-dev-9.3, and libpq).
25.03.2015, 19:49, "Beholder" <ras_atari@mail.ru>:
Problem with building on Ubuntu:
--
Best regards, Dmitry Voronin
С уважением,
Beholder .
ras_atari@mail.ru
tested, 100%, everything need is established, including postgresql-server-dev-9.3 and libpq, otherwise "ccmake" will not configure sources.
Четверг, 26 марта 2015, 8:30 +03:00 от Dmitry Voronin <carriingfate92@yandex.ru>:
С уважением,
Beholder .
ras_atari@mail.ru
Четверг, 26 марта 2015, 8:30 +03:00 от Dmitry Voronin <carriingfate92@yandex.ru>:
Make sure, that you install all postgresql packages (postgresql-server-dev-9.3, and libpq).
25.03.2015, 19:49, "Beholder" <ras_atari@mail.ru>:
> Problem with building on Ubuntu:
--
Best regards, Dmitry Voronin
25.03.2015, 19:49, "Beholder" <ras_atari@mail.ru>:
> Problem with building on Ubuntu:
--
Best regards, Dmitry Voronin
С уважением,
Beholder .
ras_atari@mail.ru
tested, 100%, everything need is established, including postgresql-server-dev-9.3 and libpq, otherwise "ccmake" will not configure sources.
Четверг, 26 марта 2015, 8:30 +03:00 от Dmitry Voronin <carriingfate92@yandex.ru>:
С уважением,
Beholder .
ras_atari@mail.ru
Четверг, 26 марта 2015, 8:30 +03:00 от Dmitry Voronin <carriingfate92@yandex.ru>:
Make sure, that you install all postgresql packages (postgresql-server-dev-9.3, and libpq).
25.03.2015, 19:49, "Beholder" <ras_atari@mail.ru>:
> Problem with building on Ubuntu:
--
Best regards, Dmitry Voronin
--
Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support
25.03.2015, 19:49, "Beholder" <ras_atari@mail.ru>:
> Problem with building on Ubuntu:
--
Best regards, Dmitry Voronin
--
Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-support
С уважением,
Beholder .
ras_atari@mail.ru
<div><div>Make sure, that you install all postgresql packages (postgresql-server-dev-9.3, and libpq). </div></div><div> </div><div>25.03.2015,19:49, "Beholder" <ras_atari@mail.ru>:</div><blockquote type="cite">Problemwith building on Ubuntu:</blockquote><div> </div><div>-- </div><div>Best regards, Dmitry Voronin</div><div> </div>
El mié, 25-03-2015 a las 19:49 +0300, Beholder escribió: > Problem with building on Ubuntu: > > Linking CXX executable pgagent > /usr/bin/ld: /usr/lib/gcc/i686-linux-gnu/4.8/../../../../lib/libpq.a(fe-auth.o): undefined reference to symbol 'error_message' > //lib/i386-linux-gnu/libcom_err.so.2: error adding symbols: DSO > missing from command line > collect2: error: ld returned 1 exit status > make[2]: *** [pgagent] Error 1 > make[1]: *** [CMakeFiles/pgagent.dir/all] Error 2 > make: *** [all] Error 2 > Please try to find error_message reference at libcom_err with: readelf -s /lib/i386-linux-gnu/libcom_err.so.2 | grep error_message If you have no results to the above command, this is due to have installed an old version of libcom_err.so or LD_LIBRARY_PATH or ldconfig is pointing to a mismatch version of libcom_err > pgAgent source 3.4.0 > Ubuntu 14.02.2 x86 > cmake version 2.8.12.2 > wxWidgets 2.8.12 > gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2 > postgresql 9.3.6 > > Any advice? > > С уважением, > Beholder . > ras_atari@mail.ru