The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Telnet/ssh connection takes a lot of time. esmgr SUN Solaris 5 11-09-2008 10:45 PM
takes time to connect my application Gods_help SUN Solaris 2 11-06-2008 12:10 PM
Evergreen takes root at Kent County Public Library iBot UNIX and Linux RSS News 0 09-03-2008 05:50 PM
Shared memory for shared library otheus High Level Programming 0 09-03-2008 04:55 AM
Shared memory in shared library DreamWarrior High Level Programming 12 05-30-2007 05:33 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 02-23-2009
kk2202 kk2202 is offline
Registered User
  
 

Join Date: Feb 2009
Posts: 3
Executable takes indefinite time to search for shared library

Hi,

I have an executable that takes indefinitely long time to search for the libsendfile.so in particular solaris machines only. The library is actually in the /lib folder. Where as it works fine on few of the machines, it takes long time in few others.
I have checked crle options. Its the same for my problematic and the other working machines. crle shows default search path as /lib:/usr/lib in both.
When i used truss command i found that, in the machine where i have the problem , even ldd takes lots more time ,searching for libsendfile.so in some shared network folder which does not exist in it actually.
My question is why does it search in folders that do not exist before checking in /usr/lib or /lib folders ? Where as this does not happen in the other machines where the executable works fine.
What are the settings or copnfigurations that can be done to force the executable to look into /usr/lib or /lib ? As these are default searchpaths and are already set in ld.config, i dont find reasons why i should set them in LD_LIBRARY_PATH too.

Please provide your valuable feedbacks. Any help would be highly appreciated.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:34 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0