[INTERFACES] Re: libpgtcl.so for Solaris ?
От | Roland Jonsson |
---|---|
Тема | [INTERFACES] Re: libpgtcl.so for Solaris ? |
Дата | |
Msg-id | 199802160929.KAA15885@turing.mo.emw.ericsson.se обсуждение исходный текст |
Ответ на | Re: libpgtcl.so for Solaris ? (Constantin Teodorescu <teo@flex.ro>) |
Список | 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 -------------------------------------------------------------------------------
В списке pgsql-interfaces по дате отправления: