Base Directory Specification and plugins

Yury G. Kudryashov urkud.urkud at
Wed Aug 31 13:28:37 PDT 2011

I'm replying to an old thread. The original thread can be found here:

Simon McVittie wrote:
> The most general and widely used naming scheme for ABIs in Free
> Software seems to be the "GNU triplets" used by autoconf and gcc, which
> look like CPU-OS or CPU-KERNEL-OS (e.g. x86_64-linux-gnu for Linux with
> GNU libc on x86-64, arm-linux-uclibc for Linux with uclibc on ARM,
> i486-freebsd for FreeBSD (both kernel and libc) on x86, or whatever).

What do you think about $XDG_LIBRARY_DIRS${LIB_SUFFIX}, 
$XDG_LIBRARY_HOME${LIB_SUFFIX}, where LIB_SUFFIX is fixed during library 
compilation and should be available through 
MyLib.pc/MyLibConfig.cmake/whatever? This looks easier to implement.

P.S.: I have many plugins outside of /usr:/usr/local, and I my main goal in 
this discussion is ability to set XDG_LIBRARY_DIRS instead of many 
*_PLUGIN_PATH (gst, qt, ...).

Yury G. Kudryashov,
mailto: urkud at

More information about the xdg mailing list