[tkined] Dynamic Loading TNM fails on HP-UX 10

Stefan Finzel (finzel@osn.de)
Mon, 01 Sep 1997 08:43:59 +0200

Hello,

there is a problem in dynamic loading libtnm2.1.6.so on HP-UX 10.
It is NOT mentionend in the porting notes of scotty.

A similar problem and its solution is documented in the porting notes.
That problem is not meant! Due to a unresolved symbol libtnm2.1.6 could
not be loaded while the command shell scotty works fine. The problem
is specific to HP-UX 10, the same code works fine with Linux and SunOS.

I think James R. Schrock
(http://www.ibr.cs.tu-bs.de/projects/nm/tkined/marchive-1997/0837.html)
and other had the same problem.

Let us see a short example. The following code:

#----------------------------------------------------------------------
proc Require {pkg ver} {
if {[catch {package require ${pkg} ${ver}} msg]} {
puts stderr [format {Require %s version %s: %s} ${pkg} ${ver}
${msg}]
exit 1
}
}

Require Tcl 7.6
Require Tk 4.2
Require Tix 4.1
Require Tnm 2.1.6
# ...
#----------------------------------------------------------------------

creates the following error (only HP-UX!)

#----------------------------------------------------------------------
couldn't load file "/opt/tcl-7.6/lib/tnm2.1.6.s1": unresolved symbol
name
#----------------------------------------------------------------------

It seems there are symbols bound to scotty the library tnm lacks.
Has anyone figured out the missing symbol(s)? How can I get
the unresolved symbol(s) name. I am using binutils and gcc2.7.2.2
and I am not familiar with HP-UX 10.10 nor gcc!

Thanks for your proposals or help

Stefan

-- 
_________________________________________________________

Stefan G. R. Finzel Phone (+49) 911 / 74 194 74 Amalienstraße 69/IV Fax (+49) 911 / 74 194 74 D - 90763 Fürth EMail mailto:finzel@osn.de Germany, Europe http://www.osn.de/user/finzel _________________________________________________________

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.