[Samba] wiki entry regarding updating self compiled samba addc (4.11.x -> 4.15.0 in my case)
abartlet at samba.org
Wed Sep 29 08:36:24 UTC 2021
On Tue, 2021-09-28 at 19:13 +0200, Jürgen Echter via samba wrote:
> i upgraded from samba 4.11.x compiled with PYTHON=python2 ./configure
> to samba 4.15.0, i got some libraries left over which insisted on
> samba 4.11.x and made samba-tool crash.
> for example:
> I read
> mentioning special treatment for self compiled samba.
> If you update Samba by compiling from the sources, you should be
> aware that code can be removed for various reasons. If code is
> removed and you compile and install Samba over your existing Samba
> installation, this can lead to old libs being left on disk, this can
> lead to errors. For this reason, it is recommended that you replace
> the entire Samba installation if you compile Samba from sources. This
> should not affect Samba when updating by using distro packages.
> So i had a look at
> and it only says i should use the same configure options, which is
> not possible in this case.
> So my question is what directorys are safe/needed to delete prior to
> "make install" the new version?
The things that need to be removed are those that contain .py* files,
executable binaries and .so files. Everything else can be left intact.
Andrew Bartlett (he/him) https://samba.org/~abartlet/
Samba Team Member (since 2001) https://samba.org
Samba Team Lead, Catalyst IT https://catalyst.net.nz/services/samba
Samba Development and Support, Catalyst IT - Expert Open Source
More information about the samba