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: 200108221747.f7MHlAP34127@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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 libpgtcl.so 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.

Thanks,
Gugs

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Responses

Browse pgsql-ports by date

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