~gqmelo/pyopengl/load-library-linux

Viewing all changes in revision 1000.

  • Committer: guilherme
  • Author(s): Guilherme Quentel Melo
  • Date: 2016-05-05 18:24:37 UTC
  • Revision ID: guilherme-20160505182437-si15087683yhelmj
Fix library loading on Linux

The function util.find_library does not respect variables like
LD_LIBRARY_PATH.

Also files ending with .so are intended to be used at compilation time
and therefore are normally shipped by a dev package on most Linux
distributions.

At runtime, applications should use the filename with major version
(.so.x)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: