Quantcast
Channel: Cadence Functional Verification Forum
Viewing all articles
Browse latest Browse all 1069

Can't find package sqlite3 in virtuoso

$
0
0
Hi!, I'm not sure if this post should be in this category.
I would like to ask help in my problem as follows:
We have installed a tcl in /usr/local/lib.
Using virtuoso, we have encountered the problem regarding sqlite3 package
(can't find package sqlite3).

I have tried the following procedure:
1. Set the TCL_LIBRARY to /usr/local/lib in terminal
2. Then load virtuoso
3. Check the value of TCL_LIBRARY by getShellEnvVar command in CIW.
4. The value of TCL_LIBRARY was changed to /user/cadence/IC6.1.5.500.10_lnx86/tools/dfII/etc/tcl8.4

Is virtuoso set and use the variable TCL_LIBRARY?
* I can successfully include the sqlite3 package if I will set the TCL_LIBRARY to /usr/local/lib in CIW of virtuoso.
* For other solution, we have add the following in our script:

global auto_path tcl_pkgPath tcl_version tcl_library
set tcl_library [file join $tcl_pkgPath tcl${tcl_version}]
set auto_path [linsert $auto_path 0 $tcl_library $tcl_pkgPath]

And it also worked.

Is there any better solution for this?
I'm not sure if it will affect the virtuoso since it seems that it is using the
TCL_LIBRARY variable because it sets the value to /user/cadence/IC6.1.5.500.10_lnx86/tools/dfII/etc/tcl8.4.

You comments and suggestions are very much appreciated.

 


Viewing all articles
Browse latest Browse all 1069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>