<div dir="ltr"><div>Can you check that this patch solves the problem? Thanks!</div><div><br></div>diff --git a/<a href="http://configure.ac">configure.ac</a> b/<a href="http://configure.ac">configure.ac</a><br>index 1d99b113..81a3e1a4 100644<br>--- a/<a href="http://configure.ac">configure.ac</a><br>+++ b/<a href="http://configure.ac">configure.ac</a><br>@@ -411,6 +411,7 @@ case "$OSTYPE" in<br> AC_CHECK_LIB([gccpp],[GC_throw_bad_alloc])<br> AC_CHECK_LIB([glut], [glutMainLoop],,<br> AC_MSG_NOTICE([*** Could not find libglut: will compile without OpenGL support ***]))<br>+ AC_CHECK_LIB([GLX],[glXGetProcAddressARB])<br> AC_CHECK_LIB([GL], [glDepthMask],<br> [AC_DEFINE(HAVE_LIBGL,1,<br> DEFINE_LIB([GL]))<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Oct 8, 2019 at 7:31 AM Nelson H. F. Beebe <<a href="mailto:beebe@math.utah.edu">beebe@math.utah.edu</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">On Sun, 6 Oct 2019 14:04:44 -0600, Karl Berry announced new asymptote<br>
code in the TeX Live source repository, so yesterday, I pulled down<br>
snapshot texlive-20191007 and attempted a build with my usual script<br>
on Ubuntu 18.04 x86-64. That worked flawlessly.<br>
<br>
However, when I ran the build of asymptote, I got link-time failure in<br>
creating the asy executable:<br>
<br>
glew.o: In function `_glewInit_GL_VERSION_1_2':<br>
glew.c:(.text+0x474): undefined reference to `glXGetProcAddressARB'<br>
glew.c:(.text+0x48a): undefined reference to `glXGetProcAddressARB'<br>
glew.c:(.text+0x4ab): undefined reference to `glXGetProcAddressARB'<br>
glew.c:(.text+0x4c6): undefined reference to `glXGetProcAddressARB'<br>
glew.o: In function `_glewInit_GL_VERSION_1_3':<br>
glew.c:(.text+0x4ee): undefined reference to `glXGetProcAddressARB'<br>
glew.o:glew.c:(.text+0x504): more undefined references to `glXGetProcAddressARB' follow<br>
glew.o: In function `glxewGetExtension':<br>
glew.c:(.text+0xef1d): undefined reference to `glXGetClientString'<br>
glew.o: In function `glxewInit':<br>
glew.c:(.text+0xef75): undefined reference to `glXGetProcAddressARB'<br>
... many more ...<br>
<br>
Here are the library references:<br>
<br>
% nm -D /usr/lib/x86_64-linux-gnu/libGLEW.so.1.13.0 |grep glXGetProcAddressARB<br>
U glXGetProcAddressARB<br>
<br>
% nm -D /usr/lib/x86_64-linux-gnu/libGLX.so.0.0.0 | grep glXGetProcAddressARB<br>
00000000000066e0 T glXGetProcAddressARB<br>
<br>
However, -lGLX is missing from the link command.<br>
<br>
I restarted the asymptote build with<br>
<br>
cd texlive-20191007/source/utils/asymptote/<br>
make 'LIBS = $(LFLAGS) -lrt -lsigsegv -lz -lreadline -ltinfo -lncurses -lGL glew.o -lGLX $(GCLIBS)'<br>
<br>
and that produced a successful link:<br>
<br>
% ./asy --version<br>
Asymptote version 2.56 [(C) 2004 Andy Hammerlindl, John C. Bowman, Tom Prince]<br>
<br>
-------------------------------------------------------------------------------<br>
- Nelson H. F. Beebe Tel: +1 801 581 5254 -<br>
- University of Utah FAX: +1 801 581 4148 -<br>
- Department of Mathematics, 110 LCB Internet e-mail: <a href="mailto:beebe@math.utah.edu" target="_blank">beebe@math.utah.edu</a> -<br>
- 155 S 1400 E RM 233 <a href="mailto:beebe@acm.org" target="_blank">beebe@acm.org</a> <a href="mailto:beebe@computer.org" target="_blank">beebe@computer.org</a> -<br>
- Salt Lake City, UT 84112-0090, USA URL: <a href="http://www.math.utah.edu/~beebe/" rel="noreferrer" target="_blank">http://www.math.utah.edu/~beebe/</a> -<br>
-------------------------------------------------------------------------------<br>
</blockquote></div>