Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004700OCamlOCaml generalpublic2009-01-21 00:582010-04-03 13:43
Reporterglondu 
Assigned Togarrigue 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionsuspended 
PlatformOSOS Version
Product Version3.11.0 
Target VersionFixed in Version3.12.0+dev 
Summary0004700: dlltkanim.so wrongly linked
DescriptionThe stublib dlltkanim.so is wrongly linked:

$ ocaml -I +labltk tkanim.cma
Cannot load required shared library dlltkanim.
Reason: /usr/lib/ocaml/3.11.0/stublibs/dlltkanim.so: /usr/lib/ocaml/3.11.0/stublibs/dlltkanim.so: 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
(0004893)
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: ./dlltkanim.so: ./dlltkanim.so: 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?
(0005287)
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.
(0005288)
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 (dlllabltk.so), so I guess it's fine (even though some might argue that dlltkanim.so should be linked against dlllabltk.so...)
(0005295)
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.
(0005297)
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


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker