Fabian Groffen wrote:
On 29-03-2010 21:22:12 +0200, Dag Sverre Seljebotn wrote:
First hint: Do _not_ use LD_LIBRARY_PATH (on a regular basis) for various
reasons.
I keep seeing this statement repeated on the web, but somehow always
feel the reasons given don't apply in my usecase (I might of course be
wrong..). And using LD_LIBRARY_PATH is incredibly convenient for a
number of reasons: It allows moving directories around, moving programs
to our cluster for execution without recompiling, ship a binary tarball
to others with the same system.
I realize people have strong opinions about this. Please, I don't want
to start any flamewars. (In particular I don't feel strongly for arguing
about one vs. the other, just saying that I'm currently a happy
LD_LIBRARY_PATH user.)
Gentoo Prefix doesn't work with LD_LIBRARY_PATH, so if your environment
is designed to use it, then we simply cannot offer a solution to you.
It's not a total dealbreaker, but it does mean quite a few extra builds,
i.e. wasted time before getting results (as the home dir on the cluster
I use don't match the home dir on my development machine).
I'm not looking for a ready solution BTW, just a good starting point. Of
course, it might just be too much work.
Dag Sverre