From: | leif(at)danmos(dot)dk |
---|---|
To: | pgsql-interfaces(at)postgreSQL(dot)org |
Subject: | Re: [INTERFACES] crypt not included when compiling libpgtcl !!!!!!! |
Date: | 1998-11-08 16:54:00 |
Message-ID: | m0zcXKy-000G4UC@danmos |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
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(at)danmos(dot)dk)
_/ _/ _/ /
_/ _/_/ _/_/_/ /
_/ _/ _/ _/ _/ / Linux 2.0.33, gcc 2.7.2, wxWin 1.68C
_/ _/ _/_/ _/ _/ /
_/ _/ _/ _/ _/ /
_/_/_/_/ _/_/ _/_/ _/ / (and Windows 95 :-(
___________________________________________________________________________
From | Date | Subject | |
---|---|---|---|
Next Message | leif | 1998-11-08 23:01:00 | Re: [INTERFACES] crypt not included when compiling libpgtcl !!!!!!! |
Previous Message | Tom Lane | 1998-11-08 16:53:39 | Re: [INTERFACES] crypt not included when compiling libpgtcl !!!!!!! |