<div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Yes, I do use TL2016 as it comes from TUG. </pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Paulo Ney</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><br></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Do you use TeX Live from TUG or the Debian packages? As I understand, TeX
Live from TUG does not install packages distributed by your Linux distro
and it canot in principle have dependencies because the maintainers do not
know whther you need rpm or deb or whatever. On the contrary, the Debian
packages will probably have the correct dependencies. Fedora installs
freeglut as default and asy just works.


Zdeněk Wagner
<a href="http://ttsm.icpf.cas.cz/team/wagner.shtml">http://ttsm.icpf.cas.cz/team/wagner.shtml</a>
<a href="http://icebearsoft.euweb.cz/">http://icebearsoft.euweb.cz</a></pre></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 20, 2016 at 11:48 AM, Paulo Ney de Souza <span dir="ltr"><<a href="mailto:pauloney@gmail.com" target="_blank">pauloney@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Ken,</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Using "asy -V" did somewhat fix the problem ... it come back with a  lot of other errros messages, but it does produce output. I am using "asy" as it comes in TL 2016 from TUG.</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Paulo Ney</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><br></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">On Mon, Sep 19, 2016 at 03:39:58PM -0700, Paulo Ney de Souza wrote:<i>
</i>
Try adding -V when you invoke asy.  That fixed similar problems for
me (the 2905.13 rang a bell).

Is your distro built with gcc-6 ?

ĸen
-- 
`I shall take my mountains', said Lu-Tze. `The climate will be good
for them.'     -- Small Gods</pre></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 19, 2016 at 3:39 PM, Paulo Ney de Souza <span dir="ltr"><<a href="mailto:pauloney@gmail.com" target="_blank">pauloney@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">The installation is definitely broken. Even after installation of:<div><br></div><div>apt-get install freeglut3<br></div><div><div>apt-get install freeglut3-dev</div><div>tlmgr update --all</div><div><br></div><div> If you try to run it on the simple file (example from the tutorial):<br></div><span><div><div><br></div><div><div>settings.outformat = "pdf";</div><div>settings.prc = false;</div><div>size(5cm,0);</div><div>import three;</div><div>draw(unitsphere);</div></div><div><br></div><div>it will bom with:</div><div><br></div><div>/usr/local/texlive/2016/texmf-<wbr>dist/asymptote/three.asy: 2905.13: runtime:<br></div><div><br></div><div>and no output is produced.</div><div><br></div><div>Paulo Ney</div></div></span></div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 19, 2016 at 2:13 PM, Paulo Ney de Souza <span dir="ltr"><<a href="mailto:pauloney@gmail.com" target="_blank">pauloney@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">To track the source of the problem I did a plain vanilla install of TL 2016 on top of a vanilla install of Ubuntu 16.04 LTS. I installed nothing else and updated TL. Running Asymptote on gets:<div><br></div><div><div>$ which asy</div><div>/usr/local/texlive/2016/bin/x8<wbr>6_64-linux/asy</div><div><div>$ asy</div><div>asy: error while loading shared libraries: libglut.so.3: cannot open shared object file: No such file or directory</div></div><div><br></div><div>ldd shows that libglut is indeed missing, and can be fixed with:</div></div><div><br></div><div>sudo apt-get install freeglut3<br></div><div><br></div><div>Is that supposed to be the normal situation? Should this be remaked on post-install notes?</div><span><font color="#888888"><div><br></div><div>Paulo Ney</div></font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>