<div dir="ltr"><div>It looks like the path for that account does not include 
 /usr/local/texlive/2019/bin/x86_64-linux (or at least that is not before /usr/local/bin)</div><div><br></div><div>David</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 15 Aug 2019 at 19:47, mario chiari <<a href="mailto:ml@mariochiari.net">ml@mariochiari.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi<br>
<br>
I try to run the following from terminal:<br>
<br>
>  sudo -u apache  /usr/local/texlive/2019/bin/x86_64-linux/pdflatex  myFile.tex<br>
<br>
I get the following error<br>
<br>
>>><br>
LaTeX Font Warning: Font shape `T2A/wncyr/m/n' undefined<br>
(Font)              using `T2A/cmr/m/n' instead on input line 3.<br>
<br>
<br>
kpathsea: Running mktextfm larm1000<br>
/usr/share/texlive/texmf-dist/web2c/mktexnam: Could not map source<br>
abbreviation  for larm1000.<br>
/usr/share/texlive/texmf-dist/web2c/mktexnam: Need to update ?<br>
mkdir: cannot create directory ‘././usr/share/httpd/.texlive2018’: Permission<br>
denied<br>
mktextfm: mktexdir /usr/share/httpd/.texlive2018/texmf-<br>
var/fonts/tfm/unknown/unknown failed.<br>
kpathsea: Appending font creation commands to missfont.log.<br>
! Font T2A/cmr/m/n/10=larm1000 at 10.0pt not loadable: Metric (TFM) file not fo<br>
und.<br>
<<<<br>
<br>
Is kpathsea trying to call /usr/share/texlive/.../ instead of<br>
/usr/local/texlive/2019/.../? Why?<br>
I do not understand why it tries to write into  ‘././usr/share/httpd/; also<br>
why .texlive2018  instead of .texlive2019? <br>
<br>
<br>
Everything works fine if I run it as root (I am on a Fedora 29 machine).<br>
Help is welcome<br>
<br>
thanks cheers<br>
mario <br>
<br>
<br>
ps this is an old issue of mine, with a new  glitch.  <br>
<br>
</blockquote></div>