3 messages in net.sourceforge.lists.courier-usersRe: [courier-users] Compile time erro...
FromSent OnAttachments
Lindsay HaisleyJun 13, 2003 9:28 pm 
Lindsay HaisleyJun 13, 2003 10:21 pm 
Lindsay HaisleyJun 13, 2003 10:47 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] Compile time error in perlfilter.cActions...
From:Lindsay Haisley (fmo@fmp.com)
Date:Jun 13, 2003 10:21:41 pm
List:net.sourceforge.lists.courier-users

I tried back-versioning perl with no luck! Mail logs show:

Jun 14 00:12:39 bailey courierfilter: perlfilter: relocation error: /usr/lib/perl5/auto/MIME/Base64/Base64.so: undefined symbol: Perl_Gthr_key_ptr

I upgraded to perl 5.8.0 and am trying to recompile courier so that perlfilter will work with the upgrade. I'm getting the following errors out of the courier compile:

Compiling perlfilter.c gcc -I./.. -I.. -I./../.. -I../.. -I./../../.. -I ../../.. -g -O2 -D_REENTRANT
-D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I/usr/lib/perl/5.8.0/CORE -o perlfilter
perlfilter.o ../libfilter/libfilter.a ../../../waitlib/libwaitlib.a
../../libs/libcommon.a ../../libs/libcourier.a -rdynamic -L/usr/local/lib
/usr/lib/perl/5.8.0/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl/5.8.0/CORE
-lperl -ldl -lm -lpthread -lc -lcrypt perlfilter.o(.text+0x14c): In function 'perlfilter': /home/fmouse/src/mail/courier-0.42.2/courier/filters/perlfilter/perlfilter.c:71:
undefined reference to 'perl_call_argv' perlfilter.o(.text+0x248):/home/fmouse/src/mail/courier-0.42.2/courier/filters/perlfilter/perlfilter.c:84:
undefined reference to erl_sv_2pv_flags' /usr/lib/perl/5.8.0/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x871): In
function 'boot_DynaLoader': : undefined reference to 'perl_sv_2pv_flags' /usr/lib/perl/5.8.0/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x8ba): In
function 'boot_DynaLoader': : undefined reference to 'perl_get_sv' /usr/lib/perl/5.8.0/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x8f9): In
function 'boot_DynaLoader': : undefined reference to 'perl_get_sv' /usr/lib/perl/5.8.0/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0x918): In
function 'boot_DynaLoader': : undefined reference to 'perl_sv_2pv_flags' /usr/lib/perl/5.8.0/auto/DynaLoader/DynaLoader.a(DynaLoader.o)(.text+0xa59): In
function 'saveError': : undefined reference to 'perl_sv_2pv_flags' collect2: ld returned 1 exit status

Looks like a link error in the new perl lib. Perlfilter is absolutely essential to my installation since I run a virus filter on it and currently about 30 commercial clients are unprotected from viruses at the server! They've come to rely on FMP's filters and even though I sent them an APB about the problem I need to get it fixed A*S*A*P! Backversioning perl would be difficult, since I'm running Debian sarge on the server and this is the standard perl version as of my last upgrade. The error occurred in courier 0.42.2.

Any help will be GREATLY appreciated!

Desperate in Austin