The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > 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 05:14 AM
Difference between LIB_PATH and LD_LIBRARY_PATH shafi2all UNIX for Advanced & Expert Users 1 05-09-2008 05:13 AM
Ld_library_path ccp UNIX for Dummies Questions & Answers 1 03-18-2008 12:11 PM
Bash LD_LIBRARY_PATH? bysonary UNIX for Dummies Questions & Answers 1 04-18-2007 12:08 PM
cc, setuid, and LD_LIBRARY_PATH WolfBoy UNIX for Advanced & Expert Users 0 01-19-2006 11:56 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 05-14-2008
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
Reply With Quote
Forum Sponsor
  #2  
Old 05-15-2008
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.
Reply With Quote
  #3  
Old 05-15-2008
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
Reply With Quote
  #4  
Old 05-21-2008
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.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:23 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0