On Wed, 3 Jun 1998, Constantin Teodorescu wrote:
> Jose' Soares Da Silva wrote:
> >
> > Is there a libpgtcl.so different for v6.3.2 ?
>
> It seems that it is.
>
> You shoulnd't mix up binaries from 6.3 with libraries from 6.3.2
>
> I don't know what could happend, but I "feel" isn't good.
> If PgAccess works with 6.3 , no problem!
>
> But I am convinced that PgAccess should work also with libraries
> (libpgtcl and libpq) from 6.3.2
> There isn't a problem.
-- I tried this trick because I can't compile libpgtcl on 6.3.2.
-- It works well on 6.3 but 6.3.2 give me this error:
rosso:~/postgresql-6.3.2/src/interfaces/libpgtcl$ make
gcc -I../../include -I../../backend -Wall -Wmissing-prototypes
-I../../backend -I../../include -I../../interfaces/libpq -c pgtcl.c -o
pgtcl.o
pgtcl.c:20: tcl.h: No such file or directory
In file included from pgtcl.c:21:
libpgtcl.h:17: tcl.h: No such file or directory
In file included from pgtcl.c:22:
pgtclCmds.h:16: tcl.h: No such file or directory
make: *** [pgtcl.o] Error 1
rosso:~/postgresql-6.3.2/src/interfaces/libpgtcl$
-- while version 6.3 is ok:
rosso:~/postgresql-6.3/src/interfaces/libpgtcl$ make
gcc -I../../include -I../../backend -I/usr/include/ncurses
-I/usr/include/readline -O2 -Wall -Wmissing-prototypes -I/usr/include/tcl
-I../../backend -I../../include -I../../interfaces/libpq -I -fpic -c pgtcl.c
-o pgtcl.o
gcc -I../../include -I../../backend -I/usr/include/ncurses
-I/usr/include/readline -O2 -Wall -Wmissing-prototypes -I/usr/include/tcl
-I../../backend -I../../include -I../../interfaces/libpq -I -fpic -c
pgtclCmds.c -o pgtclCmds.o
gcc -I../../include -I../../backend -I/usr/include/ncurses
-I/usr/include/readline -O2 -Wall -Wmissing-prototypes -I/usr/include/tcl
-I../../backend -I../../include -I../../interfaces/libpq -I -fpic -c
pgtclId.c -o pgtclId.o
ar crs libpgtcl.a pgtcl.o pgtclCmds.o pgtclId.o
ranlib libpgtcl.a
ld -shared -L ../../interfaces/libpq -lpq -o libpgtcl.so.1 pgtcl.o pgtclCmds.o
pgtclId.o
ln -sf libpgtcl.so.1 libpgtcl.so
-------------------------------------------------------------------
Jose'