Re: tcl on Mac OS X - Mailing list pgsql-interfaces

From Constantin Teodorescu
Subject Re: tcl on Mac OS X
Date
Msg-id 3B907413.97401000@flex.ro
Whole thread Raw
In response to Re: tcl on Mac OS X  (Jeremy Buchmann <jeremy@wellsgaming.com>)
List pgsql-interfaces
Jeremy Buchmann wrote:
> 
> > load /usr/local/pgsql/lib/libpgtcl.so ... or whatever extension the
> > libpgtcl file has ...
> 
> Tried this and got a new error message:
> 
> [localhost:~] buchmann% /usr/local/pgaccess/pgaccess
> Error in startup script: couldn't find procedure .dylib_Init
>      while executing
> "load /usr/local/pgsql/lib/libpgtcl.so [info sharedlibextension]"
>      (procedure "main" line 3)
>      invoked from within
> "main $argc $argv"
>      (file "/usr/local/pgaccess/main.tcl" line 249)
> 
> Still looks like some dyn lib stuff.  While going over the process in my
> head, I remembered that Tk wasn't patched, so it probably didn't compile
> with dynamic loading...do you think this could be the problem?

I think that Tcl does the library loading, so Tk might not be a problem!

Why don't you try to build from sources "pgtclsh" and skip that dynamic
loading?

Teo


pgsql-interfaces by date:

Previous
From: Jeremy Buchmann
Date:
Subject: Re: tcl on Mac OS X
Next
From: Bruce Momjian
Date:
Subject: Re: Query for Postgre