Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004700OCaml~DO NOT USE (was: OCaml general)public2009-01-21 00:582010-04-03 13:43
Assigned Togarrigue 
PlatformOSOS Version
Product Version3.11.0 
Target VersionFixed in Version3.12.0+dev 
Summary0004700: wrongly linked
DescriptionThe stublib is wrongly linked:

$ ocaml -I +labltk tkanim.cma
Cannot load required shared library dlltkanim.
Reason: /usr/lib/ocaml/3.11.0/stublibs/ /usr/lib/ocaml/3.11.0/stublibs/ undefined symbol: cltclinterp.

The problem has been observed on OCaml 3.10.2 and 3.11.0.
TagsNo tags attached.
Attached Files

- Relationships
related to 0005011closed labltk doesn't compile against Tcl/tk 8.6 (not yet releases) 

-  Notes
xleroy (administrator)
2009-03-31 13:30

I think you're supposed to load labltk.cma before tkanim.cma.

But even so, another problem appears:

Cannot load required shared library dlltkanim.
Reason: ./ ./ undefined symbol: Tk_ImageObjCmd.

There is an explanation in otherlibs/tabltk/tkanim/Makefile:

# tkAnimGIF.c used the function Tk_ImageObjCmd, which is not available
# in a plain Tk installation. Should we disable this subdirectory ?

Should we, indeed?
furuse (reporter)
2010-04-02 11:50

Let's remove the tkanim directory.
Since from tk8.4 (or somewhere), animated gifs can be loaded by pure tcl/tk.
labltk does not handle animated gifs unless it is extended somehow, but anyway, the current code does not work.
glondu (reporter)
2010-04-02 12:40

To xleroy: indeed. I've probably over-simplified my original bugreport to what I thought was the actual issue.

I was not expecting this error message for this buggy situation... When I usually get such a message, it is indeed a stublib that was linked with a missing -lfoo. But here, cltclinterp is defined in the C stubs of labltk.cma (, so I guess it's fine (even though some might argue that should be linked against
furuse (reporter)
2010-04-03 12:04

tkanim is removed from the source code in the trunk,
due to its old and unmaintained status.
If someone really wants to have animated gif in labltk, he/she should try
more pure tcl way, using image photo command.

Please close the issue.
garrigue (manager)
2010-04-03 13:43

tkanim removed by Jun Furuse on 2010-04-02.

- Issue History
Date Modified Username Field Change
2009-01-21 00:58 glondu New Issue
2009-03-31 13:30 xleroy Note Added: 0004893
2009-03-31 13:30 xleroy Assigned To => garrigue
2009-03-31 13:30 xleroy Status new => acknowledged
2010-04-02 11:50 furuse Note Added: 0005287
2010-04-02 12:40 glondu Note Added: 0005288
2010-04-03 12:04 furuse Note Added: 0005295
2010-04-03 13:43 garrigue Note Added: 0005297
2010-04-03 13:43 garrigue Status acknowledged => closed
2010-04-03 13:43 garrigue Resolution open => suspended
2010-04-03 13:43 garrigue Fixed in Version => 3.12.0+dev
2010-04-06 16:00 doligez Relationship added related to 0005011
2017-02-23 16:36 doligez Category OCaml general => -OCaml general
2017-03-03 17:55 doligez Category -OCaml general => -(deprecated) general
2017-03-03 18:01 doligez Category -(deprecated) general => ~deprecated (was: OCaml general)
2017-03-06 17:04 doligez Category ~deprecated (was: OCaml general) => ~DO NOT USE (was: OCaml general)

Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker