[INTERFACES] Re: libpgtcl.so for Solaris ?

From: Roland Jonsson <Roland(dot)Jonsson(at)emw(dot)ericsson(dot)se>
To: Constantin Teodorescu <teo(at)flex(dot)ro>
Cc: Suthep Chankham <suthep(at)it(dot)kmitt(dot)ac(dot)th>, pgsql-interfaces(at)postgreSQL(dot)org
Subject: [INTERFACES] Re: libpgtcl.so for Solaris ?
Date: 1998-02-16 09:29:16
Message-ID: 199802160929.KAA15885@turing.mo.emw.ericsson.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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(dot)jonsson(at)emw(dot)ericsson(dot)se
Ericsson Microwave Systems AB
Bergfotsgatan 2
431 84 Molndal, Sweden
-------------------------------------------------------------------------------

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Julia A. Case 1998-02-19 16:45:32 New install program for PostODBC
Previous Message Constantin Teodorescu 1998-02-14 08:54:41 Re: libpgtcl.so for Solaris ?