Hi,

I ran ldd on samcmd, the command line version of the sablotron processor, 
copied the dependcies into the chroot environment and it worked...

I think that you need the Sablotron.so object 
from /usr/local/libdata/perl5/site_perl/i386-openbsd/auto/XML/Sablotron
in the chroot environment to run. This dependency was not in the ldd output 
on ``sabcmd''.

yo:later,

jr

----------  Forwarded Message  ----------

Subject: p5-XML-Sablotron in chroot
Date: Saturday 06 August 2005 09:38
From: James Reynolds <[EMAIL PROTECTED]>
To: [email protected]

Hi,

Has anyone acheived XML::Sablotron in the chroot apache on OpenBSD
3.7-release?

I had to copy
from
 /usr/local/libdata/perl5/site_perl/i386-openbsd/auto/XML/Sablotron/Sablot
ron.so to the /var/www and i duplicated it to
 /var/www/usr/local/libdata/perl5 because I wasn't sure
if
 /var/www/usr/local/libdata/site_perl/i386-openbsd/auto/XML/Sablotron/Sabl
otron.so

would appear in the %INC variable for /usr/bin/perl in chroot environment


% cat error_log
[Sat Aug  6 09:01:35 2005] [error] [client 127.0.0.1] Premature end of
script headers: /cgi-bin/example01.pl

various saboltron libraries and objects
----------

/var/www/usr/local/lib/libsablot.a
/var/www/usr/local/lib/libsablot.la
/var/www/usr/local/lib/libsablot.so.100.1
/var/www/usr/local/libdata/perl5/libsablot.a
/var/www/usr/local/libdata/perl5/libsablot.la
/var/www/usr/local/libdata/perl5/libsablot.so.100.1
/var/www/usr/local/libdata/perl5/Sablotron.so
/var/www/usr/local/libdata/perl5/site_perl/i386-openbsd/auto/XML/Sablotron
/Sablotron.so

% ls /var/www/usr/libexec
ld.so*


--
james reynolds

Reply via email to