On 27-01-14 23:05, Nathanael D. Noblet wrote: > On Mon, 2014-01-27 at 22:35 +0100, Patrick Laimbock wrote: >> Hi, >> >> On a CentOS 6.5 x86_64 box I'm using DSPAM 3.10.2 and SELinux is in >> permissive mode. The problem is that DSPAM segfaults: >> > > Are you using the epel provided centos rpms?
Nope, I generated my own packages. Here's the configure snippet in the spec file: export CFLAGS="%{optflags}" export LDFLAGS="-L/usr/local/lib64" export CPPFLAGS="-I/usr/local/include" %configure \ --enable-long-usernames \ --enable-syslog \ --disable-large-scale \ --enable-clamav \ --enable-domain-scale \ --disable-homedir \ --enable-virtual-users \ --enable-preferences-extension \ --with-mysql-includes='%{_includedir}/mysql' \ --with-mysql-libraries='%{_libdir}/mysql' \ --with-pgsql-includes='%{_includedir}/pgsql' \ --with-pgsql-libraries='%{_libdir}' \ --enable-daemon \ --enable-external-lookup \ --with-storage-driver='hash_drv,mysql_drv,pgsql_drv,sqlite3_drv' \ --with-dspam-home='%{dspam_homedir}' \ --with-dspam-owner='%{dspam_user}' \ --with-dspam-group='%{mail_group}' \ --with-dspam-home-group='%{mail_group}' \ --with-dspam-mode='%{dspam_mode}' \ --with-logdir='%{dspam_logdir}' \ --with-logfile='%{dspam_logdir}'/dspam.log \ --enable-split-configuration \ --sysconfdir='%{dspam_confdir}' \ --enable-debug --enable-verbose-debug # remove rpath - from the Fedora Packaging Guidelines sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool make %{?_smp_mflags} OPTIMIZE="%{optflags} -fPIC -DPIC" The build/optflags are: -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic Regards, Patrick ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Dspam-user mailing list Dspam-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-user