sci-mathematics/octave installs /etc/env.d/99octave with wrong LDPATH. All ebuilds contain: echo "LDPATH=${EROOT%/}/usr/$(get_libdir)/${P}" > 99octave doenvd 99octave However the actually existing directory is e.g. /usr/lib64/octave/3.6.4 for ~sci-mathematics/octave-3.6.4 or /usr/lib64/octave/3.8.1-rc3 for ~sci-mathematics/octave-3.8.1_rc3.
Created attachment 371160 [details, diff] octave.patch
On my machine: # cat /etc/env.d/99octave LDPATH=/usr/lib64/octave-3.8.1_rc3 # Please provide the result of the following on the machine where you see the problem: cat /etc/env.d/99octave
This /usr/lib64/octave-3.8.1_rc3 directory does not exist though, just like you said.
Thanks, committed your patch: Thanks to Arfrever Frehtes Taifersar Arahesis for fixing, reporting and testing: fix bug 502316 - sci-mathematics/octave installs /etc/env.d/99octave with wrong LDPATH