Kylix 3 DSO problem

musi

Member
I'm testing kylix 3 to port a lot of delphi web application to Apache.
I'm running Suse 8.2 with apache 2.0.44 and I've compiled a little web application that work fine.
When I add an TOracleSession to the WebModule to test oracle connectivity (a simple logon and logoff with display the oracle version string as a response to an action), apache don't start displaying the error message : "undefined symbol : QWidget_destroy". I've read some post that tell of a compile define NONVISUAL. I've add this directive to the project but the result is the same. Do you have any idea to resolve this issue.
Thank you in advance.
 
The NONVISUAL directive will only have effect if you have the Direct Oracle Access sourcefiles, and if the directive is added to the Oracle,inc include file. Do you have the source files?
 
Ok. All the problems are solved.
I've included the NONVISUAL directive in the project and the doa sources in the project search path.
The DSO now is unlinked from X11 library and is loaded from Apache without problem.
Remain the OCI.DLL Not found message that I've solved adding the next lines to the /etc/init.d/apache2 file :
ORACLE_HOME=
export ORACLE_HOME
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib
export LD_LIBRARY_PATH
PATH=$PATH:$ORACLE_HOME/bin
export PATH
all this to define the environment that apache see when invoked.
Bye
 
Back
Top