|
From: tuxinoo on 17 Jun 2005 10:43 When I execute le tcl command "package require Oratcl 4.3", I get this error message "Oratcl_Init(): Failed to load % with error".
From: tuxinoo on 17 Jun 2005 11:45 I found the answer to my own question :) My problem occurs when I tried to use Oratcl4.3 with Instant Client Oracle 10g Basic. Answer: Considering that my ORACLE_HOME environment variable is set to "/opt/oracle". I create a Symbolic Link from Instant Client Oracle 10g Basic directory to $ORACLE_HOME/lib/ export ORACLE_HOME=/opt/oracle, export LD_LIBRARY_PATH=/opt/oracle/lib:$LD_LIBRARY_PATH. Before running tcl script for testing Oratcl connection to my database, I create a symbolic link from libclntsh.so.10.1 to libclntsh.so in my Instant Client directory. Finally, I tried a tcl script and everything was OK ;o)
From: thelfter@gmail.com on 19 Jun 2005 09:54 Excellent. Would one of the WIKI maintainers add this? I will add this to the Oratcl sourceforge README later this week!
From: Bugs on 20 Jun 2005 16:41 Just to clarify, are you saying I can use OraTCL to connect to an Oracle 10g database??? If so, that's great news! I thought it only supported up to Oracle9? Are there any limitations with using OraTCL ? e.g. Can't work with BLOBS, etc.? Or does it do it all? =) tuxinoo wrote: > I found the answer to my own question :) My problem occurs when I tried > to use Oratcl4.3 with Instant Client Oracle 10g Basic. > > Answer: > Considering that my ORACLE_HOME environment variable is set to > "/opt/oracle". > I create a Symbolic Link from Instant Client Oracle 10g Basic directory > to $ORACLE_HOME/lib/ > export ORACLE_HOME=/opt/oracle, > export LD_LIBRARY_PATH=/opt/oracle/lib:$LD_LIBRARY_PATH. > Before running tcl script for testing Oratcl connection to my database, > I create a symbolic link from libclntsh.so.10.1 to libclntsh.so in my > Instant Client directory. > Finally, I tried a tcl script and everything was OK ;o) >
From: thelfter@gmail.com on 22 Jun 2005 11:47 It all works just fine with 10g. The only problem is that the instant client does not have the symlink you created by default.
|
Pages: 1 Prev: Newbie Tcl/Tk build problem Next: remote control a tcl/tk from com1: |