| From: | Adam Witney <awitney(at)sghms(dot)ac(dot)uk> |
|---|---|
| To: | pgsql-interfaces <pgsql-interfaces(at)postgresql(dot)org> |
| Subject: | Re: Pgaccess on MacOSX.... solved |
| Date: | 2002-09-24 10:31:22 |
| Message-ID: | B9B5FD8A.828F%a.witney@sghms.ac.uk |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-interfaces |
Well, I kind of fiddled it a little... From the src/interface/libpgtcl
directory I ran 'make' then 'make clean' and then manually ran the compile
commands from the command line, only changing the last command...
Substituting -dynamiclib for -bundle and changing the name of the output
lib. Then copied the .dylib to the appropriate place
I have pasted it here in case it is of use to anyone else
make -C ../../../src/interfaces/libpq all
gcc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes
-Wmissing-declarations -I../../../src/interfaces/libpq
-I../../../src/include -c -o pgtcl.o pgtcl.c
gcc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes
-Wmissing-declarations -I../../../src/interfaces/libpq
-I../../../src/include -c -o pgtclCmds.o pgtclCmds.c
gcc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes
-Wmissing-declarations -I../../../src/interfaces/libpq
-I../../../src/include -c -o pgtclId.o pgtclId.c
ar cr libpgtcl.a `lorder pgtcl.o pgtclCmds.o pgtclId.o | tsort`
ranlib libpgtcl.a
gcc -traditional-cpp -g -O2 -Wall -Wmissing-prototypes
-Wmissing-declarations -flat_namespace -dynamiclib -undefined suppress
pgtcl.o pgtclCmds.o pgtclId.o -L../../../src/interfaces/libpq -lpq -o
libpgtcl.2.2.dylib
> Has anyone tried running pgaccess on MacOSX 10.2?
>
> I get this error when trying
>
> dyld: /sw/bin/wish can't open library: /sw/lib/libpgtcl.dylib (No such file
> or directory, errno = 2)
> Trace/BPT trap
>
> I only have libpgtcl.so libraries.... Any ideas why its looking for the
> .dylib version?
>
> Any help would be greatly appreciated
>
> Thanks
>
> adam
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
| From | Date | Subject | |
|---|---|---|---|
| Next Message | C. Maj | 2002-09-24 11:45:24 | Re: question on pgaccess installation |
| Previous Message | Adam Witney | 2002-09-24 09:42:26 | Pgaccess on MacOSX |