Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for Tibero database #63

Closed
bneeta2019 opened this issue Jul 17, 2019 · 22 comments
Closed

Add Support for Tibero database #63

bneeta2019 opened this issue Jul 17, 2019 · 22 comments
Labels
database Database specific enhancement New feature or request low priority

Comments

@bneeta2019
Copy link

Hi support,
I am looking for Tibero database support in HammerDB. I am able to connect Tibero to HammerDB Gui using unixodbc . I can create TPCC and TPCH schemas, All menus work fine until Transaction Counter which does not display any graph. Can someone help to identify what changes are required. or why it would show no graph or 0 tpm.
Any advise is greatly appreciated.
hammer.tar.gz

@bneeta2019
Copy link
Author

you may check for code changes with name KDB in the attached file. I think hdb_tc.tcl file is the one which needs to be checked to solve this issue. Btw I have HammerDB version 2.23 here.. If someone wants to look at the setup in my PC , then I can share access as well.
Thanks a lot in advance.

@sm-shaw
Copy link
Contributor

sm-shaw commented Jul 17, 2019

This is a great start - however reviewing code from an attached tarfile is not the approach we need to take - so you need to get your code into GitHub so other people who may be interested can review it and/or work on it as well and it can be tracked. As an example the sort of thing you can do now to achieve this is fork this repository to your own account, clone the fork to your local machine and then create a branch - eg branch #63 for this issue. Then you need to add all of your changes into this branch and commit them so they can be seen. This then gives a structure that can be worked with and the code reviewed and changed. Finally when all the changes are made and tested and it is valid for adding to HammerDB then you would create a pull request to do this (however we are definitely not at this point yet).

At the outset a couple of things to be bear in mind. The structure of the code in HammerDB v.3 has been deliberately designed in a modular way to make adding new databases much, much easier. It is recommended that working with the process above you move to v3 and update your changes for this new structure first. This will be much easier in the long run, for example you will know exactly which file to change for the transaction counter also you will not change code for any other database. Also all databases on HammerDB support both Windows and Linux so you will also need a Windows solution as well as unixodbc for your changes to be included in a released version.

Finally as some guidance for the transaction counter and TPM values as when doing this correctly you probably will be able to resolve the issues yourself. In the transaction counter code (which will be a lot easier to see and change when you have updated to v3) you will see a SQL statement that is used to retrieve the current transaction value from the database eg the following from Oracle. HammerDB creates a separate thread, logs in with admin privileges and executes this statement plotting the output.

set sqc {select sum(value) from gv$sysstat where name = 'user commits' or name = 'user rollbacks'}

Therefore you need to make sure that it can login and execute this statement. For the TPM value after a timed run if you look in the Script Editor for Oracle you will see a statement it uses to extract the TPM value directly from the AWR repository. As your database will not have an AWR repository then it is likely that this statement will also need to be changed.

@bneeta2019
Copy link
Author

bneeta2019 commented Jul 17, 2019 via email

@sm-shaw
Copy link
Contributor

sm-shaw commented Jul 17, 2019

If the statement works then it is probably the login or using the correct library for the transaction counter thread that is the problem with the transaction counter. For 3.X the code is on the GitHub site here so you would need to apply the changes in your tarfile to the new version.

@sm-shaw
Copy link
Contributor

sm-shaw commented Jul 18, 2019

There is a series of posts starting here https://www.hammerdb.com/blog/uncategorized/how-to-add-your-database-to-hammerdb-pt1-opening-an-issue/ that have been written to explain the process of how to add a new database to HammerDB. (note this issue is step 1 for you that is already complete) In the example given I have used MariaDB as it is close to MySQL. In your case you say "our DB is similar to Oracle in syntax" therefore you would follow a similar process but start with the existing Oracle files.

Note that at the moment the existing Oracle variables do not have the prefix that the other databases have. So when you are creating the XML file please add your prefix to the variable names as this will be the standard going forward. So if "tib" was your chosen prefix then the file would look like this.

1 1 tpcc tpcc

Any questions should be followed in this issue.

@bneeta2019
Copy link
Author

Hi , I have now downloaded the latest HammerDB version 3.2 and trying to integrate it with Tibero using Tibero oci. Please note that the previous version on which I was working had tdbc-odbc integration. Now this one I am trying to start from scratch using oci. So, I have done following -
Hammer 3.2 changes -

config folder -

  1. Added Tibero in database.xml
  2. added tibero.xml
    src folder
  3. added tibero folder copied from Oracle
  4. renamed all files with prefix tib
  5. modified tibmet.tcl -> ORACLE_HOME TB_HOME
    lib folder
    1.Modified oratcl_utils.tcl line 463
  6. Added libtboci.so

Now when I invoke hammerdb - I see following error at when I click Schema Build -Options

unmatched Background Error - invalid command name "configtibtpcc"
while executing
"configtibtpcc build"
("eval" body line 1)
invoked from within
"eval $command"
(procedure "configtpcc" line 8)
invoked from within
"configtpcc build "
invoked from within
"if { ![ string match [ .ed_mainFrame.treeframe.treeview state ] "disabled focus hover" ] } { if {$bm eq "TPC-C"} {configtpcc build } else {configtpch ..."
(command bound to event)
(HammerDB-3.2) 1 %

Please suggest how to start resolving these issues.

Thanks,
Neeta

@sm-shaw
Copy link
Contributor

sm-shaw commented Jul 22, 2019

Hi

For a guide follow the instructions here https://www.hammerdb.com/blog/uncategorized/how-to-add-your-database-to-hammerdb-pt1-opening-an-issue/ - this shows duplicating mysql to mariadb and the changes needed. The code is here https://github.com/sm-shaw/HammerDB/tree/54. (You need to do the same by duplicating the Oracle files)

So now if you have the files - look in tibopt.tcl - you have a procedure as follows:

#Configure TPC-C Options
**proc configoratpcc {option} {**
upvar #0 icons icons
upvar #0 configoracle configoracle
#set variables to values in dict
setlocaltpccvars $configoracle
...

You need to start changing all of the files in your directory as follows:

#Configure TPC-C Options
**proc configtibtpcc {option} {**
upvar #0 icons icons
upvar #0 configtibero configtibero
#set variables to values in dict
setlocaltpccvars $configtibero
...

@bneeta2019
Copy link
Author

Thanks . For a quick progress - I changed the prefix back to ora - instead of tib and the error is gone. Now , I have the following error -
Error in Virtual User 1: Failed to load Oratcl - can't read "env(ORACLE_HOME)": no such variable

@bneeta2019
Copy link
Author

I had already modified /home/tibero/HammerDB-3.2/lib/Oratcl4.6/oratcl_utils.tcl-
if {[info exists env(TB_HOME)]} {
lappend fL [file join $env(TB_HOME) client config tbdsn.tbr]
}

So, not sure where is this ORACLE_HOME coming from .

Thanks,
Neeta

@sm-shaw
Copy link
Contributor

sm-shaw commented Jul 22, 2019

This will come from the Oratcl library - so you will need to set ORACLE_HOME as well or modify and recompile the source into your own library https://sourceforge.net/projects/oratcl/ Note that Oratcl has its own ORACLE_LIBRARY to override the $ORACLE_HOME/lib so you can try that as well.

@bneeta2019
Copy link
Author

May be you are right - I need to recompile. Previously I had recompiled all based from individual packages of TCL,TK,Threads etc.. as follows- But now after I download the latest HammerDB with everything preinstalled - not sure how to compile as there is no /unix folder in the downloaded source.
Should I download and install all these packages again??
1.install tcl
cd tcl8.6.8/unix
rm -f config.cache
./configure --enable-threads --enable-shared
make clean
make
make install

2.install tk
cd tk8.6.8/unix
rm -f config.cache
./configure --with-tcl=../../tcl8.6.8/unix --enable-threads --enable-shared
make clean
make
make install

3.install tcl threads
cd thread2.8.0/unix
rm -f config.cache
sh ../configure --enable-threads --enable-shared
make clean
make
make install

4.install oratcl

export KDC_HOME=/home/tibero/tibero6/client
cd oratcl
./configure --with-tcl=../tcl8.6.8/unix/ --enable-threads --enable-shared
make
make install

After oratcl4.5 install, Go to /usr/local/lib/Oratcl4.5/oratcl_utils.tcl change line 563 as -
if {[info exists env(TB_HOME)]} {
lappend fL [file join $env(TB_HOME) client config tddsn.tbr]
}

/db/oracle/hammerdb/lib/Oratcl4.5 is hammerdb install dir

please set KDC_HOME=$TB_HOME/client

5.create test table and procedure

create table orders (o_id number,o_c_id number,o_entry_d date);
insert into orders values(1759,2708,'2018-02-27');
commit;
create or replace procedure aa(v_o_id INTEGER,
v_o_c_id INTEGER,
v_o_entry_d out date)
as
begin
select o_entry_d into v_o_entry_d from orders where o_id=v_o_id and o_c_id=v_o_c_id;
end;
/

6.create test tcl scripts
[oracle@bmt ~]$ cat a.tcl
package require Oratcl
set lda [oralogon tibero/tmax@kdb]
set curn_py [oraopen $lda ]
set sql_py "BEGIN aa(:v_o_id,:v_o_c_id,:v_o_entry_d); END;"
oraparse $curn_py $sql_py

set v_o_id 1759
set v_o_c_id 2708
orabind $curn_py :v_o_id $v_o_id :v_o_c_id $v_o_c_id :v_o_entry_d {}
oraexec $curn_py
while {[orafetch $curn_py -datavariable row] == 0 } {puts $row}

  1. Copy the libkdoci.so file under $TB_HOME/client/lib to avoid following error.
    [oracle@bmt ~]$ tclsh8.6 a.tcl
    I/O read error.
    while executing
    "oraexec $curn_py"
    (file "a.tcl" line 10)

[oracle@bmt ~]$ tclsh8.6 a.tcl
1759 2708 27-FEB-18

@sm-shaw
Copy link
Contributor

sm-shaw commented Jul 22, 2019

You do not need to recompile TCL and TK and will only need to recompile Oratcl if there is something specifically you need to change in the source for it to work with Tibero - by default on Linux it will be looking for the library libclntsh.so but the ORACLE_LIBRARY environment variable can override this.

@bneeta2019
Copy link
Author

I tried to copy oratcl installer and compile it. But there is error in make -
[tibero@testsvr oratcl]$ ./configure --enable-threads --enable-shared --with-tcl=/home/tibero/HammerDB-3.2/lib/
checking for correct TEA configuration... ok (TEA 3.6)
checking for Tcl configuration... found /home/tibero/HammerDB-3.2/lib/tclConfig.sh
checking for existence of /home/tibero/HammerDB-3.2/lib/tclConfig.sh... loading
configure: --prefix defaulting to TCL_PREFIX /usr/local
configure: --exec-prefix defaulting to TCL_EXEC_PREFIX /usr/local
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /bin/install -c
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking if the compiler understands -pipe... yes
checking whether byte ordering is bigendian... no
checking for sin... no
checking for main in -lieee... yes
checking for main in -linet... no
checking net/errno.h usability... no
checking net/errno.h presence... no
checking for net/errno.h... no
checking for connect... yes
checking for gethostbyname... yes
checking dirent.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for Tcl public headers... /home/tibero/HammerDB-3.2/lib/../include
checking for pthread_mutex_init in -lpthread... yes
checking for building with threads... yes (default)
checking how to build libraries... shared
checking if 64bit support is requested... no
checking if 64bit Sparc VIS support is requested... no
checking if compiler supports visibility "hidden"... yes
checking if rpath support is requested... yes
checking system version... Linux-3.10.0-327.el7.x86_64
checking for dlopen in -ldl... yes
checking for ar... ar
checking for required early compiler flags... _LARGEFILE64_SOURCE
checking for 64-bit integer type... using long
checking for build with symbols... no
checking for tclsh... /home/tibero/HammerDB-3.2/bin/tclsh8.6
checking for dlfcn.h... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
[tibero@testsvr oratcl]$ make
gcc -DPACKAGE_NAME="Oratcl" -DPACKAGE_TARNAME="oratcl" -DPACKAGE_VERSION="4.5" -DPACKAGE_STRING="Oratcl\ 4.5" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ attribute((visibility("hidden"))) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DHAVE_DLFCN_H=1 -DSHLIB_SUFFIX=".so" -I"/home/tibero/HammerDB-3.2/lib/../include" -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c echo ./generic/oratcl.c -o oratcl.o
./generic/oratcl.c: In function ‘Oratcl_Init’:
./generic/oratcl.c:243:7: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable]
int rc = 0;
^
./generic/oratcl.c: In function ‘Oratcl_ColAppend’:
./generic/oratcl.c:973:7: warning: variable ‘iTcl’ set but not used [-Wunused-but-set-variable]
int iTcl;
^
gcc -DPACKAGE_NAME="Oratcl" -DPACKAGE_TARNAME="oratcl" -DPACKAGE_VERSION="4.5" -DPACKAGE_STRING="Oratcl\ 4.5" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ attribute((visibility("hidden"))) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DHAVE_DLFCN_H=1 -DSHLIB_SUFFIX=".so" -I"/home/tibero/HammerDB-3.2/lib/../include" -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c echo ./generic/oralob.c -o oralob.o
gcc -DPACKAGE_NAME="Oratcl" -DPACKAGE_TARNAME="oratcl" -DPACKAGE_VERSION="4.5" -DPACKAGE_STRING="Oratcl\ 4.5" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ attribute((visibility("hidden"))) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DHAVE_DLFCN_H=1 -DSHLIB_SUFFIX=".so" -I"/home/tibero/HammerDB-3.2/lib/../include" -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c echo ./generic/oralong.c -o oralong.o
gcc -DPACKAGE_NAME="Oratcl" -DPACKAGE_TARNAME="oratcl" -DPACKAGE_VERSION="4.5" -DPACKAGE_STRING="Oratcl\ 4.5" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ attribute((visibility("hidden"))) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DHAVE_DLFCN_H=1 -DSHLIB_SUFFIX=".so" -I"/home/tibero/HammerDB-3.2/lib/../include" -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c echo ./generic/oralogon.c -o oralogon.o
gcc -DPACKAGE_NAME="Oratcl" -DPACKAGE_TARNAME="oratcl" -DPACKAGE_VERSION="4.5" -DPACKAGE_STRING="Oratcl\ 4.5" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ attribute((visibility("hidden"))) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DHAVE_DLFCN_H=1 -DSHLIB_SUFFIX=".so" -I"/home/tibero/HammerDB-3.2/lib/../include" -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c echo ./generic/oralogoff.c -o oralogoff.o
gcc -DPACKAGE_NAME="Oratcl" -DPACKAGE_TARNAME="oratcl" -DPACKAGE_VERSION="4.5" -DPACKAGE_STRING="Oratcl\ 4.5" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ attribute((visibility("hidden"))) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DHAVE_DLFCN_H=1 -DSHLIB_SUFFIX=".so" -I"/home/tibero/HammerDB-3.2/lib/../include" -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c echo ./generic/oraopen.c -o oraopen.o
gcc -DPACKAGE_NAME="Oratcl" -DPACKAGE_TARNAME="oratcl" -DPACKAGE_VERSION="4.5" -DPACKAGE_STRING="Oratcl\ 4.5" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ attribute((visibility("hidden"))) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DHAVE_DLFCN_H=1 -DSHLIB_SUFFIX=".so" -I"/home/tibero/HammerDB-3.2/lib/../include" -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c echo ./generic/oraclose.c -o oraclose.o
gcc -DPACKAGE_NAME="Oratcl" -DPACKAGE_TARNAME="oratcl" -DPACKAGE_VERSION="4.5" -DPACKAGE_STRING="Oratcl\ 4.5" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ attribute((visibility("hidden"))) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DHAVE_DLFCN_H=1 -DSHLIB_SUFFIX=".so" -I"/home/tibero/HammerDB-3.2/lib/../include" -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c echo ./generic/oracommit.c -o oracommit.o
gcc -DPACKAGE_NAME="Oratcl" -DPACKAGE_TARNAME="oratcl" -DPACKAGE_VERSION="4.5" -DPACKAGE_STRING="Oratcl\ 4.5" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ attribute((visibility("hidden"))) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DHAVE_DLFCN_H=1 -DSHLIB_SUFFIX=".so" -I"/home/tibero/HammerDB-3.2/lib/../include" -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c echo ./generic/oraroll.c -o oraroll.o
gcc -DPACKAGE_NAME="Oratcl" -DPACKAGE_TARNAME="oratcl" -DPACKAGE_VERSION="4.5" -DPACKAGE_STRING="Oratcl\ 4.5" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ attribute((visibility("hidden"))) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DHAVE_DLFCN_H=1 -DSHLIB_SUFFIX=".so" -I"/home/tibero/HammerDB-3.2/lib/../include" -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c echo ./generic/oraautocom.c -o oraautocom.o
gcc -DPACKAGE_NAME="Oratcl" -DPACKAGE_TARNAME="oratcl" -DPACKAGE_VERSION="4.5" -DPACKAGE_STRING="Oratcl\ 4.5" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ attribute((visibility("hidden"))) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DHAVE_DLFCN_H=1 -DSHLIB_SUFFIX=".so" -I"/home/tibero/HammerDB-3.2/lib/../include" -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c echo ./generic/orainfo.c -o orainfo.o
gcc -DPACKAGE_NAME="Oratcl" -DPACKAGE_TARNAME="oratcl" -DPACKAGE_VERSION="4.5" -DPACKAGE_STRING="Oratcl\ 4.5" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ attribute((visibility("hidden"))) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DHAVE_DLFCN_H=1 -DSHLIB_SUFFIX=".so" -I"/home/tibero/HammerDB-3.2/lib/../include" -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c echo ./generic/oramsg.c -o oramsg.o
gcc -DPACKAGE_NAME="Oratcl" -DPACKAGE_TARNAME="oratcl" -DPACKAGE_VERSION="4.5" -DPACKAGE_STRING="Oratcl\ 4.5" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ attribute((visibility("hidden"))) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DHAVE_DLFCN_H=1 -DSHLIB_SUFFIX=".so" -I"/home/tibero/HammerDB-3.2/lib/../include" -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c echo ./generic/oraconfig.c -o oraconfig.o
gcc -DPACKAGE_NAME="Oratcl" -DPACKAGE_TARNAME="oratcl" -DPACKAGE_VERSION="4.5" -DPACKAGE_STRING="Oratcl\ 4.5" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ attribute((visibility("hidden"))) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DHAVE_DLFCN_H=1 -DSHLIB_SUFFIX=".so" -I"/home/tibero/HammerDB-3.2/lib/../include" -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c echo ./generic/oradesc.c -o oradesc.o
gcc -DPACKAGE_NAME="Oratcl" -DPACKAGE_TARNAME="oratcl" -DPACKAGE_VERSION="4.5" -DPACKAGE_STRING="Oratcl\ 4.5" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ attribute((visibility("hidden"))) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DHAVE_DLFCN_H=1 -DSHLIB_SUFFIX=".so" -I"/home/tibero/HammerDB-3.2/lib/../include" -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c echo ./generic/orabreak.c -o orabreak.o
gcc -DPACKAGE_NAME="Oratcl" -DPACKAGE_TARNAME="oratcl" -DPACKAGE_VERSION="4.5" -DPACKAGE_STRING="Oratcl\ 4.5" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ attribute((visibility("hidden"))) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DHAVE_DLFCN_H=1 -DSHLIB_SUFFIX=".so" -I"/home/tibero/HammerDB-3.2/lib/../include" -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c echo ./generic/oraparse.c -o oraparse.o
gcc -DPACKAGE_NAME="Oratcl" -DPACKAGE_TARNAME="oratcl" -DPACKAGE_VERSION="4.5" -DPACKAGE_STRING="Oratcl\ 4.5" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ attribute((visibility("hidden"))) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DHAVE_DLFCN_H=1 -DSHLIB_SUFFIX=".so" -I"/home/tibero/HammerDB-3.2/lib/../include" -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c echo ./generic/orabind.c -o orabind.o
gcc -DPACKAGE_NAME="Oratcl" -DPACKAGE_TARNAME="oratcl" -DPACKAGE_VERSION="4.5" -DPACKAGE_STRING="Oratcl\ 4.5" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ attribute((visibility("hidden"))) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DHAVE_DLFCN_H=1 -DSHLIB_SUFFIX=".so" -I"/home/tibero/HammerDB-3.2/lib/../include" -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c echo ./generic/oraexec.c -o oraexec.o
gcc -DPACKAGE_NAME="Oratcl" -DPACKAGE_TARNAME="oratcl" -DPACKAGE_VERSION="4.5" -DPACKAGE_STRING="Oratcl\ 4.5" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ attribute((visibility("hidden"))) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DHAVE_DLFCN_H=1 -DSHLIB_SUFFIX=".so" -I"/home/tibero/HammerDB-3.2/lib/../include" -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c echo ./generic/orafetch.c -o orafetch.o
gcc -DPACKAGE_NAME="Oratcl" -DPACKAGE_TARNAME="oratcl" -DPACKAGE_VERSION="4.5" -DPACKAGE_STRING="Oratcl\ 4.5" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ attribute((visibility("hidden"))) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DHAVE_DLFCN_H=1 -DSHLIB_SUFFIX=".so" -I"/home/tibero/HammerDB-3.2/lib/../include" -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c echo ./generic/orasql.c -o orasql.o
gcc -DPACKAGE_NAME="Oratcl" -DPACKAGE_TARNAME="oratcl" -DPACKAGE_VERSION="4.5" -DPACKAGE_STRING="Oratcl\ 4.5" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ attribute((visibility("hidden"))) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DHAVE_DLFCN_H=1 -DSHLIB_SUFFIX=".so" -I"/home/tibero/HammerDB-3.2/lib/../include" -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c echo ./generic/oraplexec.c -o oraplexec.o
gcc -DPACKAGE_NAME="Oratcl" -DPACKAGE_TARNAME="oratcl" -DPACKAGE_VERSION="4.5" -DPACKAGE_STRING="Oratcl\ 4.5" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ attribute((visibility("hidden"))) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DHAVE_DLFCN_H=1 -DSHLIB_SUFFIX=".so" -I"/home/tibero/HammerDB-3.2/lib/../include" -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c echo ./generic/orabindexec.c -o orabindexec.o
rm -f libOratcl4.5.so
gcc -shared -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -Wl,--export-dynamic -o libOratcl4.5.so oratcl.o oralob.o oralong.o oralogon.o oralogoff.o oraopen.o oraclose.o oracommit.o oraroll.o oraautocom.o orainfo.o oramsg.o oraconfig.o oradesc.o orabreak.o oraparse.o orabind.o oraexec.o orafetch.o orasql.o oraplexec.o orabindexec.o -L/usr/local/lib -ltclstub8.6
/bin/ld: cannot find -ltclstub8.6
collect2: error: ld returned 1 exit status
make: *** [libOratcl4.5.so] Error 1

@sm-shaw
Copy link
Contributor

sm-shaw commented Jul 23, 2019

The --with-tcl should be a tcl directory such as you had before --with-tcl=../tcl8.6.8/unix/.
Oratcl does not need an external libraries to compile, only at run-time so have you modified the code at all to work with Tibero? if so this is the likely cause

@bneeta2019
Copy link
Author

No I haven't modified anything yet. Just want to keep it simple and get it working. Let me copy tcl installer as well and give the path to compile.

@sm-shaw
Copy link
Contributor

sm-shaw commented Jul 23, 2019

OK - that should definitely work then. I always compile TCL first then TK and then the packages so will always have a TCL directory to use for --with-tcl - as you have have identified everything else has used version 8.6.8. As noted Oratcl does not need the Oracle library at compile time. Once you have it compiled then you can make modifications for Tibero.

@bneeta2019
Copy link
Author

[tibero@testsvr oratcl]$ ./configure --enable-threads --enable-shared --with-tcl=../tcl8.6.8/unix/
checking for correct TEA configuration... ok (TEA 3.6)
checking for Tcl configuration... configure: error: ../tcl8.6.8/unix/ directory doesn't contain tclConfig.sh

When I check the folder /home/tibero/HammerDB-3.2/tcl8.6.8/unix
I can see -
tclConfig.h.in tcl.m4 tclUnixFile.c tclUnixThrd.h
dltest tclConfig.sh.in tclooConfig.sh
Is the .in file different??

@bneeta2019
Copy link
Author

ok then I will recompile everything TCL , TK etc... in order

@sm-shaw
Copy link
Contributor

sm-shaw commented Jul 23, 2019

Try giving a full path to the --with-tcl directory ./tcl8.6.8/unix/ may not be correct for the directory you are in.

@bneeta2019
Copy link
Author

I have tried so many things but still errors. Is it possible for you to use anydesk to see my screen which may be faster..

[tibero@testsvr bin]$ ./tclsh8.6 /home/tibero/a.tcl
no such variable
(read trace on "env(ORACLE_HOME)")
invoked from within
"load /home/tibero/HammerDB-3.2/lib/Oratcl4.6/libOratcl4.6.so"
("package ifneeded Oratcl 4.6" script)
invoked from within
"package require Oratcl"
(file "/home/tibero/a.tcl" line 1)
[tibero@testsvr bin]$ export ORACLE_HOME=$TB_HOME
[tibero@testsvr bin]$ ./tclsh8.6 /home/tibero/a.tcl
Oratcl_Init(): Failed to load /home/tibero/tibero6/lib/libclntsh.so with error /home/tibero/tibero6/lib/libclntsh.so: cannot open shared object file: No such file or directory

while executing

"load /home/tibero/HammerDB-3.2/lib/Oratcl4.6/libOratcl4.6.so"
("package ifneeded Oratcl 4.6" script)
invoked from within
"package require Oratcl"
(file "/home/tibero/a.tcl" line 1)

[tibero@testsvr lib]$ ln -s libtboci.so libclntsh.so.10.1
[tibero@testsvr lib]$ ln -s libclntsh.so.10.1 libclntsh.so
[tibero@testsvr lib]$ ln -s libclntsh.so.10.1 lbnnz10.so

[tibero@testsvr bin]$ ./tclsh8.6 /home/tibero/a.tcl
Oratcl_Init(): Failed to load /home/tibero/tibero6/lib/libclntsh.so with error /home/tibero/tibero6/lib/libclntsh.so: cannot open shared object file: No such file or directory

while executing

"load /home/tibero/HammerDB-3.2/lib/Oratcl4.6/libOratcl4.6.so"
("package ifneeded Oratcl 4.6" script)
invoked from within
"package require Oratcl"
(file "/home/tibero/a.tcl" line 1)
[tibero@testsvr bin]$ ls
tclsh8.6 wish8.6
[tibero@testsvr bin]$ pwd
/home/tibero/HammerDB-3.2/bin
[tibero@testsvr bin]$ echo $ORACLE_HOME
/home/tibero/tibero6
[tibero@testsvr bin]$ export ORACLE_HOME=$TB_HOME/client
[tibero@testsvr bin]$ ./tclsh8.6 /home/tibero/a.tcl
Invalid argument value.
while executing
"oralogon tibero/tmax@tibero"
invoked from within
"set lda [oralogon tibero/tmax@tibero]"
(file "/home/tibero/a.tcl" line 2)

@sm-shaw
Copy link
Contributor

sm-shaw commented Jul 23, 2019

I dont have bandwidth for extended support until 2nd week of August at earliest. I would recommend trying a build against Oracle first when thos works do the same with Tibero. Note ldd command can show all libraries needed not just the first.

@sm-shaw sm-shaw added database Database specific enhancement New feature or request labels Dec 16, 2020
@sm-shaw
Copy link
Contributor

sm-shaw commented Nov 3, 2023

Closed as no further progress

@sm-shaw sm-shaw closed this as not planned Won't fix, can't repro, duplicate, stale Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
database Database specific enhancement New feature or request low priority
Projects
None yet
Development

No branches or pull requests

2 participants