David McPaul wrote:
2009/8/11 Brecht Machiels <brecht@xxxxxxxxxxx>:Oliver Tappe wrote:Hi Brecht, On 2009-08-11 at 09:40:10 [+0200], Brecht Machiels <brecht@xxxxxxxxxxx> wrote:On a related note. How do you see Haiku handling multiple versions of a library? If all bundles are mounted under /boot/common, they would need to have a unique namme (libfoo-1.2.3.so). For an application to use a particular version, we would need to virtually link a library into the app's lib search path, as libfoo.so. I hope you agree we don't want to have apps looking for a specific version of a library (libfoo-1.2.3.so)?Hm, but if apps aren't looking for specific versions of a lib, how would there ever be the need to install multiple versions of a library? If all apps are just requiring libfoo.so then the version shouldn't matter, right?Due to libs breaking compatibility even across minor versions, it is impossible to predict which versions of a library will an app work with.Then they are no longer libraries IMHO. Apps that can only work with a specific version of a library should include that version in their local lib directory.
At the release of the application, it is not possible to predict whether future versions of a library will be compatible or not.
Regards, Brecht