TCL/TK program crashes with shared library

From: Alvin (reply_at_in_newsgroup.ca)
Date: 05/12/05


Date: Thu, 12 May 2005 12:39:13 GMT

Hello,

I have a rather simple TCL/TK program. Part of this program includes a C
file that does some tasks (instead of doing them in TCL). For example, the
C file main() and Tk_AppInit().

I use an in-house C++ library in this program. My problem that I have, is
that if I link this program to the shared-library (.so) version of the
in-house library, the program crashes in what appear to be random places.
However, if I link this program to the static-library version of the
library, the program runs perfectly! Both libraries where created by the
same compile process at the same time.

Anyone have any ideas as to why this is happening?

-- 
Alvin


Relevant Pages

  • Re: Managing reusable code for multiple Tcl applications
    ... it is very similar to various issues we overcame with Tcl Dev Kit or related apps. ... We have some mid-size applications (couple of thousand ... up auto_path appropriately to locate the reusable libraries. ... This all works wonderfully until distribution time, ...
    (comp.lang.tcl)
  • Re: Porting from other UNIX platforms to Linux (64bit)
    ... > Does your application currently work in 64 bit environments? ... no - our application started originally with tcl 7.0 and the GUI ... external tcl extending libraries like togl. ... For builds on Linux, we are due to the missing company wide build ...
    (comp.lang.tcl)
  • Re: Managing reusable code for multiple Tcl applications
    ... I have introduced Tcl to my company and we now use it quite ... We have some mid-size applications (couple of thousand ... up auto_path appropriately to locate the reusable libraries. ... This all works wonderfully until distribution time, ...
    (comp.lang.tcl)
  • Managing reusable code for multiple Tcl applications
    ... I have introduced Tcl to my company and we now use it quite ... We have some mid-size applications (couple of thousand ... up auto_path appropriately to locate the reusable libraries. ... This all works wonderfully until distribution time, ...
    (comp.lang.tcl)
  • Re: apache rivet: configure.tcl and make.tcl missing from distribution
    ... # -D flags for use with the C compiler. ... # If TCL was built with debugging symbols, ... # this string at the end of the library name. ... # Flag to indicate whether shared libraries need export files. ...
    (comp.lang.tcl)