At 15:02 27/01/2001, you wrote:
>Hi Simon.
>
>It might be worth your while to find out exactly which of the
>aforementioned libraries samba is actually using. First of all run find to
>find all the copies of samba that you have on this system. Then on a
>couple of xterms run
Samba is not running at all, it is the rpm that is failing this dependency. 
If I install the rpm with nodeps it won't start for the same reason, it 
needs libreadline.so.3



>watch stat libreadline*
>
>from where-ever the libraries are located. stat will tell you, amongst
>other things, when the last access time was. You can use this to determine
>which of your libraries to start playing with.
If an 'xterm' is one running X-Windows then I don't have any



>Also, I'd recommend you just trash the RPM copy and build it from source.
>And all the libraries you need from source. RPM is not a bad package
>manager, but it just can't offer the flexibility that actually building
>the program can. rpm -ev is the command you're after. All the samba source
>trees will by default install in /usr/local/..., so a new build of samba
>will over-write a previous one. Also, I'm not quite sure what you're
>trying to achieve here, but you might be better off to tell samba to use
>pam and have pam point to some other database like nis or ldap

I have installed from the tarball, but can't work out what the command is 
to start it. The other times I have installed from the RPM file it has 
included a start/stop/restart script


>oh, and I assume you've put the path for libreadline into /etc/ld.so.conf
>and $LD_LIBRARY_PATH, have you? if it's not working, then probably a
>rebuild of it is what you need to do. Likewise, remove the rpm first and
>build it fresh. You'll probably need to specify --nodeps to make it do it
>(since you've removing a library which no doubt has otehr programs depend
>on it).

libreadline.so.3 is in /lib    /usr/lib    and  /usr/local/lib  the first 
two directories are listed in /etc/ld.so.conf. I have been installing 
libreadline.so.3 from a tarball of  readline-2.2.1 from gnu.org, which 
tells me it includes librreadline.so.3 (or was that info on rpmfind.net?). 
I unpacked the tarball in /usr/local and ran the install from the resulting 
directory. Should that work?

I want samba to enable easy access from my windows boxes and to allow Squid 
to do smb_auth authorisation.


>HTH
>
>James.
>
>On Sat, 27 Jan 2001, Simon Bryan wrote:
>
> > OK. Wish I knew what was going on!
> > If I manually call libreadline.so.3 from any of it's three locations 
> then I
> > get 'Segmentation Fault' which I assume is OK as I am not passing anything
> > to it or doing anything with it, but at least it means the file is 'alive'.
> > In the /usr/lib directory the file was actually a softlink to ver 4.1 so I
> > have deleted that and copied one of the others into the directory and done
> > ldconfig ad nauseam in all sorts of permuatations, except now ldconfig -p
> > does NOT show libreadline.so.3 at all.
> > Is there a way to manually link in this one file?
> >
> > At 14:16 27/01/2001, Grahame Kelly wrote:
> > >On Sat, 27 Jan 2001, you wrote:
> > > > Yep and ldconfig -p shows linbreadline.so.3 -> 
> /usr/lib/libreadline.so.3
> > > > it also shows libreadline.so.4.1 -> libreadline.so.4.1 could there be a
> > > > conflict here?
> > > >
> > >
> > >Hi Simon.
> > >
> > >Their should be no conflict. Different library versions are able
> > >to coexist.
> > >
> > >G.
> >
> >
> >
> > Simon Bryan
> > ____________________________________
> > IT Manager
> > OLMC Parramatta
> > http://www.olmc.nsw.edu.au
> > ____________________________________
> >
> >
> >
> > --
> > SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> > More Info: http://slug.org.au/lists/listinfo/slug
> >
>
>--
>"I like cats too. Let's exchange recipes." - unknown.



Simon Bryan
____________________________________
IT Manager
OLMC Parramatta
http://www.olmc.nsw.edu.au
____________________________________



-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to