try recompiling perl with sh Configure -Duseshrplib this will build the libperl.so file that apache needs
-----Original Message----- From: BeerBong [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 28, 2001 12:31 PM To: mod-perl Subject: Why libperl.so? Hello! It may be very stupid problem, but I stuck - hard day. I installed Perl. Perl 5.6.1 with all default options on Debian Linux 2.4.13 - btw, it is a another problem, but 4 make test for Perl FAILED lib/dirhand and other, I found that kernerl 2.4.x is responsible for it, but didn't find how to resolve the problem. Also, I decided to renew other soft. upgrade kernel to 2.5.16. mod_perl 1.5.26 and apache 1.3.22 String for mod_perl is the same as earlier -------------------------- perl Makefile.PL APACHE_SRC=../apache_1.3.22/src \ DO_HTTPD=1 USE_APACI=1 PERL_MARK_WHERE=1 EVERYTHING=1 -------------------------- when make -------------------------- ===> src/main cc -c -I.. -I/usr/local/lib/perl5/5.6.1/i686-linux/CORE -I../os/unix -I../in clude -DLINUX=22 -DMOD_PERL -DUSE_PERL_SSI -fno-strict-aliasing -I/usr/loc al/include -DUSE_HSREGEX -DNO_DL_NEEDED -DPERL_MARK_WHERE=1 `../apaci` gen_test_char.c cc -DLINUX=22 -DMOD_PERL -DUSE_PERL_SSI -fno-strict-aliasing -I/usr/local/i nclude -DUSE_HSREGEX -DNO_DL_NEEDED -DPERL_MARK_WHERE=1 `../apaci` -o gen_test_char gen_test_char.o -lm -lcrypt -rdynamic -L/usr/local/lib /usr/local/lib/perl5/5.6.1/i686-linux/auto/DynaLoader/DynaLoader.a -L/usr/lo cal/lib/perl5/5.6.1/i686-linux/CORE -lperl -lnsl -ldl -lm -lc -lposix -lcryp t -lutil ./gen_test_char >test_char.h ./gen_test_char: error in loading shared libraries: libperl.so: cannot open shared object file: No such file or directory make[4]: *** [test_char.h] Error 127 -------------------------- Why libperl.so ? I want statically linked mod_perl. Perl ENV -------------------------- Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=linux, osvers=2.4.13, archname=i686-linux uname='linux warzavod 2.4.13 #1 wed oct 31 18:17:06 samt 2001 i686 unknown ' config_args='-d' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFS ET_BITS=64', optimize='-O2', cppflags='-fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='2.95.2 20000220 (Debian GNU/Linux)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=4, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -lndbm -ldb -ldl -lm -lc -lposix -lcrypt -lutil perllibs=-lnsl -ldl -lm -lc -lposix -lcrypt -lutil libc=/lib/libc-2.1.3.so, so=so, useshrplib=false, libperl=libperl.a Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: USE_LARGE_FILES Built under linux Compiled at Nov 28 2001 11:57:27 @INC: /usr/local/lib/perl5/5.6.1/i686-linux /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/i686-linux /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl . -------------------------- Thanx in advance... --- Sergey "BeerBong" Polyakov chief of WebZavod (http://www.webzavod.ru)