Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Feb 1999 12:40:07 +0500
From:      Konstantin Chuguev <joy@urc.ac.ru>
To:        freebsd-hackers@freebsd.org
Subject:   tkined dynamic loading problem
Message-ID:  <36D4FE57.9D9C5D2E@urc.ac.ru>

next in thread | raw e-mail | index | archive | help
Hi.

Am I the only one who has a problem with tkined since scotty and tcl/tk
have been moved to ELF? The ptoblem is with tkined script which tries to
load tkined1.4.9.so, which in turn SHOULD load libtk.so, but it CANNOT
do it. The output is:
joy@y:~> tkined
Error in startup script: couldn't load file
"/usr/local/lib/tkined1.4.9.so": /usr/local/lib/tkined1.4.9.so:
Undefined symbol "Tk_CanvasTagsParseProc"
    while executing
"load /usr/local/lib/tkined1.4.9.so"
    ("package ifneeded" script)
    invoked from within
"package require -exact Tkined 1.4.9"
    (file "/usr/local/bin/tkined1.4.9" line 12)

I know there are some difficulties with implementing such dynamic
loading from dynamic libraries/modules in ELF (don't know details,
unfortunately), and I know GNU libtool can solve them just fine. But
whis would require using libtool for scotty port (and probably for
tcl/tk ports). Anyway, as I suppose, libtool just automatically passes
some "magic" flags and paths to a linker. I don't know which exactly.

ELF linking gurus, please help.


--
        Konstantin V. Chuguev.          System administrator of Southern
        http://www.urc.ac.ru/~joy/      Ural Regional Center of FREEnet,
        mailto:joy@urc.ac.ru            Chelyabinsk, Russia.





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36D4FE57.9D9C5D2E>