swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Solution to problem: Tk on Solaris 2.5


From: Nigel Gilbert
Subject: Solution to problem: Tk on Solaris 2.5
Date: Tue, 28 Jan 1997 10:13:06 +0000

Our local Unix guru found the cure.  The environment variable
LD_LIBRARY_PATH was not set, and the fix is therefore to set:

   setenv LD_LIBRARY_PATH /usr/openwin/lib

Unfortunately, the connection between the symptom (shown below) and the
cure is rather obscure!

Anyway, TK now installs correctly.

>> I'm trying to set up Swarm on a Solaris Sun (SunOS 5.5).  First, however, I
>> have to get Tk to work.  I know this is not a Swarm problem, but perhaps
>> someone can give me a quick hint.  I'm following the guidance to use
>> version Tk4.1 (with patch p1), although this is far from the current
>> version of Tk, because there are hints in the install and faq that later
>> versions won't do.  On executing a make, I get:
>> ================
>> josef# make
>> cc  tkAppInit.o -L/opt/work/swarm/tk4.1/unix -ltk4.1
>> -L/opt/work/swarm/tcl7.5/unix -ltcl7.5  -lsocket -L/usr/openwin/lib
>> -lX11 -ldl -lm -lc \
>>  -o wish
>> /usr/local/sparc-sun-solaris2.4/bin/ld: warning: libXext.so.0, needed
>> by /usr/openwin/lib/libX11.so, not found
>> /usr/openwin/lib/libX11.so: undefined reference to
>> `XSolarisIASetProcessInfo'
>> make: *** [wish] Error 1
>> ================
>> Note that libXext.so.0 _is_ on the system and in the place I would expect
>> it to be:
>>
>> {josef:1} locate libXext.so.0
>> /opt/SUNWdxlib/lib/dxlib/SunOS5.x/libXext.so.0
>> /usr/openwin/lib/libXext.so.0
>> {josef:2}
>>
>> Tcl 7.5 has successfully installed.
>>
>> Should I perhaps go for a later version of Tk/Tcl?  Will Swarm work on
>> later versions?
>
>Nigel,
>
>I haven't seen any responses to your query.  I don't know why
>your loader didn't find XSolarisIASetProcessInfo.  Our systems
>have the libXext.so.0 in the same places.  But, then, I don't
>think it's a problem with not finding the library.  It's just
>not finding the function inside the libX11 library.
>
>As to the Tcl version.  Tcl/Tk 7.5/4.1 works fine. (with the
>exception of a raster refresh bug)  So, I don't think that's
>your problem.
>
>Are there any Solaris gurus listening?
>
>glen


_________________________________________________________________________
Prof G. Nigel Gilbert, Dept of Sociology, University of Surrey, Guildford,
GU2 5XH, United Kingdom.  Tel: +44 (0)1483 259173 Fax: +44 (0)1483 306290




reply via email to

[Prev in Thread] Current Thread [Next in Thread]