Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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/ undefined reference to `clone__Q2t12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b1i03Rep'
/usr/lib/ undefined reference to `__dl__Q2t12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_template2b1i03RepPv'
/usr/lib/ undefined reference to `__eh_pc'
collect2: ld returned 1 exit status

I have the following packages installed on my redhat linux system:

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

What a configuration you are using to compile postgresql?

Best regards,

Piotr Klaban


pgsql-ports by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group