Where is the library?

Started by Mayanover 24 years ago4 messagesgeneral
Jump to latest
#1Mayan
escalante@canada.com

I want to hook up an application witten in C++ to PostgreSQL, but I
don't have any idea as to where the linker should look for the
PostreSQL
library. Any body?

#2Keary Suska
hierophant@pcisys.net
In reply to: Mayan (#1)
Re: Where is the library?

Depend on where you installed it. By default you would find headers/lbs
either under /usr/local/pgsql, or /usr/local/[lib|include]/pgsql, I don't
recall which. If you installed via RPM or some packaging utility, you may
have to install a "postgres-libs" package.

Keary Suska
Esoteritech, Inc.
"Leveraging Open Source for a better Internet"

Show quoted text

From: Mayan <escalante@canada.com>
Organization: VIF Internet b3
Date: Thu, 25 Oct 2001 03:34:56 GMT
To: pgsql-general@postgresql.org
Subject: [GENERAL] Where is the library?

I want to hook up an application witten in C++ to PostgreSQL, but I
don't have any idea as to where the linker should look for the
PostreSQL
library. Any body?

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

In reply to: Mayan (#1)
Re: Where is the library?

If you did not change the standard location, with different values for the
--prefix, --exec-prefix or --libdir configure options, they should be in:

/usr/local/pgsql/lib

Regards,

Antonio Sergio

Mayan wrote:

Show quoted text

I want to hook up an application witten in C++ to PostgreSQL, but I
don't have any idea as to where the linker should look for the
PostreSQL
library. Any body?

#4Sam Cao
scao@verio.net
In reply to: Mayan (#1)
Solaris 2.6

I am running Solaris 2.6 (on Sparc) and would like to install
PostgreSQL, dose new version PostgreSQL 7.1.3 support Solaris 2.6? I
only see 2.7 and 2.8 in the doc.

Thanks,

Sam,