For what seems like forever now I¹ve been trying to replace my working 1.6
with 1.6.2 on FreeBSD 4.10, but I have a problem that I have tracked down to
Libiconv that I could really do with some help with!

Makefile.PL works fine DEBUG=1 shows nothing out of the ordinary;

checking for iconv() in -liconv... yes
Found libiconv. Might be *BSD or Win32...

Then make Œseems¹ to run ok but on closer inspection I found the following
lines of interest;

-DHAVE_BLANK -DHAVE_LIBXML2 axconfig.c
axconfig.c: In function `axkit_fixup_charsets':
axconfig.c:1149: warning: passing arg 2 of `libiconv' from incompatible
pointer type

Then make test gives the error below which I¹m assuming is related to the
above make err;

Can't load '/usr/local/software/AxKit-1.62/blib/arch/auto/AxKit/AxKit.so'
for module AxKit: 
/usr/local/software/AxKit-1.62/blib/arch/auto/AxKit/AxKit.so: Undefined
symbol "libiconv_close" at
/usr/local/lib/perl5/5.8.0/i386-freebsd/DynaLoader.pm line 229. at
/usr/local/software/AxKit-1.62/blib/lib/AxKit.pm line 32

I¹ve trued a zillion things but have recently been concentration on the
possibility that the error is due FreeBSD having multiple copies of iconv.h
(i.e. The wrong one is being included), so I masked all that existed and
installed libiconv-1.9.1 by hand. Still no good, even tried INC="² even
though the most recent copy of iconv.h is in the def location
Œ/usr/local/include/¹.

I¹m all out of ideas now, aside from building a newer version of GCC but
that¹s a whole new can of worms! Pretty sure FreeBSD is finding the wrong
libiconv but aside from that I¹m at a loss what to do, any tips would be
really appreciated!

Marc.

 




Reply via email to