pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re: libpgtcl.so for Solaris ?
2+ messages / 2 participants
[nested] [flat]

* Re: libpgtcl.so for Solaris ?
@ 1998-02-14 08:54 Constantin Teodorescu <teo@flex.ro>
  1998-02-16 09:29 ` [INTERFACES] Re: libpgtcl.so for Solaris ? Roland Jonsson <Roland.Jonsson@emw.ericsson.se>
  0 siblings, 1 reply; 2+ messages in thread

From: Constantin Teodorescu @ 1998-02-14 08:54 UTC (permalink / raw)
  To: Suthep Chankham <suthep@it.kmitt.ac.th>; pgsql-interfaces

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)*****

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 ?).
On Linux also there is a libpgtcl.a library but it isn't good for PgAccess.

Please, is there anyone who succeeded in building the libpgtcl for Solaris
on SUN and used PgAccess who could help
our friend Chankham ?

Constatin Teodorescu
FLEX Consulting Braila, ROMANIA







^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* [INTERFACES] Re: libpgtcl.so for Solaris ?
  1998-02-14 08:54 Re: libpgtcl.so for Solaris ? Constantin Teodorescu <teo@flex.ro>
@ 1998-02-16 09:29 ` Roland Jonsson <Roland.Jonsson@emw.ericsson.se>
  0 siblings, 0 replies; 2+ messages in thread

From: Roland Jonsson @ 1998-02-16 09:29 UTC (permalink / raw)
  To: Constantin Teodorescu <teo@flex.ro>; +Cc: Suthep Chankham <suthep@it.kmitt.ac.th>; 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.jonsson@emw.ericsson.se
Ericsson Microwave Systems AB                  
Bergfotsgatan 2
431 84 Molndal, Sweden
-------------------------------------------------------------------------------



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~1998-02-16 09:29 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1998-02-14 08:54 Re: libpgtcl.so for Solaris ? Constantin Teodorescu <teo@flex.ro>
1998-02-16 09:29 ` Roland Jonsson <Roland.Jonsson@emw.ericsson.se>

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