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_at...@mail.ru -- Sent via pgadmin-support mailing list (pgadmin-support@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-support