Enabling the eselect-ldso behaviour has no adverse effects during run time and gives more choice to the user. It also simplifies the management of the virtuals.
Hmmm, it turns out that our current method for doing this via ld.so doesn't allow for different soname. So it is going to be hard to make this the default behaviour with just symlinks and without adding extra files. Currently each provider also installs their own library, libblis.so in /usr/<libdir>/ and just changes the soname to libblas.so.3 and puts them in /usr/<libdir>/blas/<provider>/libblas.so.3. This feels a bit redundant as the only change is the soname. Unfortunately I am not sure if there is any workaround.
(In reply to Aisha Tammy from comment #1) > Hmmm, it turns out that our current method for doing this via ld.so doesn't > allow for different soname. > > So it is going to be hard to make this the default behaviour with just > symlinks and without adding extra files. > > Currently each provider also installs their own library, libblis.so in I should have mentioned, libblis.so is an example, by sci-libs/blis. When using eselect-ldso with blis, the only thing that is done is that libblis sources are repacked with another soname. https://gitweb.gentoo.org/repo/gentoo.git/tree/sci-libs/blis/files/blis-0.6.0-blas-provider.patch > /usr/<libdir>/ and just changes the soname to libblas.so.3 and puts them in > /usr/<libdir>/blas/<provider>/libblas.so.3. > > This feels a bit redundant as the only change is the soname. > > Unfortunately I am not sure if there is any workaround.
(In reply to Aisha Tammy from comment #1) > Hmmm, it turns out that our current method for doing this via ld.so doesn't > allow for different soname. > > So it is going to be hard to make this the default behaviour with just > symlinks and without adding extra files. > > Currently each provider also installs their own library, libblis.so in > /usr/<libdir>/ and just changes the soname to libblas.so.3 and puts them in > /usr/<libdir>/blas/<provider>/libblas.so.3. > > This feels a bit redundant as the only change is the soname. > > Unfortunately I am not sure if there is any workaround. It will no longer be redundant if we strip non-BLAS symbols from libblas.so.3. Providing two shared libraries is the cost for offering the runtime switches.