Samba 3.0 & Openssl

John H Terpstra jht at samba.org
Wed Dec 3 07:51:20 GMT 2003


On Wed, 3 Dec 2003, Jeremy Allison wrote:

> On Wed, Dec 03, 2003 at 11:12:53AM +0530, Yashpal Nagar wrote:
> > Dear All,
> >
> >    I am trying to build a PDC in samba 3.0 on Redhat 9.0 box, when i am
> > installing binary package of samba it gives me the following.
> >
> > [root at yash yash]# rpm -ivh samba-3.0.0-2_rh8.i386.rpm
> > warning: samba-3.0.0-2_rh8.i386.rpm: V3 DSA signature: NOKEY, key ID 2f87af6f
> > error: Failed dependencies:
> >         libcrypto.so.2 is needed by samba-3.0.0-2
> > [root at yash yash]#
> >
> > Although I already have openssl installed:-
> >
> > [root at yash yash]# rpm -qa|grep openssl
> > openssl-0.9.7a-2
> > openssl-devel-0.9.7a-2
> > [root at yash yash]#
> >
> > what/where i am wrong?
>
> I've just had extreme pain with this also on Fedora Core 1.
> You need to install the openssl096-0.9.6-24 rpm as well as
> the openssl-0.9.7a-2 rpm.
>
> In /lib you'll have to ensure that :
>
> -rwxr-xr-x    1 root     root       857020 Sep 30 05:57 /lib/libcrypto.so.0.9.6b
> -rwxr-xr-x    1 root     root       972464 Sep 30 14:35 /lib/libcrypto.so.0.9.7a
> lrwxrwxrwx    1 root     root           19 Dec  2 15:41 /lib/libcrypto.so.2 -> libcrypto.so.0.9.6b
> lrwxrwxrwx    1 root     root           24 Dec  2 15:43 /lib/libcrypto.so.4 -> /lib/libcrypto.so.0.9.7a
>
> ie. /lib/libcrypto.so.2 needs to point to the libcrypto from openssl096-0.9.6b
> and /lib/libcrypto.so.4 needs to point to the libcrypto from openssl-0.9.7a.
>
> Don't know why, it just does.... :-).

Jeremy,

On my system this file is part of glibc-devel. YMMV! That is not meant to
disagree or to argue. You are most likely correct. :)

- John T.
-- 
John H Terpstra
Email: jht at samba.org


More information about the samba-technical mailing list