when I run: pandoc test.md -o test.pdf 
I get this error:

lstat(./pdflatex) failed ...
./pdflatex: No such file or directory
pdflatex: ../../../texk/kpathsea/progname.c:316: remove_dots: Assertion `ret' failed.

pandoc: Error producing PDF

When I run with sudo, it works properly. I do not want to run it as root all the time. 

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/7ab542fd-daf3-42c3-a3a6-1d3b151d38be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.