Mike Stroyan <m...@lunarg.com> writes:
>   The changes to load EGL drivers by pattern matching had the side
> effect of not looking in the directories specified by LD_LIBRARY_PATH
> or -rpath or ldconfig .

This is silly.  If you give dlopen a library name:

  dlopen("libWhatever.so", flags);

then *it* will automatically search LD_LIBRARY_PATH.  By giving an
absolute path, one circumvents this behavior.

Even better, the relative-pathness obeys platform specifics, like
searching DYLD_LIBRARY_PATH (and fallbacks) on OS X.

A better fix is thus to not give an absolute path for EGL.

-tom

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to