Great -
But i can't reproduce this. when i try to load a non-existent config
file i get an error to stderr (not to the log file)
Error Loading CPP SO foobar into server: cannot create object file
image or add library
do you get something different? or were you not looking at
stdout/stderr? lemme know more specifically what your configuration
looks like and i'll try to reproduce and fix it.
glad to know its all working for you.
sterling
On Monday, September 2, 2002, at 05:21 AM, Pachi Sucunza wrote:
>
> Hi, John!
>
> I'm very glad to tell you that my modules are working, at last!
> Thank you very much for your help and suggestions. With "strace -f"
> I've
> been able to see that the child process was giving a strange error
> message (wich wasn't written to any of the log files), complainig about
> libmod_HelloWorld.so (my module's file name) not being found. As this
> seemed weird, I've tried to put the full path to my .so in the
> LoadCPPHandler directives, and... voila! It works!
> It's surprising that the parent had no problem finding the modules, but
> the children did. I'll keep investigating what can be the reasons for
> this (maybe it's a problem with my ld.so.conf, or my environment
> variables, or something.
>
> If you like, you could add a little comment about this to your sample
> conf files, just in case someone else gets the same problems.
>
>
> BTW, something not related to all of this: As I'll be using
> mod_cplusplus with Win32/MSVC++6 as well as with linux/gcc, I've
> created
> some .dsp's to be able to use and compile your sample modules. If
> you're
> interested, I could send them to you, in case you want to include them
> in the CVS to help other users.
>
> Thank you very much for your help!
> Best regards,
>
> Pachi.
>
> On Sat, 2002-08-31 at 19:04, John K.Sterling wrote:
>> Hi Pachi -
>>
>> Something must be happening in the child initialization. can you run
>> strace (or truss) against httpd as it starts up? each of those
>> utilities have a flag to tell it to follow forks
>>
>> i think for strace its like:
>>
>> strace -f httpd
>>
>> send me that output, it might get us more info about where the child
>> is
>> dying.
>>
>> sterling
>>
>>
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by: OSDN - Tired of that same old
> cell phone? Get a new here for FREE!
> https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
> _______________________________________________
> Modcplusplus-user mailing list
> Mod...@li...
> https://lists.sourceforge.net/lists/listinfo/modcplusplus-user
>
|