Received: from penguin.wise.edt.ericsson.se (penguin-ext.wise.edt.ericsson.se [194.237.142.5]) by hub.org (8.8.8/8.7.5) with ESMTP id EAA28472 for ; Mon, 16 Feb 1998 04:31:59 -0500 (EST) Received: from poem.emw.ericsson.se ([136.225.49.25]) by penguin.wise.edt.ericsson.se (8.7.5/8.7.3/glacier-1.12) with SMTP id KAA07108; Mon, 16 Feb 1998 10:29:40 +0100 (MET) Received: from biff.mo.emw.ericsson.se (biff.mo.emw.ericsson.se [136.225.83.24]) by poem.emw.ericsson.se (8.6.12/8.6.12) with ESMTP id KAA15477; Mon, 16 Feb 1998 10:26:39 +0100 Received: from turing.mo.emw.ericsson.se (turing.mo.emw.ericsson.se [136.225.67.117]) by biff.mo.emw.ericsson.se (SMI-8.6/SMI-SVR4-biff-1.0) with SMTP id KAA09862; Mon, 16 Feb 1998 10:28:18 +0100 Received: (from emwrdj@localhost) by turing.mo.emw.ericsson.se (SMI-8.6/SMI-SVR4-esunix-1.2) id KAA15885; Mon, 16 Feb 1998 10:29:16 +0100 Date: Mon, 16 Feb 1998 10:29:16 +0100 Message-Id: <199802160929.KAA15885@turing.mo.emw.ericsson.se> From: Roland Jonsson To: Constantin Teodorescu Cc: Suthep Chankham , pgsql-interfaces@postgreSQL.org Subject: [INTERFACES] Re: libpgtcl.so for Solaris ? In-Reply-To: <34E55BD1.9A61F067@flex.ro> References: <34E55BD1.9A61F067@flex.ro> X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII 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 -------------------------------------------------------------------------------