Subject: | undefined symbol: Tcl_TranslateFileName |
Date: | Thu, 03 Nov 2016 11:48:14 +0530 |
To: | bug-Tcl [...] rt.cpan.org |
From: | "ravi.shankar [...] cellworksgroup.com" <ravi.shankar [...] cellworksgroup.com> |
Hi guys,
When i am loading an tclsqlite-3.5.3.so it is flagging
*undefined symbol: Tcl_TranslateFileName* error. I am using Tcl-1.05
module of the perl. I tried to rebuild the Makefile.PL using the
following commands since it was flagging segmentation fault. If i load
this tclsqlite-3.5.3.so file using the real tcl interpreter it is
loading. No issue with the tclsqlite-3.5.3.so file.I have created a
binary of the perl script using pp command and executing the binary. It
is flagging this error.
a) perl Makefile.PL --nousestubs -
make test
make install
*Segmentation Fault is removed using this link*
http://www.cpan.org/modules/by-module/Tcl/Tcl-pTk-0.92.readme
*
Tcl-1.05 Module*
http://search.cpan.org/~vkon/Tcl-1.05/
<http://search.cpan.org/%7Evkon/Tcl-1.05/>
*Tcl module verison is - Tcl-1.05
Perl version is - 5.8.8
Tcl verison installed in my system is - 8.5
sqlitedb used is sqlite3.
os is CentOS release 5.6 (Final).*
*Source code is :*
use strict;
## Tcl module to run tcl commands or operations and to pass the values
from tcl to perl
use Tcl;
## Created a new object of Tcl interpretor
my $obj = Tcl->new;
## loading the so file
$obj->Eval('load tclsqlite-3.5.3.so');
Need your suggestions.