Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 8DCEE475DAD for ; Tue, 24 Sep 2002 06:31:14 -0400 (EDT) Received: from mailhub2.sghms.ac.uk (firewall.sghms.ac.uk [194.82.50.2]) by postgresql.org (Postfix) with ESMTP id 1503F475C60 for ; Tue, 24 Sep 2002 06:31:14 -0400 (EDT) Received: from [194.82.51.24] (helo=imail) by mailhub2.sghms.ac.uk with esmtp (Exim 4.05) id 17tmyI-0007iY-00 for pgsql-interfaces@postgresql.org; Tue, 24 Sep 2002 11:31:14 +0100 Received: from [172.16.20.3] (mrc1-003.sghms.ac.uk [172.16.20.3]) by imail.sghms.ac.uk (iPlanet Messaging Server 5.1 HotFix 0.7 (built May 7 2002)) with ESMTPA id <0H2X00D62UK2TQ@imail.sghms.ac.uk> for pgsql-interfaces@postgresql.org; Tue, 24 Sep 2002 11:31:15 +0100 (BST) Date: Tue, 24 Sep 2002 11:31:22 +0100 From: Adam Witney Subject: Re: Pgaccess on MacOSX.... solved In-reply-to: To: pgsql-interfaces Message-id: MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT User-Agent: Microsoft-Entourage/10.1.0.2006 X-MailScanner: Found to be clean X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/68 X-Sequence-Number: 3129 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@postgresql.org