I had a few days away from this problem to see if I could think of anything
but no.

Here's the outline of the problem.

As root I can install AxKit 1.62, however when I start Apache the first
error below occurs.

I thought running 'make test' might show me something.

I can't run make test as root, so I tried to run Makefile.PL as a less
privileged user and got the second error below - the liconv err does not
occur if I'm root. 

I have reinstalled the liconv via the ports and all seems to be fine.

I'm new to BSD, having used 1.62 just fine with Solaris, any light you can
shed on this would be greatly appreciated!

Mark.

------APACHE ERROR
[Wed Nov  3 15:18:54 2004] [error] Can't load
'/usr/local/lib/perl5/site_perl/5.8.0/i386-freebsd/auto/AxKit/AxKit.so' for
module AxKit: 
/usr/local/lib/perl5/site_perl/5.8.0/i386-freebsd/auto/AxKit/AxKit.so:
Undefined symbol "libiconv_close" at
/usr/local/lib/perl5/5.8.0/i386-freebsd/DynaLoader.pm line 229.\n at
/usr/local/lib/perl5/site_perl/5.8.0/i386-freebsd/AxKit.pm line 32\nBEGIN
failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.0/i386-freebsd/AxKit.pm line
32.\nCompilation failed in require at
/usr/local/lib/perl5/site_perl/5.8.0/i386-freebsd/Apache/AxKit/Language/XSP.
pm line 6.\nBEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.0/i386-freebsd/Apache/AxKit/Language/XSP.
pm line 6.\nCompilation failed in require at
/usr/local/lib/perl5/site_perl/5.8.0/Apache/Kentucky/Kentucky_Taglib.pm line
92.\nBEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.0/Apache/Kentucky/Kentucky_Taglib.pm line
92.\nCompilation failed in require at
/usr/local/apache//conf/modules_startup.pl line 40.\nBEGIN
failed--compilation aborted at /usr/local/apache//conf/modules_startup.pl
line 40.\nCompilation failed in require at (eval 2) line 1.\n
Syntax error on line 346 of /usr/local/apache/conf/httpd.conf:
Can't load 
'/usr/local/lib/perl5/site_perl/5.8.0/i386-freebsd/auto/AxKit/AxKit.so' for
module AxKit: 
/usr/local/lib/perl5/site_perl/5.8.0/i386-freebsd/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/lib/perl5/site_perl/5.8.0/i386-freebsd/AxKit.pm line 32
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.0/i386-freebsd/AxKit.pm line 32.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.8.0/i386-freebsd/Apache/AxKit/Language/XSP.
pm line 6.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.0/i386-freebsd/Apache/AxKit/Language/XSP.
pm line 6.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.8.0/Apache/Kentucky/Kentucky_Taglib.pm line
92.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.0/Apache/Kentucky/Kentucky_Taglib.pm line
92.
Compilation failed in require at /usr/local/apache//conf/modules_startup.pl
line 40.
BEGIN failed--compilation aborted at
/usr/local/apache//conf/modules_startup.pl line 40.
Compilation failed in require at (eval 2) line 1.


------AXKIT ERROR
==================================================================

AxKit's installer magic requires ExtUtils::AutoInstall. AxKit comes
with an older version, but it will not be installed.  You should
install the most recent ExtUtils::AutoInstall at your convenience.

==================================================================

*** ExtUtils::AutoInstall version 0.32
*** Checking for dependencies...
[Core Features]
- mod_perl        ...loaded. (1.29 >= 1.17)
- Digest::MD5     ...loaded. (2.20 >= 2.09)
- Compress::Zlib  ...loaded. (1.33)
- Error           ...loaded. (0.15 >= 0.14)
- Apache::Request ...loaded. (1.3 >= 0.31_03)
- File::Basename  ...loaded. (2.71)
- File::Spec      ...loaded. (0.83)
[Apache::Test for live server tests]
- Apache::Test    ...loaded. (1.15 >= 1.00)
[Optional modules for using XPathScript]
- XML::Parser     ...loaded. (2.34 >= 2.27)
- XML::XPath      ...loaded. (1.13 >= 1.00)
[Optional module for using Sablotron XSLT engine]
- XML::Sablotron  ...failed! (needs 0.40)
==> Do you wish to install the 1 optional module(s)? [n] n
[Optional modules required for XSP and LibXSLT engine]
- XML::LibXML     ...loaded. (1.57 >= 1.51)
[Optional module required for LibXSLT engine]
- XML::LibXSLT    ...loaded. (1.57 >= 1.49)
[Optional for tidying output of AxTraceIntermediate XSP pages]
- Perl::Tidy      ...failed! (needed)
==> Do you wish to install the 1 optional module(s)? [n] n
*** ExtUtils::AutoInstall configuration finished.
[   info] generating script t/TEST
running xml2-config... ok
looking for -lxml2... no

We will now check if your apache has XML symbols in it, to be sure that
AxKit will work under your version of Apache. If you do not wish to
perform this check (it shouldn't be necessary if you installed Apache
*after* installing Expat), then please just enter 0 (zero) below and
these tests will be skipped.

Path to apache httpd? [/usr/local/apache/bin/httpd]
checking for expat symbols in apache... ok
checking for iconv() in -liconv... no
checking for libiconv() in -liconv... no
checking for iconv() in -lc... no
AxKit needs the iconv system library to work properly. This comes by
default with most Unix systems, however it may be that you do not
have the development libraries installed, or possibly that you just
don't have iconv available on your system. For *BSD systems, iconv
is available in your distribution's ports collection. For Win32
systems, a google search will often suffice to find a Win32 library
version.

On 2/11/04 1:02 pm, "Tom Schindl" <[EMAIL PROTECTED]> wrote:

> Freeloader Groups wrote:
>> Ahh, I'm doing the same...
>> 
>> I'm installing as root as when I switch to a less privileged user iconv
>> cannot be found.
>> 
> 
> I'm not really a BSD user and don't know if there's something like
> /etc/ld.so.conf but if not the cause might be that when running
> everything as underprivileged user the LD_LIBRARY_PATH does not include
> the iconv-lib-directory.
> 
> When does the start of apache fails? Using the make test? Or simply if
> you add the PerlModule AxKit and run it as a root user.
> 
> Please send me the complete out put of your apache-errorlog offline.
> 
>> I realise this is a privileges thing but I'm not rally sure what to change
>> aside from the obvious, (iconv). I've also reinstalled the port as the
>> unprivileged user but no luck, sure I'm just missing something real simple.
>> 
> 
> [...]
> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to