Lew Pitcher <lew…@digitalfreehold.ca> writes:
> On Tue, 03 Nov 2026 08:21:14 +0000, Petri Kaukasoina wrote:
>
>> Lew Pitcher <lew…@digitalfreehold.ca> wrote:
>>>For instance, I don't have any need for Samba as I don't have any MSWindows
>>>systems. The standard UPGRADE instructions would have me install Samba, just
>>>to leave it there, untouched, and a security exposure that I don't need. So,
>>>instead of install, then delete, I don't install.
>>
>> Audio and video related programs link to libavformat which is built to link
>> to libsmbclient. So, without samba, many programs don't start.
>
> That's good to know. When I get around to upgrading my workstation, I'll
> look into that.
>
> For the system that I just upgraded, it isnt necessary. That system performs
> server duties, and doesn't normally expose the sound utilities.
In case it ever becomes important to you it's quite easy to build an
ffmpeg package without libavformat linking to libsmbclient. I feel much
as you do about having samba on my system. I see I have a local copy of
the ffmpeg slackbuild with this shell script next to it:
------------------------------------------------------------------------
#!/usr/bin/rc
SAMBA = no
BUILD = 2_slack15.0_nosamba
cd `{dirname $0}
sh ./ffmpeg.SlackBuild
------------------------------------------------------------------------
i.e. all you have to do is rebuild it with SAMBA set to no in the
environment:
{2640}smallm% readelf -d /usr/lib64/libavformat.so.58.76.100 | grep NEEDED
0x0000000000000001 (NEEDED) Shared library: [libavcodec.so.58]
0x0000000000000001 (NEEDED) Shared library: [libavutil.so.56]
0x0000000000000001 (NEEDED) Shared library: [libm.so.6]
0x0000000000000001 (NEEDED) Shared library: [libxml2.so.2]
0x0000000000000001 (NEEDED) Shared library: [libbz2.so.1]
0x0000000000000001 (NEEDED) Shared library: [libbluray.so.2]
0x0000000000000001 (NEEDED) Shared library: [libz.so.1]
0x0000000000000001 (NEEDED) Shared library: [libgnutls.so.30]
0x0000000000000001 (NEEDED) Shared library: [libssh.so.4]
0x0000000000000001 (NEEDED) Shared library: [libpthread.so.0]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
(Crossing my fingers that I'm not discrediting this approach by being
behind on the ffmpeg version in 15.0. There's the rub. You have to
remember what you did.)