pygobject / pgi-docgen

API Documentation Generator for PyGObject
https://lazka.github.io/pgi-docs/
GNU Lesser General Public License v2.1
127 stars 36 forks source link

LD_LIBRARY_PATH having more than one colon separated component raises LookupError line 305 debug.py #202

Open bootchk opened 3 years ago

bootchk commented 3 years ago

So LD_LIBRARY_PATH, if set, should only be one path, because the code assumes that.

This surprised me because more generally (for the linking loader) LD_LIBRARY_PATH can be a colon separated list of paths. Why I set LD_LIBRARY_PATH in the first place? No good reason, just that some other build in my container required it, since Ubuntu installs user built libraries to non-standard place?

I suppose you could change the document to say "only set LD_LIBRARY_PATH, to one path, if the library for which you are generating documents is not in a standard installed place."