![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V. |
|
|
||||
| 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 |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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 |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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. |
|||
| Google The UNIX and Linux Forums |