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
Re: [TDK] TDK 4.1 tclapp and shared libraries
by Larry W. Virden other posts by this author
Jun 10 2008 4:23AM messages near this date
view in the new Beta List Site
Re: [TDK] TDK 4.1 tclapp and shared libraries | Re: [TDK] TDK 4.1 tclapp and shared libraries
Jeff, I've read http://www.tcl.tk/doc/howto/stubs.html and that makes it
seem pretty simple to build a library with stubs. I've also read over
http://wiki.tcl.tk/1687 , http://wiki.tcl.tk/2334 (which seems rather
negative in tone at the beginning),  and a few other places on the wiki.

As I said, the howto seems to make it sound pretty simple. For a simple
extension, are there any gotchas?  


-- 
<URL: http://wiki.tcl.tk/ > 
Even if explicitly stated to the contrary, nothing in this posting
should be construed as representing my employer's opinions.
<URL: mailto:lvirden@[...].com >  <URL: http://www.purl.org/NET/lvirden/
> 
 

-----Original Message-----
From: Jeff Hobbs [mailto:jeffh@[...].com] 
Sent: Monday, June 09, 2008 3:46 PM
To: Virden, Larry W.
Cc: tdk@[...].com
Subject: Re: [TDK] TDK 4.1 tclapp and shared libraries

Virden, Larry W. wrote:
>   
>  So, the developer trying to use TDK 4.1 that I've been discussing, 
>  through some force feeding of information, finally got his application

>  to wrap. This app consists of some tcl scripts and 2 personal shared 
>  libraries.
>  
>  When he runs this wrapped application, he gets:
>  couldn't load file "/tmp/tclTXG09B": /tmp/tclTXG09B: undefined symbol:
>  Tcl_Alloc

My bet is that this extension was not properly built with stubs support.

  That is required for single-file executables, where there will be no
libtcl.so on the system.  That is one of the design values of stubs.

Jeff
_______________________________________________
TDK mailing list
TDK@[...].com
http://listserv.ActiveState.com/mailman/listinfo/tdk
Thread:
Larry W. Virden
Andreas Kupries
Larry W. Virden
Andreas Kupries
Larry W. Virden
Andreas Kupries
Larry W. Virden
Jeff Hobbs
Larry W. Virden
Jeff Hobbs
Larry W. Virden

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