X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id D49D5D1E7F2 for ; Fri, 19 Mar 2004 02:55:19 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 15422-09 for ; Thu, 18 Mar 2004 22:55:22 -0400 (AST) Received: from webmail-outgoing.us4.outblaze.com (webmail-outgoing.us4.outblaze.com [205.158.62.67]) by svr1.postgresql.org (Postfix) with ESMTP id 9FD9AD1B566 for ; Thu, 18 Mar 2004 22:55:13 -0400 (AST) Received: from wfilter.us4.outblaze.com (wfilter.us4.outblaze.com [205.158.62.180]) by webmail-outgoing.us4.outblaze.com (Postfix) with QMQP id C6EA818010AF for ; Fri, 19 Mar 2004 02:54:54 +0000 (GMT) X-OB-Received: from unknown (205.158.62.148) by wfilter.us4.outblaze.com; 19 Mar 2004 02:54:22 -0000 Received: by ws5-6.us4.outblaze.com (Postfix, from userid 1001) id 7ECB021B32F; Fri, 19 Mar 2004 02:54:54 +0000 (GMT) Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Received: from [203.87.129.229] by ws5-6.us4.outblaze.com with http for vickr1z@operamail.com; Fri, 19 Mar 2004 03:54:54 +0100 From: "Vickriz Buenaventuura" To: pgsql-interfaces@postgresql.org Date: Fri, 19 Mar 2004 03:54:54 +0100 Subject: libpgtcl.so? X-Originating-Ip: 203.87.129.229 X-Originating-Server: ws5-6.us4.outblaze.com Message-Id: <20040319025454.7ECB021B32F@ws5-6.us4.outblaze.com> X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/18 X-Sequence-Number: 4797 good day too guru. pgaccess has lot of dependencies, actually nnot so much :) i already install tcl/tk in my system rh7.3 and the next step is the libpgtcl package [libpgtcl.so] which i found from postgresql installation source. my directory: /usr/src/redhat/SOURCES/postgresql-7.3.2/src/interfaces/libpgtcl and then i found this instraction at postgresql mailing list, tryingg to look for possible solution for other installation dependencies. but i really can understand what has to do with it. i need to post iit here so anybbody can help me.. -- Rather than applying that patch, it would probably be easier creating a 'Makefile.custom' file in the postgresql-6.3.2/src (which get included by Makefile.global, and thus every Makefile in the tree). Set LINUX_ELF=true in Makefile.custom, and you won't have to patch all of the shared library makefiles. You can also specify CUSTOM_CC and CUSTOM_COPT in Makefile.custom to specify your compiler and compile flags, respectively. As for libpgtcl.so and unresolved symbols, I run a Redhat 5.0 system where the crypt() function lives in its own library (libcrypt) and not libc. libpgtcl.so is linked to libpq.so, which is statically linked. crypt() is probably used by libpq.so for passwords, etc, but since libpq.so is *not* linked with libcrypt, you must link libcrypt.so as well libpq.so into your app. The Tk shell, wish8.0, is *not* linked to libcrypt.so. Thus, when pgaccess.tcl loads the libpgtcl.so library, the system can't resolve the calls to crypt(). One solution is to run pgaccess.tcl with pgtksh, which *is* linked with libcrypt.so. Just change the first line of pgaccess.tcl to #!/usr/local/pgsql/bin/pgtksh (or where ever you installed postgresql). You could also link libpgtcl.so manually, adding the '-lcrypt' crypt option, which would let you run pgaccess.tcl and any other postgresql tcl scripts with wish and tclsh. ==================end=== please help how to edit my Makefile.custom at /usr/src/redhat/SOURCES/postgresql-7.3.2/src the next thing was the libpgtcl.. where should i put it and or what should i make a link to it? ..and what really next thing to do. all i want is to use pgacces[gui] to administer my postgres database.. any help wwill appreciate very much. tnx.. vic -- _____________________________________________________________ Web-based SMS services available at http://www.operamail.com. From your mailbox to local or overseas cell phones. Powered by Outblaze