Basic question: Rev CGI and executing Rev scripts from bash

Andre Garzia soapdog at mac.com
Wed Oct 18 22:58:56 EDT 2006


David,

working as cgi will also yield this error but apache will treat it as  
a malformed http header and ignore it.

This is due to missing/wrong link for the UI graphic libraries. Due  
to the nature of the linux dynamic loader and the way Rev was built,  
it will look for those libraries and bind itself to them if if you're  
not using any graphical interface. There are two work arounds. You  
can set the enviromental variables REV_GDK_PATH, REV_GOBJECT_PATH and  
REV_GTK_PATH (not sure about the last one), to empty. For doing that,  
your cgi will be called not by apache but by a loader bash script  
that sets this variables then call the CGI, this is cumbersome. Or if  
it's working for you, you can simply ignore it.

Andre



On Oct 19, 2006, at 12:54 AM, David Bovill wrote:

> The test.cgi works fine, but executing the cgi from the terminal  
> also works
> but complains:
>
>    Could not open libgdk-x11-2.0.so: libgobject-2.0.so: cannot open  
> shared
> object file: No such file or directory
>
>> From memory this is because of some missing libraries that the  
>> Linux engine
> needs for Rev - does this matter at all?
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list