[Greylist-users] chroot relaydelay

Chris Paul chris.paul at rexconsulting.net
Thu Aug 28 15:57:49 PDT 2003

On Thu, 28 Aug 2003 12:53:18 -0700
Chris Paul <chris.paul at rexconsulting.net> wrote:

> Attempt to free unreferenced scalar at /bin/relaydelay.pl line 432.

OK Even out of the chroot and running as root I get this problem.

I read the mail list archives and saw mention of this a couple weeks ago but no resolution necesarrily. My version of perl is below.

A guess: it has to do with the way I am getting this to work with the perl DBD modules and how I built them on OpenBSD from ports after enabling -Dusethreads in perl.

I have gotten this to work on OpenBSD (on another system) by building all extra perl modules after rebuilding perl with -Dusethreads. 

Maybe I'll go ahead and use FreeBSD on this like I probably should be doing. Too bad my favorite OS doesn't work well with that dreaded threaded perl. And yeah, I know I'm running pre-release OpenBSD with unsupported build options, too, which is "BAD", but I like the edge and I'm only testing right now anyhow.


Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
    osname=openbsd, osvers=3.4, archname=i386-openbsd
    config_args='-Dopenbsd_distribution=defined -Dusethreads -dsE'
    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
    cc='cc', ccflags ='-pthread -fno-strict-aliasing -I/usr/local/include',
    cppflags='-pthread -fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='2.95.3 20010125 (prerelease, propolice)', gccosandvers='openbsd3.4'
    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 ='-pthread -Wl,-E '
    libs=-lm -lc -lutil
    perllibs=-lm -lc -lutil
    libc=/usr/lib/libc.so.30.1, so=so, useshrplib=true, libperl=libperl.so.8.0
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-R/usr/libdata/perl5/i386-openbsd/5.8.0/CORE'
    cccdlflags='-DPIC -fPIC ', lddlflags='-shared -fPIC '

Characteristics of this binary (from libperl): 
  Built under openbsd
  Compiled at Aug 26 2003 23:11:43

More information about the Greylist-users mailing list