Subject: Re: Perl in chrooted area...?
To: Mats <netbsd@comhem.se>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-users
Date: 10/31/2006 10:56:05
--xtx0sNU5lZ46KfgK
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Oct 31, 2006 at 08:34:51AM +0100, Mats wrote:
> That was an excellent debugging command. I did chroot -u root
> /home/www and that gave the following from the script, the print
> command in perl couldn't be executed.
> print: not found
> When trying just type perl gave -
> perl: 1: Syntax error: word unexpected (expecting ")")
>=20
> I'm still stucked but that gave me hope at least. Should I create
> some tmp or null directory or something like that?=20

looks like you are missing the dynamic linker (/libexec/ld.elf_so) in
your chroot.  you can't run dynamically linked binaries without it.


regards,

--=20
-- Lubomir Sedlacik <salo@{NetBSD,Xtrmntr,silcnet}.org>   --

--xtx0sNU5lZ46KfgK
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)

iD8DBQFFRx21iwjDDlS8cmMRAqbeAJ95aRsgPc2vEqYfcc3dbeS5INy9gQCfbMcT
y5P1J9wT8hTVXbK9IWvJlaI=
=MAKU
-----END PGP SIGNATURE-----

--xtx0sNU5lZ46KfgK--