From: Roland Jonsson <Roland.Jonsson@emw.ericsson.se>
To: Constantin Teodorescu <teo@flex.ro>
Cc: Suthep Chankham <suthep@it.kmitt.ac.th>
Cc: pgsql-interfaces@postgreSQL.org
Subject: [INTERFACES] Re: libpgtcl.so for Solaris ?
Date: Mon, 16 Feb 1998 10:29:16 +0100
Message-ID: <199802160929.KAA15885@turing.mo.emw.ericsson.se> (raw)
In-Reply-To: <34E55BD1.9A61F067@flex.ro>
References: <Pine.GSO.3.93.980214114830.22746A-100000@pegasus1>
<34E55BD1.9A61F067@flex.ro>
Good morning everybody!
First of all, thanks for a great program Teo!
Constantin Teodorescu writes:
> Suthep Chankham wrote:
>
> > Dear Teo
> > I try to follow your suggestion,but remain the same problem(Don't
> > have libpgtcl.so). Now I reinstalled postgreSQL6.2.1 and compile libpgtcl
> > from interfaces
> > directory, when I type 'make' in that directory and screen appear below..
> >
> > ......... pegasus2% make
> > gcc -I../../include
> > -I../../backend/port/sparc_solaris -Wall -Wmissing-prototypes
> > -Dsparc_solaris -I../../backend -I../../include -I../../interfaces/libpq
> > -I/home/tools/include -c pgtcl.c -o pgtcl.o gcc -I../../include
> > -I../../backend/port/sparc_solaris -Wall -Wmissing-prototypes
> > -Dsparc_solaris -I../../backend -I../../include -I../../interfaces/libpq
> > -I/home/tools/include -c pgtclCmds.c -o pgtclCmds.o gcc -I../../include
> > -I../../backend/port/sparc_solaris -Wall -Wmissing-prototypes
> > -Dsparc_solaris -I../../backend -I../../include -I../../interfaces/libpq
> > -I/home/tools/include -c pgtclId.c -o pgtclId.o ar crs libpgtcl.a `lorder
> > pgtcl.o pgtclCmds.o pgtclId.o | tsort`
> > ranlib libpgtcl.a
> > .........................................
> >
> > But I not found libpgtcl.so in anywhere.
> >
> > ***** I use SUN Sparc Ultra (Solaris2.5.1)*****
>
For some reason no dynamic library is built for sun by the Makefile in
the postgresql distribution. It is of course possible to modify them to
do it, but I have not bothered to do it. (The -G -fPIC options to gcc
does the job, if I rember right.) Otherwise you can execute PgAccess
without dynamical loading in the pgtksh interpreter (formerly pgwish).
> I didn't use a SUN , and it's possible that on Solaris the dynamic loaded
> library containing functions needed by PgAccess
> have another name (probably libpgtcl.a ?).
No, it's .so on solaris to.
/Roland
-- My address, phone, etc. ----------------------------------------------------
Roland Jonsson Telephone: +46 31 7472672
Fax: +46 31 7473101
Airborne Radar Systems Design Email: roland.jonsson@emw.ericsson.se
Ericsson Microwave Systems AB
Bergfotsgatan 2
431 84 Molndal, Sweden
-------------------------------------------------------------------------------
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: Roland.Jonsson@emw.ericsson.se, teo@flex.ro, suthep@it.kmitt.ac.th
Subject: Re: [INTERFACES] Re: libpgtcl.so for Solaris ?
In-Reply-To: <199802160929.KAA15885@turing.mo.emw.ericsson.se>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox