Weird error compiling a perl module

From: Douglas G. Phillips (csdgp_at_eiu.edu)
Date: 06/23/04

  • Next message: Alvin Oga: "ls120 Re: wd - Re: Hard Drive Limitations"
    Date: Tue, 22 Jun 2004 17:47:00 -0500
    To: Debian User Mailing List <debian-user@lists.debian.org>
    
    

    I'm getting a weird error using perl 5.6.1 from stable trying to compile
    a perl module.

    I've searched google & the lists but can't find anything.
    Unfortunately, the way that the module is written cannot be changed,
    because it's not my code -- I'm just doing the admin stuff.

    Anyway, here's the error:
    perlcc -o test test.pl
    /tmp/ccddirWs.o: In function `dl_init':
    /tmp/ccddirWs.o(.text+0x57567): undefined reference to `boot_Pg'
    collect2: ld returned 1 exit status

    I also get this for boot_Term__ReadKey.

    I can reproduce this on another stable box with the following code:
    #!/usr/bin/perl

    use Pg;

    print "Test";

    The code refuses to compile. It does, however, compile on another box
    running Testing that has 5.8.3.

    Relevant package versions:

    ii perl 5.6.1-8.7 Larry Wall's Practical Extraction and
    Report
    ii perl-base 5.6.1-8.7 The Pathologically Eclectic Rubbish
    Lister.
    ii perl-modules 5.6.1-8.7 Core Perl modules.
    ii libperl5.6 5.6.1-8.7 Shared Perl library.
    ii libpgperl 7.2.1-2woody5 Perl modules for PostgreSQL.
    ii libterm-readke 2.19-1 A perl module for simple terminal
    control

    If anyone has any ideas, they would be greatly appreciated. We'd like
    to keep this box using stable packages as much as possible for paranoia
    reasons.

    Thanks.

    -- 
    Douglas G. Phillips
    Distributed Computing
    Eastern Illinois University
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Alvin Oga: "ls120 Re: wd - Re: Hard Drive Limitations"

    Relevant Pages

    • Re: gcc compiled perl runtime module
      ... The late pdslib (archive: http://computer-refuge.org/classiccmp/aixpdslib/pub/perl/RISC/ ... When customer need additional perl modules, he don't want to license visual age only for these stuff - he want to use gcc to compile new perl modules. ...
      (comp.unix.aix)
    • Re: Compiling perl modules on solaris 9 sparc fails
      ... > compile some perl modules on. ... > for whatever reason, when a c compiler is needed, 'make' seems to ... Install your own perl built with gcc - dont use the Sun supplied one ...
      (comp.unix.solaris)
    • Re: Updating open source packages on Solaris 10
      ... code and compile or is there a place where I can get updated Sun ... on Solaris 10, ... Most open source software seems to build with: ... Installing perl modules has been especially tricky, ...
      (comp.unix.solaris)
    • Re: Patches
      ... Octavian Rasnita wrote: ... > Does anyone know if there are perl modules for applying patches? ... > I have seen on many lists that are provided some patches for some perl ... are there any perl modules that can do this job under Windows? ...
      (perl.beginners)
    • Patches
      ... Does anyone know if there are perl modules for applying patches? ... I have seen on many lists that are provided some patches for some perl ... are there any perl modules that can do this job under Windows? ...
      (perl.beginners)

    Loading