ldd -s says 'insecure directory name'... what does this mean?

I'm attempting to run a program dependant on a bunch of library files.  All of the files are in the proper /lib directory, yet the program doesn't run.  I did an LDD command on it and it simply said the file was not found, despite the fact that other libraries in the same directory were.

Upon doing an LDD -s, however, it first displayed all of the possible search paths, and then
ignore path = /whichever_lib_dir (insecure directory name)
for each one, whereas the others at least write "trying path."

I dont understand why it would be doing this for this one specific library file only.  The permissions and whatnot for it are identical to all other files which are being properly found, and I am an admin on the machine.

How can I get this library file recognized?  Thanks in advance!
SkkraAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

shivsaCommented:
could u try sowhat command. it may be help in Analyzing dependencies.
0
shivsaCommented:
also check your LD_LIBRARY_PATH,
echo $LD_LIBRARY_PATH, does it have the name of your directory. if not try including this one too.
0
shivsaCommented:
also read about this security document.
downloads.securityfocus.com/library/ practical_solaris_security.ps
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

SkkraAuthor Commented:
The LD_LIBRARY_PATH is correct.  I tried the other tip but that didnt work either.
0
shivsaCommented:
what version of solaris u are running.
have u applied all the patches for this release.
there were some bug fixes related to ldd in recent patches related to insecure files/directories.
0
shivsaCommented:
there were some changes done for secure loading libs.
and libs put in
/usr/lib/secure
/usr/lib/sparcv9/secure.

if your appliaction need LD_PRELOAD, and your libs are not there, it will give u this error.
try to place your libs to one of these directory and try again. This is the workaround for problems faced in solris 7 and solaris 8.
0
SkkraAuthor Commented:
Shivsa, thank you for all of your help, but I managed to figure out the solution myself eventually.

The file I was attempting to execute, while I had the permissions, we owned by root, while I was on an alternate admin account.  Once I used chown to set the file to myself, the problem went away.

Is there some way to have this thread closed?
0
shivsaCommented:
Good to know you got the issue resolved.
You can close the question by following this guidelines.

http://www.experts-exchange.com/help.jsp#hs5
0
shivsaCommented:
downloads.securityfocus.com/library/ practical_solaris_security.ps

tells about these kind of securties problems. so u can read it more to learn more about securities issues related to library issue.
0
shivsaCommented:
You can close the question by following this guidelines.

http://www.experts-exchange.com/help.jsp#hs5
0
ee_ai_constructCommented:
PAQed, with points refunded (250)

ee_ai_construct
Community Support Moderator
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.