X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6EB6A32BA94 for ; Tue, 12 Oct 2004 09:03:57 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 66720-06 for ; Tue, 12 Oct 2004 08:03:49 +0000 (GMT) Received: from npbjemail.pdc.newpalm.com (unknown [203.81.27.11]) by svr1.postgresql.org (Postfix) with ESMTP id 43F8E32B376 for ; Tue, 12 Oct 2004 09:02:53 +0100 (BST) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C4B031.9FFB4A54" X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Subject: the problem of createlang! Date: Tue, 12 Oct 2004 16:01:05 +0800 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: the problem of createlang! Thread-Index: AcSwMZ/s6pEOVya5ShqmjSE6faIRNA== From: "Fang Genjie" To: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.1 tagged_above=0.0 required=5.0 tests=HTML_70_80, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200410/127 X-Sequence-Number: 19230 This is a multi-part message in MIME format. ------_=_NextPart_001_01C4B031.9FFB4A54 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I have installed postgresql (version 7.4.5) on the Redhat linux platform. Now I want to create a database with name BBMF and create pl/pgsql procedure language to the BBMF The problem is listed follow: =20 [postgres@wap1-np postgresql-7.4.5]$ psql -l List of databases Database | Owner | Encoding=20=20 -----------+----------+----------- BBMF | develop | SQL_ASCII template0 | postgres | SQL_ASCII template1 | postgres | SQL_ASCII (3 rows) =20 [postgres@wap1-np postgresql-7.4.5]$ createlang plpgsql BBMF ERROR: Load of file /usr/local/pgsql/lib/plpgsql.so failed: /usr/local/pgsql/lib/plpgsql.so: undefined symbol: error_context_stack createlang: language installation failed [postgres@wap1-np postgresql-7.4.5]$ file /usr/local/pgsql/lib/plpgsql.so=20 /usr/local/pgsql/lib/plpgsql.so: ELF 32-bit LSB shared object, Intel 80386, version 1, not stripped [postgres@wap1-np postgresql-7.4.5]$ =20 What's the matter ?=20 Please help me!!! ------_=_NextPart_001_01C4B031.9FFB4A54 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I have installed postgresql (version 7.4.5) on the Redhat linux platform.

Now I want to create a database with name BBMF and= create pl/pgsql procedure language to the BBMF

The problem is listed follow:

 

[postgres@wap1-np postgresql-7.4.5]$ psql -l

        List of databases

 Database  |  Owner   | Encoding 

-----------+----------+-----------

 BBMF      | develop  | SQL_ASCII

 template0 | postgres | SQL_ASCII<= /span>

 template1 | postgres | SQL_ASCII<= /span>

(3 rows)

 

[postgres@wap1-np postgresql-7.4.5]$ createlang plpgsql BBMF

ERROR:  Load of file /usr/local/pgsql/lib/plpgsql.so failed: /usr/local/pgsql/lib/plpgsql.so: undefined symbol: error_context_stack

createlang: language installation failed

[postgres@wap1-np postgresql-7.4.5]$ file /usr/local/pgsql/lib/plpgsql.so

/usr/local/pgsql/lib/plpgsql.so: ELF 32-bit LSB sh= ared object, Intel 80386, version 1, not stripped

[postgres@wap1-np postgresql-7.4.5]$

 

What’s the matter ?

Please help me!!!

------_=_NextPart_001_01C4B031.9FFB4A54--