<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://community.activestate.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>ActiveState Community Site - ActiveTCL and swig modules - Comments</title>
 <link>http://community.activestate.com/forum-topic/activetcl-and-swig-modules</link>
 <description>Comments for &quot;ActiveTCL and swig modules&quot;</description>
 <language>en</language>
<item>
 <title>Yup, got it.  Thanks.</title>
 <link>http://community.activestate.com/forum-topic/activetcl-and-swig-modules#comment-4035</link>
 <description>&lt;p&gt;Yup, got it.  Thanks.&lt;/p&gt;
</description>
 <pubDate>Wed, 30 Jan 2008 11:40:02 -0800</pubDate>
 <dc:creator>gfischer</dc:creator>
 <guid isPermaLink="false">comment 4035 at http://community.activestate.com</guid>
</item>
<item>
 <title>ActiveTcl and swig modules</title>
 <link>http://community.activestate.com/forum-topic/activetcl-and-swig-modules#comment-3983</link>
 <description>&lt;p&gt;There are both 64-bit and 32-bit Linux ActiveTcl binaries available.  You probably have the 32-bit one installed.  Just grab the other and try again.&lt;/p&gt;
</description>
 <pubDate>Thu, 24 Jan 2008 17:04:47 -0800</pubDate>
 <dc:creator>jeffh</dc:creator>
 <guid isPermaLink="false">comment 3983 at http://community.activestate.com</guid>
</item>
<item>
 <title>ActiveTcl and swig modules</title>
 <link>http://community.activestate.com/forum-topic/activetcl-and-swig-modules#comment-3982</link>
 <description>&lt;p&gt;Hm...&lt;/p&gt;
&lt;p&gt;Here&#039;s the output of &quot;ldd example.so&quot;&lt;/p&gt;
&lt;p&gt;        libc.so.6 =&amp;gt; /lib64/tls/libc.so.6 (0x0000002a9568b000)&lt;br /&gt;
        /lib64/ld-linux-x86-64.so.2 (0x000000552aaaa000)&lt;/p&gt;
&lt;p&gt;I&#039;m guessing ActiveTcl is compiled against some flavor of x86-32.  Could this be the source of my problems?&lt;/p&gt;
&lt;p&gt;Greg&lt;/p&gt;
</description>
 <pubDate>Thu, 24 Jan 2008 16:06:52 -0800</pubDate>
 <dc:creator>gfischer</dc:creator>
 <guid isPermaLink="false">comment 3982 at http://community.activestate.com</guid>
</item>
<item>
 <title>ActiveTcl and swig modules</title>
 <link>http://community.activestate.com/forum-topic/activetcl-and-swig-modules#comment-3980</link>
 <description>&lt;p&gt;You should be able to load swig-built modules into ActiveTcl without problem.  In general swig does not create stubs-enabled modules, which limits you to only using them in the same version of Tcl against which you compiled it (and you can&#039;t use it in basekits).  That said, from your error, my first guess might be that some other library is needed as a dependency that isn&#039;t found.  What does &#039;ldd example.so&#039; give you?  It should not have any &quot;not found&quot; dependencies.&lt;/p&gt;
</description>
 <pubDate>Thu, 24 Jan 2008 15:27:44 -0800</pubDate>
 <dc:creator>jeffh</dc:creator>
 <guid isPermaLink="false">comment 3980 at http://community.activestate.com</guid>
</item>
<item>
 <title>ActiveTCL and swig modules</title>
 <link>http://community.activestate.com/forum-topic/activetcl-and-swig-modules</link>
 <description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I&#039;m trying to load a swig module (a shared object file) using the ActiveTCL 8.4 distribution of Tcl/Tk.  I know the .so is built correctly, because I can load and use it with the RedHat distribution of Tcl/Tk.  Here&#039;s the error I&#039;m getting:&lt;/p&gt;
&lt;p&gt;[fischega@master swig]$ ./cctest.tcl&lt;br /&gt;
Error in startup script: couldn&#039;t load file &quot;example.so&quot;: example.so: cannot open shared object file: No such file or directory&lt;br /&gt;
    while executing&lt;br /&gt;
&quot;load example.so&quot;&lt;br /&gt;
    (file &quot;./cctest.tcl&quot; line 5)&lt;/p&gt;
&lt;p&gt;Is there something special I need to do to get this to work?  I&#039;ve tried adding the working directory to LD_LIBRARY_PATH and I&#039;ve compiled against the ActiveTCL version of tcl.h.  Still no luck.  Any ideas?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
Greg&lt;/p&gt;
</description>
 <comments>http://community.activestate.com/forum-topic/activetcl-and-swig-modules#comments</comments>
 <category domain="http://community.activestate.com/forums/activetcl-support-0">ActiveTcl support</category>
 <category domain="http://community.activestate.com/os/red-hat-fedora-core">Red Hat / Fedora Core</category>
 <pubDate>Thu, 24 Jan 2008 11:51:55 -0800</pubDate>
 <dc:creator>gfischer</dc:creator>
 <guid isPermaLink="false">1857 at http://community.activestate.com</guid>
</item>
</channel>
</rss>
