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

Bug in PL/Perl Makefile

From: David Jack Olrik <david(at)olrik(dot)dk>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Bug in PL/Perl Makefile
Date: 2000-03-01 13:33:53
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
Your name               : David Jack Olrik
Your email address      : david(at)olrik(dot)dk

System Configuration
  Architecture (example: Intel Pentium)         : Intel Pentium III

  Operating System (example: Linux 2.0.26 ELF)  : Linux 2.2.14 ELF

  PostgreSQL version (example: PostgreSQL-6.5.1): PostgreSQL-7.0beta1

  Compiler used (example:  gcc 2.8.0)           : gcc 2.95.2

Please enter a FULL description of your problem:
pl/perl does not work.

Please describe a way to repeat the problem.   Please try to provide a
concise reproducible example, if at all possible:
install pl/perl and create this function:

    CREATE FUNCTION addints(int4, int4) RETURNS int4 AS '
    return $_[0] + $_[1]
    ' LANGUAGE 'plperl'; 

Then select from it:

    select addints(3,4);


    ERROR:  Load of file /usr/local/pgsql/lib/ failed:
    /usr/local/pgsql/lib/ undefined symbol: elog_DEBUG

If you know how this problem might be fixed, list the solution below:
Missing .o file in make file. Patchfile attached with this mail fixes the

Best regards,
David Jack Olrik <david(at)olrik(dot)dk>
[ Linux: Because rebooting is for adding new hardware ]

Attachment: Makefile.PL.patch
Description: text/plain (406 bytes)

pgsql-bugs by date

Next:From: David Jack OlrikDate: 2000-03-01 13:40:51
Subject: Bug in PL/Perl Makefile
Previous:From: michaelDate: 2000-03-01 11:50:48
Subject: Re: [BUGS] initdb and version 7

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