People,
I just joined the list after searching the archive regarding the subject.
I have exactly the same problem. Unfortunately the solution isnt posted in the thread, so maybe somebody can help me out.
Below the original message(s):
*mkunkel at arcor <http://www.gossamer-threads.com/lists/engine?user=568;list=modperl>*
Oct 22, 2003, 6:07 AM
Post #1 of 2 (18 views) *Bug Report mod_perl* Remove Highlighting <http://www.gossamer-threads.com/lists/modperl/dev/8277#8277>
------------------------------------------------------------------------
-------------8<---------- Start Bug Report ------------8<---------- 1. Problem Description:
I can't start my Apache2 (Debian Testing) with mod_perl
Apache without mod_perl works fine.
Error Message:
Syntax error on line 1 of /etc/apache2/mods-enabled/perl.load:
Cannot load /usr/lib/apache2/modules/mod_perl.so into server: /usr/lib/apache2/modules/mod_perl.so: undefined symbol: *PerlIOBase_binmode*
2. Used Components and their Configuration:
*** mod_perl version 1.9910
*** using lib/Apache/BuildConfig.pm *** Makefile.PL options: MP_APXS => /usr/bin/apxs2 MP_COMPAT_1X => 1 MP_GENERATE_XS => 1 MP_INST_APACHE2 => 1 MP_LIBNAME => mod_perl MP_USE_DSO => 1 MP_USE_STATIC => 1
*** /usr/sbin/apache2 -V Server version: Apache/2.0.47 Server built: Jul 15 2003 14:07:14 Server's Module Magic Number: 20020903:4 Architecture: 32-bit Server compiled with.... -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT="" -D SUEXEC_BIN="/usr/lib/apache2/suexec2" -D DEFAULT_PIDLOG="/var/run/httpd.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="/var/run/accept.lock" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types" -D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf"
*** /usr/bin/perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=linux, osvers=2.4.20-xfs+ti1211, archname=i386-linux-thread-multi
uname='linux kosh 2.4.20-xfs+ti1211 #1 sat nov 30 19:19:08 est 2002 i686 gnulinux '
config_args='-Dusethreads -Duselargefiles -Dccflags=-DDEBIAN -Dcccdlflags=-fPIC -Darchname=i386-linux -Dprefix=/usr -Dprivlib=/usr/share/perl/5.8.0 -Darchlib=/usr/lib/perl/5.8.0 -Dven
dorprefix=/usr -Dvendorlib=/usr/share/perl5 -Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -Dsitelib=/usr/local/share/perl/5.8.0 -Dsitearch=/usr/local/lib/perl/5.8.0 -Dman1dir=/usr/s
hare/man/man1 -Dman3dir=/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs -Ud_csh -Uusesfio -Uusenm -Duseshrplib -Dlibperl=libperl.so.5.8.0 -Dd_dosuid
-des'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O3',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing'
ccversion='', gccversion='3.3 (Debian)', 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, prototype=define
Linker and Libraries:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt
perllibs=-ldl -lm -lpthread -lc -lcrypt
libc=/lib/libc-2.3.1.so, so=so, useshrplib=true, libperl=libperl.so.5.8.0
gnulibc_version='2.3.1'
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: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under linux
Compiled at Jun 5 2003 23:33:07
%ENV:
PERL_LWP_USE_HTTP_10="1"
@INC:
/etc/perl
/usr/local/lib/perl/5.8.0
/usr/local/share/perl/5.8.0
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.8.0
/usr/share/perl/5.8.0
/usr/local/lib/site_perl
.
3. This is the core dump trace: (if you get a core dump):
[CORE TRACE COMES HERE]
This report was generated by /usr/bin/mp2bug on Wed Oct 22 13:01:52 2003 GMT.
-------------8<---------- End Bug Report --------------8<----------
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
*stas at stason <http://www.gossamer-threads.com/lists/engine?user=11;list=modperl>*
Oct 25, 2003, 1:34 AM
Post #2 of 2 (18 views) *Re: Bug Report mod_perl* Remove Highlighting <http://www.gossamer-threads.com/lists/modperl/dev/8278#8278> [In reply to <http://www.gossamer-threads.com/lists/modperl/dev/8278?search_string=PerlIOBase_binmode%20;#8277>]
------------------------------------------------------------------------
[EMAIL PROTECTED] wrote:
> -------------8<---------- Start Bug Report ------------8<----------
> 1. Problem Description:
>
> I can't start my Apache2 (Debian Testing) with mod_perl
>
> Apache without mod_perl works fine.
>
> Error Message:
> Syntax error on line 1 of /etc/apache2/mods-enabled/perl.load:
> Cannot load /usr/lib/apache2/modules/mod_perl.so into server: /usr/lib/apache2/modules/mod_perl.so: undefined symbol: *PerlIOBase_binmode*
What do you get when you run:
ldd /usr/lib/apache2/modules/mod_perl.so | grep libperl
Assuming that your libperl.so resides in /usr/local/lib/libperl.so.5.8.0
(please correct it if I'm wrong, it should be in the output of the ldd command
above), what do you get when you run:
nm /usr/local/lib/libperl.so.5.8.0 | wc -l nm /usr/local/lib/libperl.so.5.8.0 | grep Perl_PerlIO_write nm /usr/local/lib/libperl.so.5.8.0 | grep PerlIOBase_read
If the first call gives you 0, your library is stripped and we can't tell
whether the symbol is there or not. And you will need to rebuild perl with
-DDEBUGGING.
__________________________________________________________________ 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
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Following up on the last reply from Stas; It appears that my lib is stripped...What should I do to get it working?
Thanks -Patrick
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html