From: | Claudio Cicognani <braintech(at)btstore(dot)com> |
---|---|
To: | PostgreSQL Interfaces <pgsql-interfaces(at)postgreSQL(dot)org> |
Subject: | Link error from libpq++ on RedHat 6.0 and Postgres 6.5.1 |
Date: | 1999-09-08 16:06:17 |
Message-ID: | 37D68979.573E4A5C@btstore.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)btstore(dot)com
Attachment | Content-Type | Size |
---|---|---|
postgresql-6.5.1.spec | text/plain | 14.5 KB |
build_result.gz | application/x-gzip | 964 bytes |
braintech.vcf | text/x-vcard | 206 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Sergio A. Kessler | 1999-09-08 17:25:13 | odbc DM 3.5x |
Previous Message | Thomas Lockhart | 1999-09-08 15:31:27 | Re: [INTERFACES] Link error from libpq++ on RedHat 6.0 and Postgres 6.5.1 |