Operating System - HP-UX
1826925 Members
2143 Online
109705 Solutions
New Discussion

program will only run as one user

 
Nick Gamroth_1
New Member

program will only run as one user

Hi,
I'm trying to let users run this program. Right now, only one user is able to run it. It looks like the program is using libCsup, and what I think is going on is that only one user is using the correct version. Here's what I get when I try to run it as one user:

vishp1 7 mockup2000i2
/usr/lib/dld.sl: Unresolved symbol: [Vtable]key:__dt__21__versioned_type_infoFv
(data) from /disk1/apps/mockup2000i2/hp8k/lib/libdivu.sl
/usr/lib/dld.sl: Unresolved symbol: __curStaticObject (data) from /disk1/apps/mockup2000i2/hp8k/lib/libdivu.sl
/usr/lib/dld.sl: Unresolved symbol: [Vtable]key:__dt__21__versioned_type_infoFv
(data) from /disk1/apps/mockup2000i2/hp8k/lib/libdivu.sl
/usr/lib/dld.sl: Unresolved symbol: __curStaticObject (data) from /disk1/apps/mockup2000i2/hp8k/lib/libdivu.sl

The other user runs it without a problem. I checked the aCC runtime support libraries, and both users are using the same version:

emedia@vishp1:/home/emedia > what /opt/aCC/bin/aCC
/opt/aCC/bin/aCC:
HP aC++ B3910B A.03.31
HP aC++ B3910B A.03.27 Language Support Library

anybody have any idea what's going on here?

Thanks,
Nick
"some people were made to rock and roll"
4 REPLIES 4
Patrick Wallek
Honored Contributor

Re: program will only run as one user

Have you compared the various users PATH, LD_LIBRARY_PATH and SHLIB_PATH environment variables to see if they match? That would be the first thing I would look at.
monasingh_1
Trusted Contributor

Re: program will only run as one user

just a note for SHLIB_PATH, the sequence in the value is also very important in many cases. I think you may not need LD_LIB , because HP does not use it, It probably is used on SUN or AIX...
Mike Miller_8
Regular Advisor

Re: program will only run as one user

I'd concentrate on the PATH.
Play close attension to the order.
If one of the users is a developer, make sure that they have not copied any libXXX files to their ID.

= Mike =
Steven E. Protter
Exalted Contributor

Re: program will only run as one user

Pathing issues above need to be consistent with all users.

Another good practice is to create a group for authorized users of a program.

We have a group called sag, and anyone in that group, whether its their primary or secondary, is allowed to execute certain programs.

They also get a common set of environment variables, that enable the sag apps to work.

It is possible your issues are coming from the environment side. That's where to look after pathing is verified.

From the user prompt.

env | more

The app probably has certain required settings which must be met. Technically speaking PATH is part of the environment, but other parts can impact application function.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com