logo       

Re: Mason and undefined symbols error: msg#00051

Subject: Re: Mason and undefined symbols error
Hello,

Sorry to be a pest, but I'm rather confused by these 'undefined symbol'
errors. Yes, I have two versions of Perl installed, but they are in
different locations. Also, they have no common directories in their
respective @INC (except '.').

I am further confused by posts in the archive and elsewhere. Some seem
to say, 'Find the old offending libraries and remove them.' While others
seem to say, 'Don't mess with Apple's version of Perl. Install a second
version instead.'

So which approach is correct? Is it safe to replace Apple's 5.6 version
of Perl with 5.8 (FWIW, I'm still running 10.2)

Thanks,

Andrew


On 7/15/04 at 12:36 PM, andrew@xxxxxxxxxxx (Andrew Brosnan) wrote:

> Hello,
> 
> I need some help troubleshooting an 'Undefined symbols' error. 
> 
> I'm trying to get Mason/mod_perl/Apache to install and work properly.
> Currently I am running Mac OS X 10.2.8.
> 
> I first installed Perl v5.8.4. (I still have the Perl 5.6 installation
> that comes from Apple.)
> 
> I installed Apache 1.3.31 and mod_perl 1.29, which installed
> sucessfully and seem to work fine. (I explicitly used perl 5.8 to run
> Makefile.PL)
> 
> Next I installed HTML::Mason and dependancies using the CPAN module.
> When I started up the CPAN shell, I also explicitly used perl 5.8.
> 
> I then added the following to my httpd.conf file:
> 
> PerlModule HTML::Mason::ApacheHandler
> <FilesMatch "\.html$">
>     SetHandler perl-script
>     PerlSetVar MasonDataDir "/usr/local/mason"
>     PerlSetVar MasonCompRoot "/Library/WebServer/Documents"
>     PerlHandler HTML::Mason::ApacheHandler
> </FilesMatch>
> 
> Alas, now when I try to start Apache, I recieve the 'Undefined
> symbols' error (see below).
> 
> I would appreciate any help that can be offered.
> 
> Thanks
> 
> Andrew
> 
> 
> error below :
> #############
> andrewbr# apachectl start
> dyld: /usr/sbin/httpd Undefined symbols:
> _PL_curpad
> _PL_markstack_ptr
> _PL_op
> _PL_stack_base
> _PL_stack_sp
> _PL_sv_undef
> _PL_sv_yes
> _PL_tainting
> _Perl_croak
> _Perl_form
> _Perl_get_sv
> _Perl_getcwd_sv
> _Perl_mg_set
> _Perl_newXS
> _Perl_sv_2pv_flags
> _Perl_sv_2pv_nolen
> _Perl_sv_newmortal
> _Perl_sv_setpv
> _Perl_sv_setpvn
> _Perl_sv_setsv_flags
> _Perl_sv_taint
> /usr/sbin/apachectl: line 186:  9293 Trace/BPT trap          $HTTPD
> /usr/sbin/apachectl start: httpd could not be started
> 



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
boot-loaders.gr...    php.pear.genera...    debugging.valgr...    kde.redhat.user...    text.xml.xsl.ge...    culture.languag...    hardware.microc...    java.servicemix...    redhat.release....    web.zope.plone....    user-groups.lin...    opendarwin.webk...    video.mjpeg.use...    sysutils.bcfg2....    encryption.gpg....    lx-office.devel...    xfree86.forum/2...    mail.mutt.devel...    acpi.devel/2003...    qnx.openqnx.dev...    network.irc.irs...    freebsd.devel.m...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe