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

From: Claudio Cicognani <braintech(at)btstore(dot)com>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Link error from libpq++ on RedHat 6.0 and Postgres 6.5.1
Date: 1999-09-02 11:19:02
Message-ID: 37CE5D26.462CABA1@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

Some helps ?

Thanks in advance.
Claudio Cicognani
<braintech(at)btstore(dot)com>

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Robert Hiltibidal 1999-09-02 13:58:57 Re: [INTERFACES] FPK Pascal and Postgres
Previous Message Claudio Cicognani 1999-09-02 09:59:52 Link error from libpq++ on RedHat 6.0 and Postgres 6.5.1