[Ffmpeg-devel] Shared libraries install script broken in cvs

The Wanderer inverseparadox
Fri Dec 16 06:50:06 CET 2005

Jacob Meuser wrote:

> On Fri, Dec 16, 2005 at 12:21:13AM +0000, M?ns Rullg?rd wrote:
>> "John C. McCabe-Dansted" <gmatht at gmail.com> writes:

>>> Another way would be to explicitly tell ldconfig what our lib
>>> path is. E.g. running
>>> 	ldconfig $(libdir)
>>> Also fixes the problem.
>> That will still fail trying to update the cache file if you are not
>> root.
> I would prefer that the ldconfig lines be dropped and symlinks not be
> created at all.  really, people should know that they need to update
> the cache when they add libraries, and they should know how to do
> that on whatever OS they are using.

But, from the opposite perspective, why make them do it by hand? It
would be possible to extend the same logic to say that people should
copy the newly-compiled libraries into the 'installed' locations
themselves, yet it's certainly much more convenient to have that done
automatically; the same, I think, can be said about the matter at hand.
It is easily possible to argue that an "install" command (such as 'make
install') should do everything which is obviously necessary to get the
installed thing into a workable state.

Not that the other points, about differing requirements among OS
variants and the unwieldiness of supporting all of them, are necessarily
invalid - but this particular notion is just bad reasoning IMO.

       The Wanderer

Warning: Simply because I argue an issue does not mean I agree with any
side of it.

Secrecy is the beginning of tyranny.

More information about the ffmpeg-devel mailing list