Raman Gupta wrote:
> Alec Thomas wrote:
>   
>> This is likely to be a library path issue, where some libraries that
>> Trac's dependencies (in this case the SVN module) require can not be
>> found when running under the web servers environment. I'd guess that
>> LD_LIBRARY_PATH is set to something in your shell that is not included
>> in your web server. Use crle under more recent versions of Solaris to
>> add all appropriate library paths to the system globally.
>>
>> This is a typical web environment problem and not specific to Trac. 
>>   
>>     
>
> I should have specified, for now I am just using tracd -- I am not using 
> trac via a web server. The LD_LIBRARY_PATH is setup the same way as it 
> is for trac-admin, which successfully accesses the repository.
>
> Since my first posting I have tried to compile clearsilver without 
> compression (no dice) and even upgraded to 0.11dev (latest trunk) using 
> Genshi. I get the same error.
>   


Interesting... just to experiment, I set it up to run under Apache CGI 
as follows:

<location /trac>
   SetEnv TRAC_ENV "/path/to/trac"
   SetEnv LD_LIBRARY_PATH "/usr/local/lib"
   Allow from all
   AllowOverride All
</location>

And that works fine!

However:

LD_LIBRARY_PATH=/usr/local/lib tracd /path/to/trac

still does not.

Nor does it work when using FastCGI (with FastCGI I get the same error 
as tracd):

FastCgiServer /path/to/trac/sources/cgi-bin/trac.fcgi \
  -initial-env LD_LIBRARY_PATH=/usr/local/lib \
  -initial-env TRAC_ENV=/path/to/trac

So it seems that anything that involves persistence of the trac 
environment does not work.

Cheers,
Raman


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Trac Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to