After installing TeXLive 2011 (and in particular app-text/texlive-core-2011), the texdoc program from app-text/texlive-core no longer worked. (Maybe other programs would not have worked either; I didn't test that.) Updating dev-tex/luatex from 0.63.0 (the stable version I had installed, and with which the TeXLive 2011 ebuilds were fine) to 0.70.1 it worked. Reproducible: Always Steps to Reproduce: $ eix dev-tex/luatex [I] dev-tex/luatex Available versions: 0.63.0 ~0.65.0 ~0.70.1 {doc} Installed versions: 0.63.0(04:30:02 PM 07/27/2011)(doc) Homepage: http://www.luatex.org/ Description: An extended version of pdfTeX using Lua as an embedded scripting language. $ texdoc biblatex /usr/bin/texdoc:7: module 'texdoc.main' not found: no field package.preload['texdoc.main'] [kpse lua searcher] file not found: 'texdoc.main' [kpse C searcher] file not found: 'texdoc.main' [kpse All-in-one searcher] file not found: 'texdoc' Actual Results: texdoc doesn't work (see above) Expected Results: texdoc finds the required modules and then works as expected, i.e. opens the requested documentation Updating to dev-tex/luatex-0.70.1 solved the problem. In case it's relevant, my dev-lang/lua version is 5.1.4-r1
fixed, thanks