shared object environmental variable

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: cannot open shared object file: No such file or directory” 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???



lupin982’s Profile:
View this thread: