El 1 de junio de 2021 16:15:35 GMT-04:00, Rowland penny via samba <samba at lists.samba.org> escribi?:>On 01/06/2021 20:48, Christian Naumer via samba wrote: >> >> >> Am 31.05.21 um 17:17 schrieb Rommel Rodriguez Toirac via samba: >>> ERROR(<class 'ImportError'>): uncaught exception - >>> /usr/local/samba/lib/private/libcli-smb-common-samba4.so: version >>> `SAMBA_4.13.2' not found >> >> >> You said this ist version 4.14.3. Why does it look for SAMBA_4.13.2? >> Some leftover from previous install? >> >> Regards >> > >He has hit a problem I mentioned in another thread, he upgraded Samba >by >compiling a new Samba version over his original Samba. Something got >removed from Samba, but some of the old code from the earlier version >was left on disk and it is this that is looking for the earlier lib. If > >you are going to compile Samba yourself, then always upgrade by >creating >a new Samba PC. > >RowlandHello; yes, samba4.13.2 was the prior versi?n before upgrade to samba4.14.3 I do not know why is happening this now, I always have been upgrade like the way wiki say (https://wiki.samba.org/index.php/Updating_Samba#The_Update_Process) -- Rommel Rodriguez Toirac rommelrt at nauta.cu
On 02/06/2021 14:36, Rommel Rodriguez Toirac via samba wrote:> Hello; > yes, samba4.13.2 was the prior versi?n before upgrade to samba4.14.3 > I do not know why is happening this now, I always have been upgrade like the way wiki say (https://wiki.samba.org/index.php/Updating_Samba#The_Update_Process)From time to time, Samba will remove code (usually unused code), but when you compile a new version of Samba over an existing Samba, the compile does not remove any code on disk that is no longer there to compile. This leads to what is happening to you, on old, no longer required, lib or binary is looking for something that no longer exists because it has been replaced by a newer version. The fix ? either find what should no longer be there and remove it, or replace the Samba server. Rowland
Hello. I was also bothered just a while ago. my CentOS8.4 and Ubuntu20.04 same Error. I installed 4.14.5 to same 4.13.9 folder (override). Unupdated library suspected of malfunctioning. CentOS8: /usr/local/samba/lib64/python3.6/site-packages/samba/samba3/libsmb_samba_internal.cpython-36m-x86_64-linux-gnu.so Ubuntu20.04: /usr/local/samba/lib/python3.8/site-packages/samba/samba3/libsmb_samba_internal.cpython-38-x86_64-linux-gnu.so Remove or Rename to '.so.old' (and ldconfig), It improved. Or It may be solved by installing in a new folder instead of overwriting. -- TakIchikawa