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

BUG #1491: Getting an "undefined symbol" when loading contrib mod.

From: "Alexis Wilke" <alexis(at)m2osw(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #1491: Getting an "undefined symbol" when loading contrib mod.
Date: 2005-02-20 08:45:56
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
The following bug has been logged online:

Bug reference:      1491
Logged by:          Alexis Wilke
Email address:      alexis(at)m2osw(dot)com
PostgreSQL version: 8.0.1
Operating system:   Linux
Description:        Getting an "undefined symbol" when loading contrib mod.

I'm trying to use ltree to sort one of my table using a tree like column
("1", "1.1", "1.2", "2", "2.1", etc.)

Everything compiles, after my fix to the -> .sql convertion
($(libdir) instead of $$libdir in and everything also seems to be
installed properly.

However, in version 7.4.6 and version 8.0.1, when I try to load the module,
it says it can't find the symbol errstart (one of the elog functions better
known as ereport).

There are a few versions if that helps at all...

   gcc (GCC) 3.4.3

   GNU ld version 20030206

   ldd (GNU libc) 2.3.2

There is the complete message I'm getting from postgres

crm=> SET search_path = public;
crm=> CREATE FUNCTION ltree_in(cstring)
crm-> RETURNS ltree
crm-> AS '/usr/local/pgsql/lib/ltree'
crm-> LANGUAGE 'C' WITH (isstrict);
NOTICE:  ProcedureCreate: type ltree is not yet defined
ERROR:  Load of file /usr/local/pgsql/lib/ failed:
/usr/local/pgsql/lib/ undefined symbol: errstart


pgsql-bugs by date

Next:From: Rong WangDate: 2005-02-21 04:38:28
Subject: BUG #1492: PostgreSQL ODBC error
Previous:From: Alexis WilkeDate: 2005-02-20 08:34:10
Subject: BUG #1490: contrib sed command bogus

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