problem with postgresql-6.5.1-[1|2].i386.rpm

From: Piotr Klaban <makler(at)man(dot)torun(dot)pl>
To: pgsql-ports(at)postgresql(dot)org
Subject: problem with postgresql-6.5.1-[1|2].i386.rpm
Date: 1999-09-21 08:44:20
Message-ID: 19990921104420.F24626@man.torun.pl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Hi, I see that there is postgres-6.5.2 available since Sep 15,
but there is not postgresql-6.5.2-1.i386.rpm ;-(

I have downloaded postgresql-6.5.1-[1|2]*, installed it, and
now I have a problem with compilation of my C++ file.
(by the way there is file called /usr/include/libpq.H
in a postgresql-devel - should not it be libpq.h?).

The problem is:
g++ -I/usr/local/include -I/usr/local/pgsql/include -I/usr/include/pgsql -g -Wall -DHAVE_CONFIG_H -o pg2xbase pg2xbase.cpp -lpq -lpq++ -lxbase -lcrypt
(...)
/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

I have the following packages installed on my redhat linux system:
egcs-g77-1.1.2-12
egcs-objc-1.1.2-12
egcs-1.1.2-12
egcs-c++-1.1.2-12
libstdc++-2.9.0-12

Redhat does not offer the new gcc-2.95.1 yet. :(
libstdc++/egcs-c++ include the library /usr/lib/libstdc++-2-libc6.1-1-2.9.0.so
that have the similar "clone..." defined, but this is not the same.
stdc++ has: T clone__Q2t12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b1i0_3Rep
while
libpq++ has: U clone__Q2t12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b1i03Rep

What a configuration you are using to compile postgresql?

Best regards,

Piotr Klaban

Responses

Browse pgsql-ports by date

  From Date Subject
Next Message Imreet Singh, Gurgaon 1999-09-21 09:48:25 Help Required
Previous Message Ryan Kirkpatrick 1999-09-21 00:18:54 Re: [PORTS] Linux/Alpha patches for Postgresql 6.5.2