# shared object environmental variable

**URL:** <https://forums.suse.com/t/shared-object-environmental-variable/21736>\
**Category:** SLE Software Developer Kit (SDK)\
**Created:** [January 27, 2010, 5:16pm UTC](https://forums.suse.com/t/shared-object-environmental-variable/21736 "2010-01-27T17:16:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![System1](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@System1](https://forums.suse.com/u/System1)\
**Post date:** [January 27, 2010, 5:16pm UTC](https://forums.suse.com/t/shared-object-environmental-variable/21736/1 "2010-01-27T17:16:05Z")

</div>

Hi,  
I need to run a program from a no root user, this program defend from  
some shared library .so .  
This library is located in the dir /home/lupin/lib,  
i try to do:

export LD\_LIBRARY\_PATH=$LD\_LIBRARY\_PATH:/home/lupin/lib  
export LD\_LIBRARYN32\_PATH=$LD\_LIBRARYN32\_PATH;/home/lupin/lib

but i always have this message: “error while loading shared libraries:  
libsched.so: cannot open shared object file: No such file or directory”

libsched.so is in the /home/lupin/lib directory.  
if i do the same operation with root user all work properly.  
What is the problem?  
i don’t want to use LD\_RUNPATH environmental variable.  
Which kind of environmental variable i have to set???

Thanks

## – lupin982

lupin982’s Profile: [http://forums.novell.com/member.php?userid=75743](http://forums.novell.com/member.php?userid=75743)  
View this thread: [http://forums.novell.com/showthread.php?t=399720](http://forums.novell.com/showthread.php?t=399720)
