Operating System - HP-UX
1830895 Members
1472 Online
110017 Solutions
New Discussion

Re: SHLIB_PATH with inted

 
BERT KOE 9-01
New Member

SHLIB_PATH with inted

Hello together,

I installed the precompiled samba 3.0.5 version and all required tools for HP-UX 11.11 from the samba.org-website.

There seams to be a configration-leak in this depot. So I had to set SHLIB_PATH=/usr/lib in /sbin/init.d/sama to fix the errormessage "Can't find path for shared library: libcrypto.sl".
This works on samba startup. But the error resumes in the web-browser, on connecting the swat-deamon on port 901.
Is it possible to manipulate the SHLIB_PATH variable for tools, that are startet with the inetd ?
4 REPLIES 4
RAC_1
Honored Contributor

Re: SHLIB_PATH with inted

Run a chatr on the samba executable. It will show the order in which it will look for librarries. I think you set it to look for SHLIB_PATH first.

This should take care ot SWAT error.

You would need to do as follows.

chatr +s enable +enable

This would, enable to look for SHLIB_PATH first. Try it.

Anil
There is no substitute to HARDWORK
RAC_1
Honored Contributor

Re: SHLIB_PATH with inted

Correction in the post. Particularly the command.

chatr +s enable +b enable
There is no substitute to HARDWORK
BERT KOE 9-01
New Member

Re: SHLIB_PATH with inted

Thanks a lot for your response.
I tried the options you set to chatr but these doesn't work.
On additional searches I found the ldd-comand. ldd lists all shared lib's with their default directory and those, where the library is really found.
For every entry, whom default directory don't exist I created a link to the real lib.
That works.
Sundar_7
Honored Contributor

Re: SHLIB_PATH with inted

I am not sure if you can change the "embedded path" for a binary using chatr.

But hey, if you know where the shared libaries, why not move it to the right place ?

# chatr `which swat` | grep embedded

# mv /wherever/the/sls/are/present /embedded/path/


Learn What to do ,How to do and more importantly When to do ?