I'm currently reviewing VirtualGL: https://bugzilla.redhat.com/show_bug.cgi?id=834127
It installs a number of libraries that get used with LD_PRELOAD via a wrapper script. While it is convenient to place them in %{_libdir} so that you don't have to specify the full path in LD_PRELOAD, it seems to me that they shouldn't be in %{_libdir} but in %{_libdir}/VirtualGL and then specify the full path in LD_PRELOAD.
Any dissenting opinions?
On Fri, Jul 6, 2012 at 7:46 PM, Orion Poplawski orion@cora.nwra.com wrote:
I'm currently reviewing VirtualGL: https://bugzilla.redhat.com/show_bug.cgi?id=834127
It installs a number of libraries that get used with LD_PRELOAD via a wrapper script. While it is convenient to place them in %{_libdir} so that you don't have to specify the full path in LD_PRELOAD, it seems to me that they shouldn't be in %{_libdir} but in %{_libdir}/VirtualGL and then specify the full path in LD_PRELOAD.
Any dissenting opinions?
I'd prefer to see them under %{_libdir}/VirtualGL and deal with any required changes. It just feels cleaner.
Anyway, these are my 2 cents, Niels
On 07/10/2012 07:53 AM, Niels de Vos wrote:
On Fri, Jul 6, 2012 at 7:46 PM, Orion Poplawski orion@cora.nwra.com wrote:
I'm currently reviewing VirtualGL: https://bugzilla.redhat.com/show_bug.cgi?id=834127
It installs a number of libraries that get used with LD_PRELOAD via a wrapper script. While it is convenient to place them in %{_libdir} so that you don't have to specify the full path in LD_PRELOAD, it seems to me that they shouldn't be in %{_libdir} but in %{_libdir}/VirtualGL and then specify the full path in LD_PRELOAD.
Any dissenting opinions?
I'd prefer to see them under %{_libdir}/VirtualGL and deal with any required changes. It just feels cleaner.
Anyway, these are my 2 cents, Niels
Thanks for the confirmation
packaging@lists.fedoraproject.org