sounds like the old freebsd plague of installing libperl.so into /usr/local/lib. that is, the dist installs libperl.so where it should not be installed, /usr/local/lib, then a user compiles/installs on their own and libperl.so is installed where it should be, in your case likely:
/usr/lib/perl5/5.6.1/i386-freebsd-thread-multi/CORE but the one in /usr/local/lib is found first. ldd mod_perl.so will tell you which one it was linked against. couple of options: - delete the libperl.so in /usr/local/lib - edit src/modules/perl/Makefile.modperl and put -L/usr/local/lib after -L/usr/lib/perl5/... - try adding LoadFile \ /usr/lib/perl5/5.6.1/i386-freebsd-thread-multi/CORE/libperl.so before LoadModperl perl_module ... On Tue, 11 Jun 2002, Paul G. Weiss wrote: > Sorry if this has been covered - I searched to no avail. > > I'm getting the following error when trying to start > an Apache 2.0.36 with ModPerl::Registry: > > /usr/libexec/ld-elf.so.1: > /usr/lib/perl5/site_perl/5.6.1/i386-freebsd-thread-multi/auto/Apache/Request > Rec/RequestRec.so: Undefined symbol "Perl_Tstack_sp_ptr" > > All relevant build info is below. Has anyone seen and conquered this? > -P > > System is FreeBSD 4.5-RELEASE > > Perl: > > [~/mod_perl-1.99_02]# perl -V > Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: > Platform: > osname=freebsd, osvers=4.5-release, archname=i386-freebsd-thread-multi > uname='freebsd develop1.vqoffice 4.5-release freebsd 4.5-release #0: mon > jan 28 14:31:56 gmt 2002 > [EMAIL PROTECTED]:usrsrcsyscompilegeneric i386 ' > config_args='-des -Dprefix=/usr -Dusethreads -Duseshrplib -Doptimize=-O > -g' > hint=recommended, useposix=true, d_sigaction=define > usethreads=define use5005threads=undef useithreads=define > usemultiplicity=define > useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef > use64bitint=undef use64bitall=undef uselongdouble=undef > Compiler: > cc='cc', ccflags ='-DDEBUGGING -fno-strict-aliasing > -I/usr/local/include', > optimize='-O -g', > cppflags='-DDEBUGGING -fno-strict-aliasing -I/usr/local/include' > ccversion='', gccversion='2.95.3 20010315 (release) [FreeBSD]', > 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 ='-pthread -Wl,-E -L/usr/local/lib' > libpth=/usr/lib /usr/local/lib > libs=-lgdbm -lm -lc_r -lcrypt -lutil > perllibs=-lm -lc_r -lcrypt -lutil > libc=, so=so, useshrplib=true, libperl=libperl.so > Dynamic Linking: > dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' > -Wl,-R/usr/lib/perl5/5.6.1/i386-freebsd-thread-multi/CORE' > cccdlflags='-DPIC -fpic', lddlflags='-shared -L/usr/local/lib' > > > Characteristics of this binary (from libperl): > Compile-time options: DEBUGGING MULTIPLICITY USE_ITHREADS USE_LARGE_FILES > PERL_IMPLICIT_CONTEXT > Built under freebsd > Compiled at Jun 3 2002 21:42:51 > @INC: > /usr/lib/perl5/5.6.1/i386-freebsd-thread-multi > /usr/lib/perl5/5.6.1 > /usr/lib/perl5/site_perl/5.6.1/i386-freebsd-thread-multi > /usr/lib/perl5/site_perl/5.6.1 > /usr/lib/perl5/site_perl > . > > > Apache: > > #! /bin/sh > # > # Created by configure > > "./configure" \ > "--enable-threads=yes" \ > "--enable-modules=all" \ > "--enable-mods-shared=all" \ > "--prefix=/usr/local/apache2" \ > "--with-mpm=worker" \ > "--enable-proxy" \ > "--enable-ssl" \ > "--enable-info" \ > "--enable-status" \ > "$@" > > > > mod_perl-1.99_02: > > perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2 >