William McKee wrote:
On Fri, Mar 12, 2004 at 07:01:29PM -0800, Stas Bekman wrote:

Why do you have /usr/lib/libperl.* at all? It's a bad idea to have it in the common path if you have more than one perl installed on the same system.

Yes, you always need to rebuild mod_perl with the new version of perl.


I must not be building this correctly because I get the following error
message if I don't create the libperl.so and symlink it into
/usr/lib/libperl.so:

  error while loading shared libraries: libperl.so: cannot open shared
  object file: No such file or directory

I can't find anything about this error in the docs or via Google. Would
appreciate any insights you may have.

that's when you start apache/mp, right? You need to remove that library and then rebuild mod_perl. It should now find the library under /usr/local/lib/perl5/.../libperl.so


All I'm worried about is that you may have too many perls installed under the same tree or on the same system, and when you use them they get intermixed causing weird problems. So I'd suggest to completely nuke (after backuping) /usr/local/lib/perl5 and any other places you may have remains of perl including libperl.* and install a fresh perl, rebuild mod_perl and then give it a try.


Yeah, that's certainly a concern. I'd like to figure out my
misconfiguration issue above then will attempt your proposal to nuke all
these old installations and start fresh.

at least move them into some safe location (like some foo dir under your home directory).


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Reply via email to