TCL/TK program crashes with shared library
From: Alvin (reply_at_in_newsgroup.ca)
Date: 05/12/05
- Next message: Paul Pluzhnikov: "Re: Crashes with shared libs - where can I learn more about shared libs and ld?"
- Previous message: Carsten Fuchs: "Re: Crashes with shared libs - where can I learn more about shared libs and ld?"
- Next in thread: Paul Pluzhnikov: "Re: TCL/TK program crashes with shared library"
- Reply: Paul Pluzhnikov: "Re: TCL/TK program crashes with shared library"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Paul Pluzhnikov: "Re: Crashes with shared libs - where can I learn more about shared libs and ld?"
- Previous message: Carsten Fuchs: "Re: Crashes with shared libs - where can I learn more about shared libs and ld?"
- Next in thread: Paul Pluzhnikov: "Re: TCL/TK program crashes with shared library"
- Reply: Paul Pluzhnikov: "Re: TCL/TK program crashes with shared library"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|