From owner-freebsd-hackers Wed Feb 24 23:41:27 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from rnocserv.urc.ac.ru (rnocserv.urc.ac.ru [193.233.85.48]) by hub.freebsd.org (Postfix) with ESMTP id 7F75214C11 for ; Wed, 24 Feb 1999 23:40:44 -0800 (PST) (envelope-from joy@urc.ac.ru) Received: from urc.ac.ru (y.urc.ac.ru [193.233.85.37]) by rnocserv.urc.ac.ru (8.8.8/8.8.8) with ESMTP id MAA01070 for ; Thu, 25 Feb 1999 12:40:08 +0500 (ES) (envelope-from joy@urc.ac.ru) Message-ID: <36D4FE57.9D9C5D2E@urc.ac.ru> Date: Thu, 25 Feb 1999 12:40:07 +0500 From: Konstantin Chuguev Organization: Southern Regional Center of FREEnet X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 3.0-STABLE i386) X-Accept-Language: ru, en MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Subject: tkined dynamic loading problem Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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