Natarajan System Administrator wrote:
>
> hello,
>
> I have installed Apache web server with mod_perl module in it.
>
> When i run httpd server i get an error message
>
> libexec/libperl.so: open failed: No such file or directory
>
> What should i do to rectify this problem
Did you compile apache-mod_perl yourself ? The above error seems to
indicate
that perl was compiled with a shared library. mod_perl does detect this
and
links the apache executable to the perl shared library (libperl.so).
So, first of all make sure you have perl installed on the machine, and
that
you have libperl.so in <perlroot>/<version>/<architecture>/CORE. On my
machine
it's /usr/local/lib/perl5/5.00503/sun4-solaris/CORE
Then make sure that that directory is included in the environment
variable
LD_LIBRARY_PRELOAD. Under normal circumstances, apache should have the
path
configured at compile time, but this way you can override the library
path.
--
Christophe Dupre
Analyste de systemes,
RISQ inc.
550 Sherbrooke ouest, suite 250-ouest Tel: (514) 845-7181, ext 237
Montreal, QC CANADA FAX: (514) 845-8083
"Nous ne sommes pas libres de ne pas etre libres, nous sommes obliges de
l'etre" - Fernando Savater