[FFmpeg-user] How to get rid of version number in so names?

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Jan 31 11:11:53 CET 2012


Alexey Umnov <umnoff <at> gmail.com> writes:

> I have a little bit weird question. The circumstances are so that I need
> libavcodec, libavformat and libavutil shared object files to be named
> without version numbers (libavcodec.so, libavutil.so, libavformat.so) and
> keep them able to link against each other in this manner.

There is a line in configure:
SLIBNAME_WITH_MAJOR='$(SLIBNAME).$(LIBMAJOR)'

Remove ".$(LIBMAJOR)". This produces some warnings at compile time but should do
what you want.

Carl Eugen



More information about the ffmpeg-user mailing list