Ask a Question related to PERL Miscellaneous, Design and Development.
-
Randy Rokosz #1
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
-
#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... -
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... -
#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... -
#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: ... -
#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... -
John Porter #2
Re: reference symbol not found with UDUNITS
Randy Rokosz wrote:
The two version of perl are not binary compatible.> 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
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
-
Tad McClellan #3
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
-
Jeff 'japhy' Pinyan #4
[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
-
David H. Adler #5
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:
Yes.> Am I the only one who reads "UDUNITS" as "(wh)o-dun-its"?
:-)
--
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
-
Uri Guttman #6
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:
DHA> Yes.>> Am I the only one who reads "UDUNITS" as "(wh)o-dun-its"?
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



Reply With Quote

