reference symbol not found with UDUNITS

Ask a Question related to PERL Miscellaneous, Design and Development.

  1. #1

    Default reference symbol not found with UDUNITS

    On a Solaris 7 machine, I had Perl 5.005_03 running with UDUNITS
    successfully.
    I'm not sure what the relationship is between the two. This perl is
    /opt/gnu/bin/perl

    I then upgraded perl to 5.8.0 and placed this in /usr/local/bin/perl,
    keeping the old version where it was. I eventually ran a perl script
    that did a 'use UDUNITS' and it said that it couldn't locate UDUNITS.pm
    in @INC. I copied some of these files from the /opt/gnu/lib structure
    to the /usr/local/lib structure (perhaps incorrectly?), and now I get:

    ld.so.1: /usr/local/bin/perl: fatal: relocation error:
    /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/UDUNITS/UDUNITS.so:
    symbol perl_get_sv: referenced symbol not found

    How can I get the new Perl to call UDUNITS correctly?

    Thanks!!!

    Randy Rokosz Guest

  2. Similar Questions and Discussions

    1. #39511 [NEW]: Symbol Reference error while compiling PHP CLI on Solaris 9
      From: czachary at wiley dot com Operating system: Solaris 9 PHP version: 5.2.0 PHP Bug Type: Compile Failure Bug...
    2. XML_ParserCreate_MM: referenced symbol not found ... Any ideas
      OS : Solaris 8 Perl Extension for XML Parser : 2.31 (for perl 5.6.0) ld.so.1: /usr/local/bin/perl: fatal: relocation error: file...
    3. #24664 [Fbk->Opn]: relocation error: symbol not found: ap_pass_brigade
      ID: 24664 User updated by: a dot polli at mir dot it Reported By: a dot polli at mir dot it -Status: Feedback...
    4. #24664 [Opn->Fbk]: relocation error: symbol not found: ap_pass_brigade
      ID: 24664 Updated by: sniper@php.net Reported By: a dot polli at mir dot it -Status: Open +Status: ...
    5. #24328 [Fbk->NoF]: symbol not found: executor_globals
      ID: 24328 Updated by: sniper@php.net Reported By: Pavel dot Zakouril at mff dot cuni dot cz -Status: Feedback...
  3. #2

    Default Re: reference symbol not found with UDUNITS

    Randy Rokosz wrote:
    > On a Solaris 7 machine, I had Perl 5.005_03 running with UDUNITS
    > successfully.
    > I then upgraded perl to 5.8.0 and placed this in /usr/local/bin/perl,
    > I copied some of these files from the /opt/gnu/lib structure
    > to the /usr/local/lib structure (perhaps incorrectly?), and now I get:
    > ld.so.1: /usr/local/bin/perl: fatal: relocation error:
    > /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/UDUNITS/UDUNITS.so:
    > symbol perl_get_sv: referenced symbol not found
    The two version of perl are not binary compatible.
    That means that any modules with "binary" (i.e. compiled) code
    won't work for both.
    You'll need to re-compile UDUNITS for the 5.8 perl.
    First, you should delete anything you copied from the 5.003 perl.
    Even if a non-binary module from 5.003 works with 5.8, there's a
    good chance it won't be the latest and greatest.
    For maximum happiness, keep them separate!

    --
    John Douglas Porter
    John Porter Guest

  4. #3

    Default Re: reference symbol not found with UDUNITS

    Randy Rokosz <rokosz@udel.edu> wrote:
    > I had Perl 5.005_03
    > I then upgraded perl to 5.8.0
    > and now I get:
    >
    > ld.so.1: /usr/local/bin/perl: fatal: relocation error:
    > /usr/local/lib/perl5/site_perl/5.8.0/sun4-solaris/auto/UDUNITS/UDUNITS.so:
    > symbol perl_get_sv: referenced symbol not found

    Does UDUNITS have an XS component?

    Perl 5.8.0 is not binary compatible with earlier versions.

    > How can I get the new Perl to call UDUNITS correctly?

    Modules that use C code will need to be recompiled (reinstalled).


    --
    Tad McClellan SGML consulting
    [email]tadmc@augustmail.com[/email] Perl programming
    Fort Worth, Texas
    Tad McClellan Guest

  5. #4

    Default [OT] Re: reference symbol not found with UDUNITS

    Am I the only one who reads "UDUNITS" as "(wh)o-dun-its"?

    --
    Jeff Pinyan RPI Acacia Brother #734 2003 Rush Chairman
    "And I vos head of Gestapo for ten | Michael Palin (as Heinrich Bimmler)
    years. Ah! Five years! Nein! No! | in: The North Minehead Bye-Election
    Oh. Was NOT head of Gestapo AT ALL!" | (Monty Python's Flying Circus)

    Jeff 'japhy' Pinyan Guest

  6. #5

    Default Re: [OT] Re: reference symbol not found with UDUNITS

    In article
    <Pine.SGI.3.96.1030726172428.221268A-100000@vcmr-64.server.rpi.edu>,
    Jeff 'japhy' Pinyan wrote:
    > Am I the only one who reads "UDUNITS" as "(wh)o-dun-its"?
    Yes.

    :-)

    --
    David H. Adler - <dha@panix.com> - [url]http://www.panix.com/~dha/[/url]
    DHA is the "Smorax", he is friends with the Twinkies and speaks for
    the Choc-O-Diles. - Mark Rogaski
    David H. Adler Guest

  7. #6

    Default Re: [OT] Re: reference symbol not found with UDUNITS

    >>>>> "DHA" == David H Adler <dha@panix.com> writes:

    DHA> In article
    DHA> <Pine.SGI.3.96.1030726172428.221268A-100000@vcmr-64.server.rpi.edu>,
    DHA> Jeff 'japhy' Pinyan wrote:
    >> Am I the only one who reads "UDUNITS" as "(wh)o-dun-its"?
    DHA> Yes.

    my wife parses and pronounces whodunits as hod-units. as in how many hod
    units were needed by the killer.

    :-)

    uri

    --
    Uri Guttman ------ [email]uri@stemsystems.com[/email] -------- [url]http://www.stemsystems.com[/url]
    --Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
    Search or Offer Perl Jobs ---------------------------- [url]http://jobs.perl.org[/url]
    Uri Guttman Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139