I have been writing an updated ebuild for media-libs/fmod (because the one in Portage is way out of date), and I discovered something along the way. This ebuild installs the file /etc/env.d/65fmodex which contains the line
However, it appears that this environment variable is not being set because it does not appear in the output when I type "env" or "set" in a terminal. I even tried putting quotes around it like so:
But the environment variable is still not being set automatically as one would expect from files installed in /etc/env.d Does Funtoo (or even Gentoo) intentionally ignore such attempts in order to discourage setting LDPATH or LD_LIBRARY_PATH? Is there a flaw in the environment file? Should these ebuilds start placing the libraries in /usr/lib instead of in /opt if the system prevents setting LDPATH?
Last edited by PaddyMac (2013-01-01 21:38:06)