[tex-live] Build failure on Mac OS X 10.4.7: dvipng

Jonathan Kew jonathan_kew at sil.org
Fri Dec 8 11:28:35 CET 2006


On 8 Dec 2006, at 12:08 am, Karl Berry wrote:

>     This occurs because there is a hash_create in the system's libm,
>
> Pretty bad for something as fundamental as libm to export a symbol  
> like
> that, especially with no leading _.  Any chance of getting Apple to  
> fix it?

Apparently some versions of libc have exported this symbol, too; see  
http://lists.freebsd.org/pipermail/freebsd-bugs/2004-February/ 
005536.html, which concerned an equivalent problem but on FreeBSD. So  
it may not be Apple in particular, but (certain versions of) the GNU  
C libs.

I don't think it's a problem provided that the system libraries like  
libc and libm are listed late in the link command. The issue arose  
because the dvipng configure ends up putting -lm very early.

>     So I'd like to propose the following patch to texk/dvipng/
>     configure.ac (and the resulting update to texk/dvipng/configure,
>
> Sounds fine to me (anything along those lines).  The dvipng/ 
> configure.ac
> bears little resemblance to the original, so we may as well hack at
> will.

Checked in, after verifying that it builds on both OS X (PPC and  
Intel) and Linux (x86).

JK



More information about the tex-live mailing list