Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Packaging (http://www.linux-archive.org/fedora-packaging/)
-   -   Where to install LD_PRELOAD libraries (http://www.linux-archive.org/fedora-packaging/680794-where-install-ld_preload-libraries.html)

Orion Poplawski 07-06-2012 05:46 PM

Where to install LD_PRELOAD libraries
 
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?

--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder Office FAX: 303-415-9702
3380 Mitchell Lane orion@nwra.com
Boulder, CO 80301 http://www.nwra.com

--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging

Niels de Vos 07-10-2012 01:53 PM

Where to install LD_PRELOAD libraries
 
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
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging

Orion Poplawski 07-10-2012 07:44 PM

Where to install LD_PRELOAD libraries
 
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

--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA, Boulder Office FAX: 303-415-9702
3380 Mitchell Lane orion@nwra.com
Boulder, CO 80301 http://www.nwra.com


--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging


All times are GMT. The time now is 11:44 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.