Loading ...
Sorry, an error occurred while loading the content.

51567Re: compile error

Expand Messages
  • J S
    May 1, 2003
    • 0 Attachment
      >J S wrote:
      >
      >>I need to keep the mod_perl dynamic so that I can upgrade it later if need
      >>be, and also I don't want to have to rebuild Apache as well. I did get the
      >>libperl.so to build today by adding -DUSE_HSREGEX to EXTRA_CFLAGS in the
      >>Makefile. Not sure if that was right but it at least got the compile to
      >>work.
      >
      >Great
      >
      >>The problem now is I can't get apache to start:
      >>
      >>smpd9$ /opt/apache_1.3.27/bin/apachectl configtest
      >>Syntax error on line 208 of /opt/apache_1.3.27/conf/httpd.conf:
      >>Cannot load /opt/apache_1.3.27/libexec/libperl.so into server: ld.so.1:
      >>/opt/apache_1.3.27/bin/httpd: fatal: relocation error: file
      >>/opt/apache_1.3.27/libexec/libperl.so: symbol Perl_vmess: referenced
      >>symbol not found
      >
      >[...]
      >
      >>I have a bit more debug for you but I'm not sure how meaningful this is:
      >
      >All, but one bit is missing from the puzzle
      >
      >># ldd ../libexec/libperl.so
      >> libperl.so =>
      >>/opt/perl-5.8.0/lib/5.8.0/sun4-solaris/CORE/libperl.so
      >
      >># nm -r ../libexec/libperl.so
      >
      >>[1356] | 0| 0|FUNC |GLOB |0 |UNDEF
      >>|libperl.so:Perl_vmess
      >
      >What's the output of
      >
      >nm /opt/perl-5.8.0/lib/5.8.0/sun4-solaris/CORE/libperl.so | grep
      >Perl_vmess
      >

      smpd9$ nm /opt/perl-5.8.0/lib/5.8.0/sun4-solaris/CORE/libperl.so | grep
      Perl_vmess
      [368] | 995152| 716|FUNC |GLOB |0 |8 |Perl_vmess


      _________________________________________________________________
      Stay in touch with absent friends - get MSN Messenger
      http://www.msn.co.uk/messenger
    • Show all 30 messages in this topic