Problem loading shared objects from /usr/local/hello/lib after puting path in ld.so.conf

This is a discussion on Problem loading shared objects from /usr/local/hello/lib after puting path in ld.so.conf within the Linux General forums, part of the Linux Forums category; Hi There, I am facing a problem when loading a shared object from my directory. I have followed the follwoing ...


Go Back   Usenet Forums > Linux Forums > Linux General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-13-2003
Jitesh K Patil, Systems Engineer, Wipro Technologies.
 
Posts: n/a
Default Problem loading shared objects from /usr/local/hello/lib after puting path in ld.so.conf

Hi There,
I am facing a problem when loading a shared object from my directory.
I have followed the follwoing steps.
- copied the shared object libhello.so.1.0 to /usr/local/hello/lib
- run ldconfig -v -n . in /usr/local/hello/lib
output:
libhello.so.1 -> libhello.so.1.0 (changed)
- create link to libhello.so.1 : ln -s libhello.so.1 libhello.so
output of ls -l in /usr/local/hello/lib
libhello.so -> /usr/local/hello/lib/libhello.so.1
libhello.so.1 -> libhello.so.1.0
libhello.so.1.0
- put path /usr/local/hello/lib in ld.so.conf
- run ldconfig

But still when I run my application I get an error that says it cannot
load shared object libhello.so.1.0

Also if I export the LD_LIBRARY_PATH, then it works fine.

I am working on 64 bit Redhat Linux Ver 2.4.18-e.32smp

Any help in this regard will be help ful.

Thanks,
Jitesh
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:42 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0