Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 May 2006 03:48:12 -0800
From:      "Noah" <admin2@enabled.com>
To:        "ports-post" <freebsd-ports@freebsd.org>
Subject:   speedy_backend: Undefined symbol "PL_memory_wrap"
Message-ID:  <20060529114148.M94547@enabled.com>

next in thread | raw e-mail | index | archive | help
FreeBSD-4.11

Hi there,


I am attempting to build openwebmail-2.52_1 from /usr/ports .  I am receiveing
a speedy_backend: Undefined symbol "PL_memory_wrap" error when I config with
SpeedyCGI.

Also PERL is SUID Enabled.  Any clues why this is happening and how I can cure
the situation.

Any help much appreciated.

Cheers,

Noah



--- snip ----

--- snip ----

cd /usr/ports/lang/perl5.8
make -DENABLE_SUIDPERL
make install

then to openwebmail.

# make install clean
===>  Vulnerability check disabled, database not found
===>  Found saved configuration for openwebmail-2.52_1
===>  Extracting for openwebmail-2.52_1
=> MD5 Checksum OK for openwebmail-2.52.tar.gz.
===>   openwebmail-2.52_1 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Patching for openwebmail-2.52_1
===>   openwebmail-2.52_1 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Applying extra patch
/usr/ports/mail/openwebmail/work/cgi-bin/openwebmail/misc/patches/suidperl2speedy_suidperl.notmp.patch
===>  Applying FreeBSD patches for openwebmail-2.52_1
===>   openwebmail-2.52_1 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Configuring for openwebmail-2.52_1
===>  Installing for openwebmail-2.52_1
===>   openwebmail-2.52_1 depends on file:
/usr/local/lib/perl5/site_perl/5.8.8/mach/Text/Iconv.pm - found
===>   openwebmail-2.52_1 depends on file:
/usr/local/lib/perl5/site_perl/5.8.8/mach/MIME/Base64.pm - found
===>   openwebmail-2.52_1 depends on executable: antiword - found
===>   openwebmail-2.52_1 depends on executable: convert - found
===>   openwebmail-2.52_1 depends on executable: ispell - found
===>   openwebmail-2.52_1 depends on file:
/usr/local/lib/perl5/site_perl/5.8.8/mach/Authen/PAM.pm - found
===>   openwebmail-2.52_1 depends on file:
/usr/local/lib/perl5/site_perl/5.8.8/IO/Socket/SSL.pm - found
===>   openwebmail-2.52_1 depends on file:
/usr/local/lib/perl5/site_perl/5.8.8/Mail/SpamAssassin.pm - found
===>   openwebmail-2.52_1 depends on executable: speedy_suidperl - found
===>   openwebmail-2.52_1 depends on executable: clamdscan - found
===>   openwebmail-2.52_1 depends on file:
/usr/local/lib/perl5/site_perl/5.8.8/mach/Compress/Zlib.pm - found
===>   openwebmail-2.52_1 depends on file: /usr/local/bin/perl5.8.8 - found
===>   Generating temporary packing list
/usr/libexec/ld-elf.so.1: /usr/local/bin/speedy_backend: Undefined symbol
"PL_memory_wrap"
speedy[32037]: Cannot spawn backend process
*** Error code 1

Stop in /usr/ports/mail/openwebmail.
typhoon# perl -V
Summary of my perl5 (revision 5 version 8 subversion    configuration:
 Platform:
   osname=freebsd, osvers=4.11-release-p3, archname=i386-freebsd-64int
   uname='freebsd typhoon.enabled.com 4.11-release-p3 freebsd 4.11-release-p3
#0: sat apr 16 18:05:01 pdt 2005
root@typhoon.enabled.com:usrobjusrsrcsyslocal-ipfw i386 '
   config_args='-sde -Dprefix=/usr/local
-Darchlib=/usr/local/lib/perl5/5.8.8/mach -Dprivlib=/usr/local/lib/perl5/5.8.8
-Dman3dir=/usr/local/lib/perl5/5.8.8/perl/man/man3
-Dman1dir=/usr/local/man/man1
-Dsitearch=/usr/local/lib/perl5/site_perl/5.8.8/mach
-Dsitelib=/usr/local/lib/perl5/site_perl/5.8.8 -Dscriptdir=/usr/local/bin
-Dsiteman3dir=/usr/local/lib/perl5/5.8.8/man/man3
-Dsiteman1dir=/usr/local/man/man1 -Ui_malloc -Ui_iconv -Uinstallusrbinperl
-Dcc=cc -Duseshrplib
-Dccflags=-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -Doptimize=-O
-pipe -march=pentiumpro -Dd_dosuid=define -Ui_gdbm -Dusethreads=n
-Dusemymalloc=y -Duse64bitint'
   hint=recommended, useposix=true, d_sigaction=define
   usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
   useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
   use64bitint=define use64bitall=undef uselongdouble=undef
   usemymalloc=y, bincompat5005=undef
 Compiler:
   cc='cc', ccflags ='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN"
-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
-I/usr/local/include',
   optimize='-O -pipe -march=pentiumpro',
   cppflags='-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN"
-DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
-I/usr/local/include'
   ccversion='', gccversion='2.95.4 20020320 [FreeBSD]', gccosandvers=''
   intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
   d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
   ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
   alignbytes=4, prototype=define
 Linker and Libraries:
   ld='cc', ldflags =' -Wl,-E -L/usr/local/lib'
   libpth=/usr/lib /usr/local/lib
   libs=-lgdbm -lm -lcrypt -lutil
   perllibs=-lm -lcrypt -lutil
   libc=, so=so, useshrplib=true, libperl=libperl.so
   gnulibc_version=''
 Dynamic Linking:
   dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='
-Wl,-R/usr/local/lib/perl5/5.8.8/mach/CORE'
   cccdlflags='-DPIC -fPIC', lddlflags='-shared  -L/usr/local/lib'

Characteristics of this binary (from libperl):
 Compile-time options: MYMALLOC PERL_MALLOC_WRAP USE_64_BIT_INT
                       USE_LARGE_FILES USE_PERLIO
 Locally applied patches:
       defined-or
 Built under freebsd
 Compiled at May 28 2006 16:45:32
 @INC:
   /usr/local/lib/perl5/5.8.8/BSDPAN
   /usr/local/lib/perl5/site_perl/5.8.8/mach
   /usr/local/lib/perl5/site_perl/5.8.8
   /usr/local/lib/perl5/site_perl/5.8.7
   /usr/local/lib/perl5/site_perl/5.8.6
   /usr/local/lib/perl5/site_perl/5.8.5
   /usr/local/lib/perl5/site_perl/5.8.2
   /usr/local/lib/perl5/site_perl/5.8.0
   /usr/local/lib/perl5/site_perl/5.005
   /usr/local/lib/perl5/site_perl
   /usr/local/lib/perl5/5.8.8/mach
   /usr/local/lib/perl5/5.8.8
   .

# pkg_info | grep Speedy
p5-CGI-SpeedyCGI-2.22_2 Speed up perl CGI scripts by running them persistently


--- snip --- 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060529114148.M94547>