The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
.
google unix.com



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Difference between LIB_PATH and LD_LIBRARY_PATH shafi2all UNIX for Advanced & Expert Users 1 05-09-2008 08:14 AM
Difference between LIB_PATH and LD_LIBRARY_PATH shafi2all UNIX for Advanced & Expert Users 1 05-09-2008 08:13 AM
Ld_library_path ccp UNIX for Dummies Questions & Answers 1 03-18-2008 03:11 PM
Bash LD_LIBRARY_PATH? bysonary UNIX for Dummies Questions & Answers 1 04-18-2007 03:08 PM
cc, setuid, and LD_LIBRARY_PATH WolfBoy UNIX for Advanced & Expert Users 0 01-19-2006 02:56 PM

Closed Thread
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
  #1 (permalink)  
Old 05-15-2008
vasanthan vasanthan is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 31
SHLIB_PATH or LD_LIBRARY_PATH

hi
Im using HP-UX 11i,PARISC .... Where do i find SHLIB_PATH or LD_LIBRARY_PATH ,
i couldnt find in env, listing...... Moreover im trying to execute file its throwing me error

usr/lib/dld.sl: Can't find path for shared library: libgcc_s.sl
/usr/lib/dld.sl: No such file or directory
(coredump)

pls clarify
  #2 (permalink)  
Old 05-15-2008
veer veer is offline
Registered User
  
 

Join Date: Nov 2007
Posts: 23
On HPUX U won't be by default able to view SHLIB_PATH var. ByDefault `ld` which uses 'usr/lib/dld.sl' lib file searches thru /lib:/usr/lib:/usr/share/lib dirs. That means /lib:/usr/lib:/usr/share/lib is ur SHLIB_PATH variable. Now that `ld` (library loader) is searching for 'libgcc_s.sl' library file which probably is not in the mentioned path.
Now tell me what executebles or shell scripts are u trying to execute which are throwing this error. If it's some application then u have to find the location of library's in that application dir. For e.g. INSTALLDIR/lib.
Post ur reply.
  #3 (permalink)  
Old 05-15-2008
vasanthan vasanthan is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 31
thnks for reply

Hi

Im trying to install( locally build and install) berkely db on HP-UX11 ....Installation is perfect( im able to find executables) ...During installation i hve mentioned --prefix=/opt/dev ( im made all the files to be in this path)

i suppose now the loader would be searching in above mentioned path
how can i make the loader point /opt/dev/

/usr/lib/dld.sl: can't finf for shared library: libpthread_tr.1
/usr/lib/dld.sl:No such file or directory
Abort(core dumped)

i got the error error.......... according to u the file missing is libpthread.tr.1



BR
vasanth
  #4 (permalink)  
Old 05-21-2008
simhe02 simhe02 is offline
Registered User
  
 

Join Date: May 2008
Posts: 7
Export SHLIB_PATH to point to /opt/dev.

SHLIB_PATH=$SHLIB_PATH:/opt/dev/ ;
export SHLIB_PATH

After expoting this variable, run the script whatever you want to.

-simhe02.
Closed Thread

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




All times are GMT -4. The time now is 08:29 AM.


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