Link error from libpq++ on RedHat 6.0 and Postgres 6.5.1

Поиск
Список
Период
Сортировка
От Claudio Cicognani
Тема Link error from libpq++ on RedHat 6.0 and Postgres 6.5.1
Дата
Msg-id 37D68979.573E4A5C@btstore.com
обсуждение исходный текст
Список pgsql-interfaces
 
 
 
Hallo,

I received the following error when compiling C++ code (using -lpq++
-lpq -lcrypt) with Postgres

6.5.1 (last RPM files) on Red Hat 6.0 (glibc 2) :
/usr/lib/libpq++.so: undefined reference to `clone__Q2t12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b1i03Rep'

/usr/lib/libpq++.so: undefined reference to `__dl__Q2t12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b1i03RepPv'

/usr/lib/libpq++.so: undefined reference to `__eh_pc' collect2: ld returned 1 exit status

As suggested by Thomas Lockhart, I have downloaded the last RPM source format from ftp.postgresql.org
and try to rebuild the package (from root user) with:

rpm --rebuild postgresql.6.5.1-2.src.rpm

or with:

rpm -ivv postgresql.6.5.1-2.src.rpm
cd /usr/src/redhat/SPECS
rpm -ba postgresql.6.5.1.spec

The build process completed well, but where is the new binary RPM package ?
(The default location is /usr/src/redhat/RPMS/i386, but is empty !!)

PS. Attachment are the postgres "spec" file and part of the "rpm -ba" result file.

Some helps ?
Thanks in advance.

Claudio Cicognani
braintech@btstore.com
 
 

Вложения

В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Jeff MacDonald
Дата:
Сообщение: Re: [INTERFACES] Message-id: <37d5c912.1673.0@chariot.net.au>
Следующее
От: "Ross J. Reedstrom"
Дата:
Сообщение: Re: [INTERFACES] PGACCESS formdemo.sql