[Samba] Upgrade of Samba from 4.4.6 to 4.5.4

Matthew Delfino mdelfino.list.samba at KNOCKinc.com
Wed Jan 18 19:23:16 UTC 2017

> On 2017.01.18, at 1:16 PM, Reindl Harald via samba <samba at lists.samba.org> wrote:
> Am 18.01.2017 um 20:01 schrieb Matthew Delfino via samba:
>> UPDATE: These commands seem to have addressed my problem, but I don’t know if it’s a lame or elegant hack:
>> ln -s /usr/lib/libwbclient.so.0.13 /usr/lib/x86_64-linux-gnu/libwbclient.so.0.13
>> cd /usr/lib/x86_64-linux-gnu/
>> rm libwbclient.so.0
>> ln -s libwbclient.so.0.13 libwbclient.so.0
> looks extremely dirty and fragile

Yeah. It does. It is.

> people really should really learn to build packages which either *cleanly* install far away from the system (/usr/local/) or just override distribution packages with a higher internal version
> such packages install any needed symlinks and file as needed and whenever you have to enter the command "ln" manually your package is wrong
> no idea how to build on Debian, on Redhat systems rpmbuild is not hard to learn and works over many years and dist-upgrades without issues

Well, it’s always worked on Ubuntu before. Maybe my configuration is just odd enough that I stumbled upon a bug?

>>> On 2017.01.18, at 12:55 PM, Matthew Delfino via samba <samba at lists.samba.org> wrote:
>>> Hey Rowland, thanks for your quick reply. Answers below…
>>>> On 2017.01.18, at 12:41 PM, Rowland Penny via samba <samba at lists.samba.org> wrote:
>>>> On Wed, 18 Jan 2017 11:34:41 -0600
>>>> Matthew Delfino via samba <samba at lists.samba.org> wrote:
>>>>> Hello,
>>>>> I have an Ubuntu 14.04 server with Samba 4.4.6 and a BIND DLZ backend
>>>>> that I’ve downloaded, configured and installed from source.
>>>> Did you compile Bind9 or use the Ubuntu package, it is not clear from
>>>> what you have posted.
>>> I compile bind9. As I understand it, a download and compile has been required to get BIND with a DLZ backend on Ubuntu for some time. I use the sources that Ubuntu provides:
>>> apt-get source bind9
>>>> When you compiled Samba, How did you configure it ?
>>> (login)
>>> mkdir source
>>> cd source
>>> wget https://download.samba.org/pub/samba/stable/samba-4.5.4.tar.gz
>>> tar -zxf samba-4.5.4.tar.gz
>>> cd samba-4.5.4/
>>> ./configure --enable-fhs --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-debug
>>> make
>>> sudo -s
>>> service samba-ad-dc stop
>>> make install
>>>>> I’ve downloaded the source for Samba 4.5.4, compiled and installed,
>>>>> and now Samba won’t launch.
>>>> Did you configure Samba exactly as the earlier compile.
>>> Yes. Always have been doing this the with the same configure options.
>>>>> If I try to run samba, I get the following error:
>>>>> samba: /usr/lib/x86_64-linux-gnu/libwbclient.so.0: version
>>>>> `WBCLIENT_0.13' not found (required
>>>>> by /usr/lib/samba/libLIBWBCLIENT-OLD-samba4.so)
>>>>> I see that in /usr/lib/x86_64-linux-gnu/ there is no
>>>>> libwbclient.so.0.13
>>>>> In /usr/lib/ there’s a libwbclient.so.0.13
>>>>> Do you think all I have to do is make a soft link
>>>>> in /usr/lib/x86_64-linux-gnu/ pointing
>>>>> to /usr/lib/libwbclient.so.0.13? Or could there be a more elegant
>>>>> solution?
>>>> Possibly not, if you compiled Samba as recommended, it should all end
>>>> up in /usr/local/samba and there should
>>>> be /usr/local/samba/lib/libwbclient.so.0.13
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba

©2017 KNOCK, inc. All rights reserved. KNOCK is a registered trademark of KNOCK, inc. This message and any attachments contain information, which is confidential and/or privileged. If you are not the intended recipient, please refrain from any disclosure, copying, distribution or use of this information. Please be aware that such actions are prohibited. If you have received this transmission in error, kindly notify the sender by e-mail. Your cooperation is appreciated.

More information about the samba mailing list