ethereal launch error on Solaris 8 sparc

I encountered this error when I launch the ethereal utility:./etherealld.so.1: ./ethereal: fatal: libgtk-1.2.so.0: open failed: No such file or directoryKilledWhat's wrong here! Your kind advice is appreciated!
[253 byte] By [cmk168] at [2007-11-25 23:35:45]
# 1

ethereal requires the libgtk library to display correctly under X11. So your error means one of two things:

1) Your system doesn't have libgtk installed and you need to install it.

2) Your system does have libgtk installed but your LD_LIBRARY_PATH environment variable isn't setup correctly to find it.

swoneill at 2007-7-5 18:20:12 > top of Java-index,General,Talk to the Sysop...
# 2
Hi,Thanks! How should I install libgtk package? Where can I find it! What is the proper way to set up the LD_LIBRARY_PATH environment variable?You are a great help!Regards!
cmk168 at 2007-7-5 18:20:12 > top of Java-index,General,Talk to the Sysop...
# 3

hi ma kwong

1)

first look for installed packages of GTK+ and Glib with pkginfo -il

mostly GTK+ is missing in such cases.

if you don't have, you an find it/them on the software companion cd, or at http://wwws.sun.com/software/solaris/freeware/pkgs_download.html

unzip (if necessary) and install them with pkgadd

use ldd -sv [path]/ethereal to find all dependencies

2)

editing LD_LIBRARY_PATH in sh:

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:[path_of_new_lib]

export LD_LIBRARY_PATH

or in c-shell.

set LD_LIBRARY_PATH =($LD_LIBRARY_PATH:[path_of_new_lib])

export LD_LIBRARY_PATH

To add the PATH permanently, add these path values to the ".profile" of the user who owns the application

cu jenny

ps.

thanks for your nice dhcp-remail.

i hope the workaround fixed the problem

Jenny_S at 2007-7-5 18:20:12 > top of Java-index,General,Talk to the Sysop...
# 4
hi jenny,Thanks alot, it is installed, only that it was in the LD_LIBRARY_PATH, after appending to exisiting LD_LIBRARY_PATH and export the env. variable, the utility works fine!Thanks!
cmk168 at 2007-7-5 18:20:12 > top of Java-index,General,Talk to the Sysop...