Received: from garbo.DK.net (garbo.DK.net [193.88.44.23]) by hub.org (8.9.1/8.9.1) with ESMTP id KAA03306 for ; Sun, 8 Nov 1998 10:55:21 -0500 (EST) (envelope-from leif@danmos.dk) From: leif@danmos.dk Received: (from uucp@localhost) by garbo.DK.net (8.8.8/8.8.8) id QAA15281 for postgreSQL.org!pgsql-interfaces; Sun, 8 Nov 1998 16:55:19 +0100 (MET) >Received: from danmos.dk by danmos with smtp (Smail3.1.28.1 #64) id m0zcXKy-000G4UC; Sun, 8 Nov 98 17:05 MET Message-Id: Date: Sun, 8 Nov 98 16:54 WST To: pgsql-interfaces@postgreSQL.org Subject: Re: [INTERFACES] crypt not included when compiling libpgtcl !!!!!!! Content-Type: text Hi, I've just downloaded the new pgaccess 0.92b. Of course I experienced the 'unresolved crypt' problem. I made a mod. both in the Makefile for libpq and libpgtcl as follows: diff on libpq/Makefile: 35,37d34 < < LIBS = -lcrypt < 42c39 < LDFLAGS_SL = -Bdynamic -shared -soname libpq.so.$(SO_MAJOR_VERSION) --- > LDFLAGS_SL = -shared -soname libpq.so.$(SO_MAJOR_VERSION) 100c97 < $(LD) $(LDFLAGS_SL) -o $@ $(OBJS) $(LIBS) --- > $(LD) $(LDFLAGS_SL) -o $@ $(OBJS) diff on libpgtcl/Makefile: 42c42 < LDFLAGS_SL = -Bdynamic -shared --- > LDFLAGS_SL = -shared After compiling and installing this resulted in the following ourput from 'ldd libpgtcl.so': libpq.so.1 => /usr/local/pgsql/lib/libpq.so.1 (0x4000b000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x40018000) libc.so.6 => /lib/libc.so.6 (0x40045000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00000000) Finally PgAccess could start, but ... when I load a database I do get the tables shown, but I also get: Error in startup script: First argument is not a valid query result while executing "pg_result $pgres -numTuples" (procedure "open_database" line 31) invoked from within "open_database" (procedure "main" line 18) invoked from within "main $argc $argv" (file "pgaccess.tcl" line 4831) I am using Tcl/Tk 8.0, but I am using PostgreSQL 6.3.2. Is this a 6.3.2/6.4 compatibility issue? Greetings, ___________________________________________________________________________ / _/ _/_/ / Leif Jensen (leif@danmos.dk) _/ _/ _/ / _/ _/_/ _/_/_/ / _/ _/ _/ _/ _/ / Linux 2.0.33, gcc 2.7.2, wxWin 1.68C _/ _/ _/_/ _/ _/ / _/ _/ _/ _/ _/ / _/_/_/_/ _/_/ _/_/ _/ / (and Windows 95 :-( ___________________________________________________________________________