Skip site navigation (1) Skip section navigation (2)

Building pgtcl on OS X

From: Gugs E Lishus <gugsky(at)yahoo(dot)com>
To: pgsql-ports(at)postgresql(dot)org
Subject: Building pgtcl on OS X
Date: 2001-08-22 17:47:21
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-ports
Hi Everyone,

So far as I know, there isn't a fully native version of tcl/tk running 
under Mac OS X yet (though it's in the works). However, thanks to 
XDarwin, we can now run the standard X-Windows version of tcl/tk under 
X-Windows on OS X. Woohoo!

PostgreSQL and its standard clients also compile on OS X without a hitch 
(and are available in binary form on the internet).

Now it's time to combine the two. What I've done so far is download and 
install binaries of PostgreSQL and XDarwin. Then I used fink to 
download, compile, and install windowmaker and tcl/tk 8.3.3-2.

Everything works like a charm up to that point. tcl/tk apps runs fine 
and postgreSQL runs fine. Getting the two to communicate is the problem. 
What I need is the pgtcl library that is the interface between the two. 
The source code for pgtcl is part of the standard postgreSQL source 
package (under src/interfaces/libpgtcl) and with some massaging of the 
Makefile, it will compile successfully.

But the problem is that it creates a file, whereas tcl/tk 
seems to be looking for libpgtcl.dylib. Can anyone help me with the 
final steps here? I don't know much about the difference between .so 
files and .dylib files. I think I'm very close to getting this working! 
The obvious next step after that would be to get pgAccess working on OS 
X, though that's not a personal priority for me right now.


Do You Yahoo!?
Get your free address at


pgsql-ports by date

Next:From: Daniel LukeDate: 2001-08-23 16:16:33
Subject: Re: Building pgtcl on OS X
Previous:From: Gugs E LishusDate: 2001-08-22 17:20:51
Subject: Re: Where find the Mac OS X Client binaries of pqsql ?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group