Sorry, i did'nt ment 'of coure' that way. :)
The script right now is just 'as is'. Not in a chroot environment.

I use mod_perl for apache to load dynamic modules for chrooted cgi scripts.

2008/12/5 Alexander Hall <[EMAIL PROTECTED]>

> Gabri Mate wrote:
>
>> On 12:24 Thu 04 Dec     , Jesse Zbikowski wrote:
>>
>>> On Thu, Dec 4, 2008 at 12:12 PM, Gabri Mate <[EMAIL PROTECTED]>
>>> wrote:
>>>
>>>>
>>>> '/usr/local/libdata/perl5/site_perl/i386-openbsd/auto/Image/Magick/Magick.so'
>>>>
>>> Does this file exist?
>>>
>> Yes, of course.
>>
>
> No, not "of course", since it is not obvious. People (yes, including you
> and me) do happen to screw up things from time to time.
>
>   ls /usr/local/libdata/perl5/site_perl/i386-openbsd/auto/Image/Magick/
>>
>>   Magick.bs    Magick.so    autosplit.ix
>>
>>
> Is this script running in a chroot, e.g. by apache (which chroots to
> /var/www by default)? If so, you need to copy the file to
>
> '/var/www/usr/local/libdata/perl5/site_perl/i386-openbsd/auto/Image/Magick/Magick.so'
> also exist, or make perl load it before the forking starts (e.g. in a
> BEGIN{...}).
>
> If anyone knows if there is a way to force preloading of dynamically loaded
> modules, I'd love to know about it.
>
> /Alexander

Reply via email to