Tokio Kikuchi wrote:
> Rolf E. Sonneveld wrote:
>> Tokio Kikuchi wrote:
>>>> However, when I try to access Mailman via my browser (using Apache 
>>>> on the server side) I get the infamous error message:
>>>>     
>>>  
>>>> The /usr/local/lib version seems to be more recent. Before 
>>>> installation, I made sure that LD_LIBRARY_PATH was set to     
>>> So, the apache was not running under LD_LIBRARY_PATH envrironment.  
>>> You should setenv LD_RUN_PATH while compiling or use crle.  Read the 
>>> crle man for detail.
>>>   
>>
>> as a followup to my previous message: I just did a ldd for httpd and 
>> this is the result:
>>
>> bash-3.00# ldd /usr/local/apache/bin/httpd
>
> It's not httpd which caused that error.  Maybe its python and/or a 
> module which resides in python library path (.../lib/python2.x/) which 
> is called from httpd running environment.  You should set LD_RUN_PATH 
> properly while compiling python, mailman, and httpd.  LD_LIBRARY_PATH 
> is only effective when the compiled executable is running.  So, you 
> might want to startup httpd like:
> # LD_LIBRARY_PATH=/whatever/lib /some/where/bin/apachectl start

Great! I removed Python and Mailman, recompiled again using the proper 
LD_RUN_PATH (in addition to the LD_LIBRARY_PATH) and now it works like a 
charm. I didn't have to recompile Apache. Thanks a lot for your help!

/rolf

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp

Reply via email to