jwdonal
September 18th, 2019, 07:09 PM
Hopefully this is not the dumbest question ever asked on this board. :/ I have been using linux for ages but I don't know the answer to this question and Google was not being helpful (possibly because I'm not using the proper terminology).
I'm running 18.04 LTS. I was dealing with a library dependency issue for a program and came up with the following question.
What is the difference between the library version number appended to the .so files and the version of the library itself? Why do they not match?
For one example, I have libfreetype6 library installed. The .so file is:
/usr/lib/x86_64-linux-gnu/libfreetype.so.6.15.0
So the version is 6.15.0......but it's really not. Because the actual version of libfreetype that was installed is actually 2.8.1 which came from package libfreetype6_2.8.1-2ubuntu2_amd64.deb.
There is no libfreetype version 6.15.0 on the freetype.org website. The latest on the website is 2.10.1.
So will someone please tell me why there are two different version numbers for the same library?
Why wouldn't the .so file just be named libfreetype.so.2.8.1??? That would make much more sense to me.
And this is not specific to the freetype library either, it seems to be prevalent across many (all?) libraries.
I really hope this isn't a super dumb question...
I'm running 18.04 LTS. I was dealing with a library dependency issue for a program and came up with the following question.
What is the difference between the library version number appended to the .so files and the version of the library itself? Why do they not match?
For one example, I have libfreetype6 library installed. The .so file is:
/usr/lib/x86_64-linux-gnu/libfreetype.so.6.15.0
So the version is 6.15.0......but it's really not. Because the actual version of libfreetype that was installed is actually 2.8.1 which came from package libfreetype6_2.8.1-2ubuntu2_amd64.deb.
There is no libfreetype version 6.15.0 on the freetype.org website. The latest on the website is 2.10.1.
So will someone please tell me why there are two different version numbers for the same library?
Why wouldn't the .so file just be named libfreetype.so.2.8.1??? That would make much more sense to me.
And this is not specific to the freetype library either, it seems to be prevalent across many (all?) libraries.
I really hope this isn't a super dumb question...