FAQ
I am long-time embperl user.
Recently I've upgraded from ubuntu 13.04 to ubuntu 13.10., and embperl
has stopped working. cannot enable zembperl.* files in mods-enabled



The ubuntu installer has upgraded apache 2.2 to apache 2.4.
The upgrade worked, mod_perl works, but I suspect the upgrade broke the
embperl installation. It took me a while to realize that this happened.


Although Ubuntu 13.10 contains an embperl package in the standard repos,
I suspect it has been compiled for apache 2.2

HIer is some infor
Embedded Perl version v5.14.2 for Apache process 53123,
running since Sun Nov 10 18:38:00 2013

What can I do now?

Knut




ldd -v -r /usr/local/lib/perl/5.14.2/auto/Embperl/Embperl.so

GIVES LOTS AND LOTS OF "undefined symbol" ERRORS


undefined symbol: PL_thr_key
(/usr/local/lib/perl/5.14.2/auto/Embperl/Embperl.so)
undefined symbol: Perl_save_sptr
(/usr/local/lib/perl/5.14.2/auto/Embperl/Embperl.so)
undefined symbol: apr_table_add
(/usr/local/lib/perl/5.14.2/auto/Embperl/Embperl.so)
undefined symbol: Perl_xs_version_bootcheck
(/usr/local/lib/perl/5.14.2/auto/Embperl/Embperl.so)
undefined symbol: Perl_sv_free
(/usr/local/lib/perl/5.14.2/auto/Embperl/Embperl.so)
  linux-vdso.so.1 => (0x00007fffcafd5000)
  libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7587eaa000)
  /lib64/ld-linux-x86-64.so.2 (0x00007f7588540000)
undefined symbol: Perl_sv_2iv_flags
(/usr/local/lib/perl/5.14.2/auto/Embperl/Embperl.so)
undefined symbol: Perl_sv_2bool_flags
(/usr/local/lib/perl/5.14.2/auto/Embperl/Embperl.so)
undefined symbol: Perl_PerlIO_stdout (/usr/local/lib/perl/5.14.2
/Embperl.so)
undefined symbol: Perl_get_hv
(/usr/local/lib/perl/5.14.2/auto/Embperl/Embperl.so)

  Version information:
  /usr/local/lib/perl/5.14.2/auto/Embperl/Embperl.so:
   libc.so.6 (GLIBC_2.3.4) => /lib/x86_64-linux-gnu/libc.so.6
   libc.so.6 (GLIBC_2.14) => /lib/x86_64-linux-gnu/libc.so.6
   libc.so.6 (GLIBC_2.4) => /lib/x86_64-linux-gnu/libc.so.6
   libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
   libc.so.6 (GLIBC_2.3) => /lib/x86_64-linux-gnu/libc.so.6
  /lib/x86_64-linux-gnu/libc.so.6:
   ld-linux-x86-64.so.2 (GLIBC_2.3) => /lib64/ld-linux-x86-64.so.2
   ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linux-x86-64.so.2



/perl-status?inc



Package Version Modified File
APR 0.009000 Mon Oct 7 23:09:24 2013 /usr/lib/perl5/APR.pm
APR::Brigade 0.009000 Mon Oct 7 23:09:11 2013 /usr/lib/perl5/APR/Brigade.pm
APR::Bucket 0.009000 Mon Oct 7 23:09:18 2013 /usr/lib/perl5/APR/Bucket.pm
APR::Const 0.009000 Mon Oct 7 23:09:15 2013 /usr/lib/perl5/APR/Const.pm
APR::Date 0.009000 Mon Oct 7 23:09:29 2013 /usr/lib/perl5/APR/Date.pm
APR::Pool 0.009000 Mon Oct 7 23:09:29 2013 /usr/lib/perl5/APR/Pool.pm
APR::Table 0.009000 Mon Oct 7 23:09:20 2013 /usr/lib/perl5/APR/Table.pm
APR::URI 0.009000 Mon Oct 7 23:09:32 2013 /usr/lib/perl5/APR/URI.pm
APR::Util 0.009000 Mon Oct 7 23:09:04 2013 /usr/lib/perl5/APR/Util.pm
APR::XSLoader 0.00 Fri May 24 13:46:53 2013 /usr/lib/perl5/APR/XSLoader.pm
Apache 0.00 Mon Oct 7 23:09:12 2013 /usr/lib/perl5/Apache2/compat.pm
Apache::Constants 0.00 Mon Oct 7 23:09:12 2013
/usr/lib/perl5/Apache2/compat.pm
Apache::File 0.00 Mon Oct 7 23:09:12 2013 /usr/lib/perl5/Apache2/compat.pm
Apache::Table 0.00 Mon Oct 7 23:09:12 2013 /usr/lib/perl5/Apache2/compat.pm
Apache2::Access 2.000008 Mon Oct 7 23:09:27 2013
/usr/lib/perl5/Apache2/Access.pm
Apache2::Connection 2.000008 Mon Oct 7 23:09:14 2013
/usr/lib/perl5/Apache2/Connection.pm
Apache2::Const 2.000008 Mon Oct 7 23:09:03 2013
/usr/lib/perl5/Apache2/Const.pm
Apache2::Filter 2.000008 Mon Oct 7 23:09:13 2013
/usr/lib/perl5/Apache2/Filter.pm
Apache2::Log 2.000008 Mon Oct 7 23:09:19 2013 /usr/lib/perl5/Apache2/Log.pm
Apache2::Module 2.000008 Mon Oct 7 23:09:07 2013
/usr/lib/perl5/Apache2/Module.pm
Apache2::RequestIO 2.000008 Mon Oct 7 23:09:28 2013
/usr/lib/perl5/Apache2/RequestIO.pm
Apache2::RequestRec 2.000008 Mon Oct 7 23:09:22 2013
/usr/lib/perl5/Apache2/RequestRec.pm
Apache2::RequestUtil 2.000008 Mon Oct 7 23:09:17 2013
/usr/lib/perl5/Apache2/RequestUtil.pm
Apache2::Response 2.000008 Mon Oct 7 23:09:10 2013
/usr/lib/perl5/Apache2/Response.pm
Apache2::ServerRec 2.000008 Mon Oct 7 23:09:17 2013
/usr/lib/perl5/Apache2/ServerRec.pm
Apache2::ServerUtil 2.000008 Mon Oct 7 23:09:06 2013
/usr/lib/perl5/Apache2/ServerUtil.pm
Apache2::Status 4.01 Mon Oct 7 23:09:35 2013
/usr/lib/perl5/Apache2/Status.pm
Apache2::SubRequest 2.000008 Mon Oct 7 23:09:31 2013
/usr/lib/perl5/Apache2/SubRequest.pm
Apache2::URI 2.000008 Mon Oct 7 23:09:05 2013 /usr/lib/perl5/Apache2/URI.pm
Apache2::Util 2.000008 Mon Oct 7 23:09:07 2013
/usr/lib/perl5/Apache2/Util.pm
Apache2::XSLoader 0.00 Fri May 24 13:46:53 2013
/usr/lib/perl5/Apache2/XSLoader.pm
Apache2::compat 0.00 Mon Oct 7 23:09:12 2013
/usr/lib/perl5/Apache2/compat.pm
Carp 1.25 Thu Feb 16 23:37:28 2012 /usr/local/share/perl/5.14.2/Carp.pm
Config 0.00 Fri Jul 19 00:20:27 2013 /usr/lib/perl/5.14/Config.pm
DynaLoader 1.13 Fri Jul 19 00:20:27 2013 /usr/lib/perl/5.14/DynaLoader.pm
Exporter 5.64_03 Fri Jul 19 00:20:27 2013 /usr/share/perl/5.14/Exporter.pm
Fcntl 1.11 Fri Jul 19 00:20:27 2013 /usr/lib/perl/5.14/Fcntl.pm
File::Spec 3.33 Fri Jul 19 00:20:27 2013 /usr/lib/perl/5.14/File/Spec.pm
File::Spec::Unix 3.33 Fri Jul 19 00:20:27 2013
/usr/lib/perl/5.14/File/Spec/Unix.pm
ModPerl::Const 2.000008 Mon Oct 7 23:09:24 2013
/usr/lib/perl5/ModPerl/Const.pm
Symbol 1.07 Fri Jul 19 00:20:27 2013 /usr/share/perl/5.14/Symbol.pm
XSLoader 0.13 Fri Jul 19 00:20:27 2013 /usr/share/perl/5.14/XSLoader.pm
constant 1.21 Fri Jul 19 00:20:27 2013 /usr/share/perl/5.14/constant.pm
mod_perl2 2.000008 Fri May 24 13:46:53 2013 /usr/lib/perl5/mod_perl2.pm
strict 1.04 Fri Jul 19 00:20:27 2013 /usr/share/perl/5.14/strict.pm
vars 1.02 Fri Jul 19 00:20:27 2013 /usr/share/perl/5.14/vars.pm
warnings 1.12 Fri Jul 19 00:20:27 2013 /usr/share/perl/5.14/warnings.pm
warnings::register 1.02 Fri Jul 19 00:20:27 2013
/usr/share/perl/5.14/warnings/register.pm


--
____________________________________________________________________________

Knut Behrends Phone: +49 (0) 331 288 1688
Potsdam 14473 KeyID: 0xF22CACEF (PGP Public Key)
____________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org

Search Discussions

  • Gerald Richter at Nov 11, 2013 at 9:24 am
    Hi,

    you can try the lastest version from the svn, but this is also not tested against Apache 2.4

    On the mailing list there were some patches to get Embperl working with Apache 2.4.

    I will integrate these patches in Embperl and make a new release, as soon as I have a little spare time

    Gerald

    -----Ursprüngliche Nachricht-----
    Von: Knut Behrends
    Gesendet: Sonntag, 10. November 2013 19:48
    An: embperl@perl.apache.org
    Betreff: embperl on apache 2.4 (ubuntu saucy)

    I am long-time embperl user.
    Recently I've upgraded from ubuntu 13.04 to ubuntu 13.10., and embperl has
    stopped working. cannot enable zembperl.* files in mods-enabled



    The ubuntu installer has upgraded apache 2.2 to apache 2.4.
    The upgrade worked, mod_perl works, but I suspect the upgrade broke the
    embperl installation. It took me a while to realize that this happened.


    Although Ubuntu 13.10 contains an embperl package in the standard repos, I
    suspect it has been compiled for apache 2.2

    HIer is some infor
    Embedded Perl version v5.14.2 for Apache process 53123, running since Sun
    Nov 10 18:38:00 2013

    What can I do now?

    Knut




    ldd -v -r /usr/local/lib/perl/5.14.2/auto/Embperl/Embperl.so

    GIVES LOTS AND LOTS OF "undefined symbol" ERRORS


    undefined symbol: PL_thr_key
    (/usr/local/lib/perl/5.14.2/auto/Embperl/Embperl.so)
    undefined symbol: Perl_save_sptr
    (/usr/local/lib/perl/5.14.2/auto/Embperl/Embperl.so)
    undefined symbol: apr_table_add
    (/usr/local/lib/perl/5.14.2/auto/Embperl/Embperl.so)
    undefined symbol: Perl_xs_version_bootcheck
    (/usr/local/lib/perl/5.14.2/auto/Embperl/Embperl.so)
    undefined symbol: Perl_sv_free
    (/usr/local/lib/perl/5.14.2/auto/Embperl/Embperl.so)
    linux-vdso.so.1 => (0x00007fffcafd5000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7587eaa000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f7588540000) undefined symbol:
    Perl_sv_2iv_flags
    (/usr/local/lib/perl/5.14.2/auto/Embperl/Embperl.so)
    undefined symbol: Perl_sv_2bool_flags
    (/usr/local/lib/perl/5.14.2/auto/Embperl/Embperl.so)
    undefined symbol: Perl_PerlIO_stdout (/usr/local/lib/perl/5.14.2
    /Embperl.so)
    undefined symbol: Perl_get_hv
    (/usr/local/lib/perl/5.14.2/auto/Embperl/Embperl.so)

    Version information:
    /usr/local/lib/perl/5.14.2/auto/Embperl/Embperl.so:
    libc.so.6 (GLIBC_2.3.4) => /lib/x86_64-linux-gnu/libc.so.6
    libc.so.6 (GLIBC_2.14) => /lib/x86_64-linux-gnu/libc.so.6
    libc.so.6 (GLIBC_2.4) => /lib/x86_64-linux-gnu/libc.so.6
    libc.so.6 (GLIBC_2.2.5) => /lib/x86_64-linux-gnu/libc.so.6
    libc.so.6 (GLIBC_2.3) => /lib/x86_64-linux-gnu/libc.so.6
    /lib/x86_64-linux-gnu/libc.so.6:
    ld-linux-x86-64.so.2 (GLIBC_2.3) => /lib64/ld-linux-x86-64.so.2
    ld-linux-x86-64.so.2 (GLIBC_PRIVATE) => /lib64/ld-linux-x86-
    64.so.2



    /perl-status?inc



    Package Version Modified File
    APR 0.009000 Mon Oct 7 23:09:24 2013 /usr/lib/perl5/APR.pm
    APR::Brigade 0.009000 Mon Oct 7 23:09:11 2013
    /usr/lib/perl5/APR/Brigade.pm
    APR::Bucket 0.009000 Mon Oct 7 23:09:18 2013
    /usr/lib/perl5/APR/Bucket.pm
    APR::Const 0.009000 Mon Oct 7 23:09:15 2013
    /usr/lib/perl5/APR/Const.pm
    APR::Date 0.009000 Mon Oct 7 23:09:29 2013
    /usr/lib/perl5/APR/Date.pm
    APR::Pool 0.009000 Mon Oct 7 23:09:29 2013
    /usr/lib/perl5/APR/Pool.pm
    APR::Table 0.009000 Mon Oct 7 23:09:20 2013
    /usr/lib/perl5/APR/Table.pm
    APR::URI 0.009000 Mon Oct 7 23:09:32 2013
    /usr/lib/perl5/APR/URI.pm
    APR::Util 0.009000 Mon Oct 7 23:09:04 2013
    /usr/lib/perl5/APR/Util.pm
    APR::XSLoader 0.00 Fri May 24 13:46:53 2013
    /usr/lib/perl5/APR/XSLoader.pm
    Apache 0.00 Mon Oct 7 23:09:12 2013
    /usr/lib/perl5/Apache2/compat.pm
    Apache::Constants 0.00 Mon Oct 7 23:09:12 2013
    /usr/lib/perl5/Apache2/compat.pm
    Apache::File 0.00 Mon Oct 7 23:09:12 2013
    /usr/lib/perl5/Apache2/compat.pm
    Apache::Table 0.00 Mon Oct 7 23:09:12 2013
    /usr/lib/perl5/Apache2/compat.pm
    Apache2::Access 2.000008 Mon Oct 7 23:09:27 2013
    /usr/lib/perl5/Apache2/Access.pm
    Apache2::Connection 2.000008 Mon Oct 7 23:09:14 2013
    /usr/lib/perl5/Apache2/Connection.pm
    Apache2::Const 2.000008 Mon Oct 7 23:09:03 2013
    /usr/lib/perl5/Apache2/Const.pm
    Apache2::Filter 2.000008 Mon Oct 7 23:09:13 2013
    /usr/lib/perl5/Apache2/Filter.pm
    Apache2::Log 2.000008 Mon Oct 7 23:09:19 2013
    /usr/lib/perl5/Apache2/Log.pm
    Apache2::Module 2.000008 Mon Oct 7 23:09:07 2013
    /usr/lib/perl5/Apache2/Module.pm
    Apache2::RequestIO 2.000008 Mon Oct 7 23:09:28 2013
    /usr/lib/perl5/Apache2/RequestIO.pm
    Apache2::RequestRec 2.000008 Mon Oct 7 23:09:22 2013
    /usr/lib/perl5/Apache2/RequestRec.pm
    Apache2::RequestUtil 2.000008 Mon Oct 7 23:09:17 2013
    /usr/lib/perl5/Apache2/RequestUtil.pm
    Apache2::Response 2.000008 Mon Oct 7 23:09:10 2013
    /usr/lib/perl5/Apache2/Response.pm
    Apache2::ServerRec 2.000008 Mon Oct 7 23:09:17 2013
    /usr/lib/perl5/Apache2/ServerRec.pm
    Apache2::ServerUtil 2.000008 Mon Oct 7 23:09:06 2013
    /usr/lib/perl5/Apache2/ServerUtil.pm
    Apache2::Status 4.01 Mon Oct 7 23:09:35 2013
    /usr/lib/perl5/Apache2/Status.pm
    Apache2::SubRequest 2.000008 Mon Oct 7 23:09:31 2013
    /usr/lib/perl5/Apache2/SubRequest.pm
    Apache2::URI 2.000008 Mon Oct 7 23:09:05 2013
    /usr/lib/perl5/Apache2/URI.pm
    Apache2::Util 2.000008 Mon Oct 7 23:09:07 2013
    /usr/lib/perl5/Apache2/Util.pm
    Apache2::XSLoader 0.00 Fri May 24 13:46:53 2013
    /usr/lib/perl5/Apache2/XSLoader.pm
    Apache2::compat 0.00 Mon Oct 7 23:09:12 2013
    /usr/lib/perl5/Apache2/compat.pm
    Carp 1.25 Thu Feb 16 23:37:28 2012
    /usr/local/share/perl/5.14.2/Carp.pm
    Config 0.00 Fri Jul 19 00:20:27 2013 /usr/lib/perl/5.14/Config.pm
    DynaLoader 1.13 Fri Jul 19 00:20:27 2013
    /usr/lib/perl/5.14/DynaLoader.pm
    Exporter 5.64_03 Fri Jul 19 00:20:27 2013
    /usr/share/perl/5.14/Exporter.pm
    Fcntl 1.11 Fri Jul 19 00:20:27 2013 /usr/lib/perl/5.14/Fcntl.pm
    File::Spec 3.33 Fri Jul 19 00:20:27 2013
    /usr/lib/perl/5.14/File/Spec.pm
    File::Spec::Unix 3.33 Fri Jul 19 00:20:27 2013
    /usr/lib/perl/5.14/File/Spec/Unix.pm
    ModPerl::Const 2.000008 Mon Oct 7 23:09:24 2013
    /usr/lib/perl5/ModPerl/Const.pm
    Symbol 1.07 Fri Jul 19 00:20:27 2013 /usr/share/perl/5.14/Symbol.pm
    XSLoader 0.13 Fri Jul 19 00:20:27 2013
    /usr/share/perl/5.14/XSLoader.pm
    constant 1.21 Fri Jul 19 00:20:27 2013
    /usr/share/perl/5.14/constant.pm
    mod_perl2 2.000008 Fri May 24 13:46:53 2013
    /usr/lib/perl5/mod_perl2.pm
    strict 1.04 Fri Jul 19 00:20:27 2013 /usr/share/perl/5.14/strict.pm
    vars 1.02 Fri Jul 19 00:20:27 2013 /usr/share/perl/5.14/vars.pm
    warnings 1.12 Fri Jul 19 00:20:27 2013
    /usr/share/perl/5.14/warnings.pm
    warnings::register 1.02 Fri Jul 19 00:20:27 2013
    /usr/share/perl/5.14/warnings/register.pm


    --
    __________________________________________________________
    __________________

    Knut Behrends Phone: +49 (0) 331 288 1688
    Potsdam 14473 KeyID: 0xF22CACEF (PGP Public Key)
    __________________________________________________________
    __________________

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
    For additional commands, e-mail: embperl-help@perl.apache.org


    ---------------------------------------------------------------------
    To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
    For additional commands, e-mail: embperl-help@perl.apache.org

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupembperl @
categoriesmodperl, perl
postedNov 10, '13 at 6:48p
activeNov 11, '13 at 9:24a
posts2
users2
websiteperl.apache.org

2 users in discussion

Gerald Richter: 1 post Knut Behrends: 1 post

People

Translate

site design / logo © 2018 Grokbase