Thanks for all response. use the following to fix the problem:
LD_LIBRARY_PATH=$OPENWINHOME/lib:/opt/hpnp/lib:/usr/dt/lib
export LD_LIBRARY_PATH
Thanks to all!!!!
Feng
------------------------------------------
from: raju@ecologic.net
root's shell is /sbin/sh and 'sh' does not have a 'setenv' command, try
LD_LIBRARY_PATH=$OPENWINHOME/lib:/opt/hpnp/lib
export LD_LIBRARY_PATH
--raju
libXm.so is the library for the Motif widget set. Solaris comes with
runtime version of the library (shared object) and get's installed
by default if you installed the developers options. Type
'/bin/pkginfo SUNWmfrun' and you should see something like:
system SUNWmfrun Motif RunTime Kit
If you see this, Motif is installed in /usr/dt/*, do just add
/usr/dt/lib to LD_LIBRARY_PATH and it should run then ...
LD_LIBRARY_PATH=$OPENWINHOME/lib:/opt/hpnp/lib:/usr/dt/lib
export LD_LIBRARY_PATH
luck,
--raju
---------------------------
from: Kriengkrai Jirawongaram <kk@cc.au.ac.th>
Hi,
Are you using C-Shell for root?
-----------------------------
from: Charles Best <charles@calfp.co.uk>
two minor things...
1) did you logout and log back in
2) i think that you need to :
setenv LD_LIBRARY_PATH ${OPENWINHOME}/lib:/opt/hpnp/lib
thanks,
charles
Sorry, I am not sure if I sent this message.
If you are running on Solaris 2.5.? add the following path to your
LD_LIBRARY_PATH:
/usr/dt/lib
Thanks,
charles
-----------------------------
from: Alex Tsiantos <alex@mars.mc.vanderbilt.edu>
check to make sure that /opt/dt/lib is also, in the LD_LIBRARY_PATH
--Alex
-----------------------------
from: gmp@adc.com (Gregory M Polanski)
It looks like you need to set LD_LIBRARY_PATH in .profile.
It is a Bourne shell script
us4101% file /opt/hpnp/jetadmin
/opt/hpnp/jetadmin: executable /usr/bin/sh script
LD_LIBRARY_PATH=/opt/hpnp/lib:${OPENWINHOME}/lib
export LD_LIBRARY_PATH
-------------------------------
from: Leonard Sitongia <sitongia@jabba.hao.ucar.edu>
It's really minor. It's just a warning that it can't use the X
application
that shows the device monitor, but is using the text version. The X
application
isn't build with the right paths to the libraries, so you need to set
LD_LIBRARY_PATH to overcome this.
==Leonard
------------------------------
from: baldma@aur.alcatel.com (Mark A. Baldwin)
Set your LD_LIBRARY_PATH environment variable to something like the
following:
/usr/lib:/usr/local/lib:/usr/ucblib:/usr/openwin/lib:/usr/dt/lib:/usr/openwin/lib/server
If that doesn't work check the jetadmin docs for what path needs to be
in your LD_LIBRARY_PATH.
Good luck, Mark...
-----------------------------------------------------
> Hello, all,
> I installed Jet-direct software (sol_pkgadd.d0210) on my solaris2.5.1. I
> put the
> setenv LD_LIBRARY_PATH $OPENWINHOME/lib:/opt/hpnp/lib
> in the .login file. When I run jetadm, it give the error message:
>
> # jetadmin
>
> *************************************************
> * MAIN MENU *
> * HP JetAdmin Utility for UNIX (Rev. D.02.10) *
> *************************************************
>
> 1) Configuration (super-user only):
> - configure printer, add printer to spooler
>
> 2) Diagnostics:
> - diagnose printing problems
>
> 3) Administration (super-user only):
> - manage HP printer, JetDirect
>
> 4) Administration (super-user only):
> - manage JetAdmin
>
> 5) Printer Status:
> - show printer status, location, and contact
>
> ?) Help q) Quit
>
> Please enter a selection (q - quit): 5
>
> LD_LIBRARY_PATH is not set. Cannot display the DeviceMonitor.
> Display the text status instead.
>
>
> What I did wrong??
>
> Thanks!!
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:43 CDT