ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> tdk
tdk
[TDK] Problem with tclapp and LD_LIBRARY_PATH
by asilver other posts by this author
Mar 26 2009 11:32AM messages near this date
view in the new Beta List Site
Re: [TDK] Setting auto load path in debugger. | Re: [TDK] Problem with tclapp and LD_LIBRARY_PATH
Hello,
  I'm trying to create a starkit using Spirent's TestCenter Automation
package.  I trying to reference Spirent's package external to the
interpreter I'm using.

Running the script without a starkit requires the LD_LIBRARY_PATH variable
to be set as follows:

LD_LIBRARY_PATH=/usr/local/stc/Spirent_TestCenter_2.20/Spirent_TestCenter_Application_Linux

Running the script normally without a starkit, works fine.

My first attempt at creating the starkit resulting in an error message
saying the "stc package" could not located.  To fix that problem, I added
to the auto_path variable inside the application.

lappend auto_path [file nativename /usr/local/ActiveTcl/lib/stc2.20]
package require -exact stc 2.20

Now the package can be found but there is still an error when the package
is attempted to be loaded.  I've included the error message below.  This
is running on RedHat Linux using TDK 3.2.  I also tried setting the
LD_LIBRARY_PATH variable inside the application, right before the package
require command but that didn't have any effect.

set env (LD_LIBRARY_PATH)
"/usr/local/stc/Spirent_TestCenter_2.20/Spirent_TestCenter_Application_Linux"

Error when script is run......

Error Occured while loading the Spirent Automation Internal Utility
Library (couldn't load file
"/usr/local/stc/Spirent_TestCenter_2.20/Spirent_TestCenter_Application_Linux/libsTcl.so":
/usr/local/stc/Spirent_TestCenter_2.20/Spirent_TestCenter_Application_Linux/libsTcl.so:
undefined symbol: Tcl_DeleteInterp).
invalid command name "stc_int::salGet"
    while executing
"stc_int::salGet $handle $args "
    (procedure "stc::get" line 2)
    invoked from within ......


Thanks

Al Silverstein








_______________________________________________
TDK mailing list
TDK@[...].com
http://listserv.ActiveState.com/mailman/listinfo/tdk
Thread:
asilver
Andreas Kupries

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved