On Tuesday 30 May 2006 16:09, Jacob Yocom-Piatt wrote:
> ---- Original message ----
>
> man ldd. it will tell you which, if any, dynamic libraries you need in your
> chroot.
>
thank jacob. it certainly seems like a good idea!

ldd /usr/local/bin/ruby gave

        Start    End      Type Open Ref GrpRef Name
        00000000 00000000 exe  1    0   0      /usr/local/bin/ruby
        0e71b000 2e749000 rlib 0    1   0      /usr/local/lib/libruby.so.1.84
        03e03000 23e0a000 rlib 0    2   0      /usr/lib/libm.so.2.1
        08573000 285a4000 rlib 0    1   0      /usr/lib/libc.so.39.0
        0e0c0000 0e0c0000 rtld 0    1   0      /usr/libexec/ld.so

so i copied them appropriately into a usr dir under /var/www

i have mod_ruby and the appropriate changes in the httpd.conf file.

but still no go :( 

actually, i'm puzzled suddenly by all this.
php sits in /usr/local/bin - yet it runs find having just the php.ini file 
inside the chroot environment. may be that file may give some clues as to how 
this was done for php and may point the way for ruby.

-- 
In friendship,
prad

                                      ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's

Reply via email to