Skip to content
This repository

FAIL on OpenBSD: libdirs that ar not known to ld.so.hints/LD_LIBRARY_PATH are not respected #185

Closed
kthakore opened this Issue · 3 comments

1 participant

Kartik Thakore
Kartik Thakore
Owner

Failed test 'use SDL;'

at t/00-load.t line 88.

Tried to use 'SDL'.

Error: Can't load '[...]/SDL_perl.so' for module SDL_perl: Cannot load specified object at [...]/DynaLoader.pm line 200.

at /home/cpan/pit/bare/conf/perl-5.12.2/.cpanplus/5.12.2/build/SDL-2.525_3/blib/lib/SDL.pm line 42

LDCONFIG(8) OpenBSD System Manager's Manual LDCONFIG(8)
[...]
SECURITY
Special care must be taken when loading shared libraries into the address
space of set-user-Id programs. Whenever such a program is run, ld.so(1)
will only load shared libraries from the ld.so.hints file. In
particular, the LD_LIBRARY_PATH is not used to search for libraries.
Thus, the role of ldconfig is dual. In addition to building a set of
hints for quick lookup, it also serves to specify the trusted collection
of directories from which shared objects can be safely loaded. It is
presumed that the set of directories specified to ldconfig are under
control of the system's administrator. ld.so(1) further assists set-
user-Id programs by erasing the LD_LIBRARY_PATH from the environment.

Reports:
http://www.cpantesters.org/cpan/report/6b064b9a-0882-11e0-bb29-ad544afd17af
http://www.cpantesters.org/cpan/report/cae34240-0808-11e0-bb29-ad544afd17af

Kartik Thakore
Owner

Author: froggs
Time: 1296389366
Field: status
Value: closed

Kartik Thakore
Owner

Author: froggs
Time: 1296389366
Field: resolution
Value: fixed

Kartik Thakore
Owner

Author: froggs
Time: 1296389366
Field: comment
Value: Fixed in Alien::SDL 1.421_3

Kartik Thakore kthakore closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.