develooper Front page | perl.perl5.porters | Postings from November 2003

[perl #24511] Perl-safemalloc?

Thread Next
From:
I. Thomas Cundiff
Date:
November 17, 2003 16:15
Subject:
[perl #24511] Perl-safemalloc?
Message ID:
rt-24511-67566.4.5720612773183@rt.perl.org
# New Ticket Created by  "I. Thomas Cundiff" 
# Please include the string:  [perl #24511]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=24511 >


Today I installed Perl-5.8.2 and as far as I could see, the
installation (and previous sh Configure -Dcc=gcc -de ; make; and make
test) ran successfully.  So I tried to execute a Perl program from GMP
(GNU Multiple Precision package) which I had been able to execute
using Perl-5.6.0 from RedHat.  First I had problems since Mpz.pm could
not be found.  This I solved by using
  perl -I/usr/lib/perl5/site_perl/5.6.0/i386-linux sample.pl
Now I got a message that ./auto/GMP/GMP.so needs an undefined symbol
Perl_safemalloc.

After a lot of seaching I found other *.so libraries that also has
this as a symbol which needs to be defined.  (If you would like, I
could send you a list of these libraries.)

So I started looking through the installation directories for
Perl-5.8.2, and could not find Perl_safemalloc although I did find
Perl_safesysmalloc and this was also  a define symbol in 
  /usr/local/lib/perl5/5.8.2/i686-linux/CORE/libperl.a
(I found this out using nm -s).

Any suggestions as to what has happened and what I need to do in order
to resolve this problem would be welcome.  I am a little worried since
I built GMP as well as GIMP-1.2.5 (and others) using the RedHat
version of Perl (5.6.0) and now wonder if some programs may not work
anymore.  Thanks in advance for any help you can give me.  I really
would like to stay with 5.8.2 and not have to go back to 5.6.0.

Tom Cundiff


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About