Libndi.so.4 is not a symbolic link... Here's the fix

Those experimenting with NDI on OBS Linux may have noticed this pop up whenever ldconfig is called:

libndi.so.4 is not a symbolic link

The reason? Lazy development.

libndi.so, libndi.so.4 and libndi.so.4.0.0 are all 3 copies of the same file…

How do we suppress the error?

cd /usr/lib
sudo rm libndi.so
sudo ln -r -s libndi.so.4.0.0 libndi.so
sudo rm libndi.so.4
sudo ln -r -s libndi.so.4.0.0 libndi.so.4

This will get ldconfig to stop complaining. Honestly this is super lazy development on their part.

1 Like

Isn’t this a packaging problem more than development?

I honestly think whomever packaged this wasn’t even a core dev. 3 copies of the same file is really lazy. They didn’t even try symlinks.

That’s likely. I guess we can submit an issue for this.