"David A. Bandel" wrote:
>
> On Tue, 05 Feb 2002 21:15:50 -0500
> begin Ian <[EMAIL PROTECTED]> spewed forth:
>
> >
> > After wrangling with Sendmail some more...I've decided to repost this
> > one from a few days back.
> >
> > -------- Original Message --------
> > Subject: Postifix on Redhat 7.2
> > Date: Sat, 02 Feb 2002 14:59:31 -0500
> > From: Ian <[EMAIL PROTECTED]>
> > Reply-To: [EMAIL PROTECTED]
> > To: [EMAIL PROTECTED]
> >
> > OK,
> >
> > I've always had a bugger working with sendmail, but I had almost
> > immediate success when I experimented with postfix. Postfix however
> > isn't included with RH7.2 W/S.
> >
> > I found an SRPM for postifix built by redhat, but it needs 'db4-devel'
> > to build. Which was available from the same spot as the Postfix rpms.
> > So I built all the db4 rpms, which obsolete/conflict with the installed
> > db3 packages already there.
> >
> > db4-devel conflicts with db3-devel: (Sorry 'bout the wrap)
> >
> > # [root@innie i386]# rpm -ivh --test ./db4-devel-4.0.14-2.i386.rpm
> > # Preparing... ########################################### [100%]
> > # file /lib/libdb.so from install of db4-devel-4.0.14-2\
> > conflicts with file from package db3-devel-3.2.9-4
> > # file /usr/include/db.h from install of db4-devel-4.0.14-2\
> > conflicts with file from package # db3-devel-3.2.9-4
> > # file /usr/lib/libdb_cxx.so from install of db4-devel-4.0.14-2\
> > conflicts with file from package db3-devel-3.2.9-4
> >
> > I can't remove db3 without causing problems:
> >
> > # [root@innie root]# rpm -e --test db3
> > # error: removing these packages would break dependencies:
> > # db3 = 3.2.9 is needed by db3-devel-3.2.9-4
> > # db3 = 3.2.9 is needed by db3-utils-3.2.9-4
> > # libdb-3.2.so is needed by perl-5.6.0-17
> > # libdb-3.2.so is needed by sendmail-8.11.6-3
> > # libdb-3.2.so is needed by python-1.5.2-35
> > # libdb-3.2.so is needed by nss_ldap-172-2
> > # libdb-3.2.so is needed by php-4.0.6-7
> > # libdb-3.2.so is needed by db3-utils-3.2.9-4
> > # libdb-3.2.so is needed by apache-1.3.22-2
> > # libdb-3.2.so is needed by pam-0.75-19
> >
> > So, my question is:
> >
> > Can I safely force the db4-devel rpm to overwrite the db3-files it
> > conflicts with?
> >
> > If not, what to do? [ Please don't say "learn sendmail" ;) ]
>
> My suggestion would be to d/l the SRPM and rebuild postfix using db-3.2 on
> your system now. If you can't, I'd find a test box (one you can break),
> try the above, then run some apps that were built against 3.2 to see if
> they segfault.
>
> Ciao,
>
> David A. Bandel
from postfix.spec:
-----------
%triggerin -- db4
rm -rf %{ROOT}/lib/libdb*
%{copy_cmd}
copy /lib/libdb-4.0.so %{ROOT}/lib
copy /lib/libdb.so %{ROOT}/lib
-----------
-----------
BuildRequires: gawk, perl, sed, ed, db4-devel
-----------
So, I have db3-devel installed, all I need to do is update the
references and files in the above statements?
rpm -bb postfix.spec
Or am I oversimplifying this?
--
Linux SxS [http://sxs.webhop.net/]
_______________________________________________
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.