pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thilo Riessner <thilo@riessner.de>
Cc: pgsql-interfaces@postgresql.org <pgsql-interfaces@postgreSQL.org>
Subject: Re: [INTERFACES] Re: interface to NeoWebscript 3.0
Date: Tue, 01 Jun 1999 10:31:18 -0400
Message-ID: <21324.928247478@sss.pgh.pa.us> (raw)
In-Reply-To: <19990601070322.AAA17042@helium>

"Thilo Riessner" <thilo@riessner.de> writes:
> I am using Postgres 6.4.1 and NeoWebscript 
> 3.0 . NeoWebscript asks for libpgtcl.so.1.0 in the file http.conf in the etc 
> subdirectory of the installation directory. I canged it to libpgtcl.so 
> because there was just a libpgtcl.so.2.0 in my distribution of postgres. 

There is a reason why the major version numbers are different: they're
not binary-compatible.  If this is a binary distribution of
NeoWebscript, you will need a newer NeoWebscript (or an older Postgres).
But if you are working from source it shouldn't matter.

> couldn't load file "/usr/lib/pgsql/lib/libpgtcl.so": 
> /usr/lib/pgsql/lib/libpgtcl.so: undefined symbol: Tcl_GetFile

Hmm, that suggests that you've got problems with your local version
of Tcl being different from what libpgtcl was compiled for.  Is this
libpgtcl one that you compiled yourself on your machine, or did you get
a binary distribution from somewhere else?  Or, perhaps you have more
than one version of Tcl installed, and NeoWebscript is picking a
different one than Postgres' configure script found?

The thing that usually gets people who are trying to dynamically load
libpgtcl is that libpgtcl.so depends on libpq.so, and many systems have
dynamic loaders that are not very bright about resolving second-level
dependencies like that.  This is not your current problem because
Tcl_GetFile is not a symbol in libpq, but if you still have problems
after you fix the Tcl version issue then you will need to look at
making sure that your system knows where libpq.so is.  There are
different incantations for that on different platforms --- see the
Postgres FAQ.

			regards, tom lane



view thread (2+ messages)

Message-ID: <21324.928247478@sss.pgh.pa.us>
Permalink:  ../21324.928247478@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/21324.928247478@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: tgl@sss.pgh.pa.us, thilo@riessner.de
  Subject: Re: [INTERFACES] Re: interface to NeoWebscript 3.0
  In-Reply-To: <21324.928247478@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox