[tex-live] Mac OS X compilation failure (revision 3204)

Gerben Wierda Gerben.Wierda at rna.nl
Mon Jan 8 08:45:41 CET 2007


On Mac OS X compilation fails after

gcc -g -O2 -o xdvipdfmx xdvipdfmx-agl.o xdvipdfmx-agl_standard.o  
xdvipdfmx-bmpimage.o xdvipdfmx-cff.o xdvipdfmx-cff_dict.o xdvipdfmx- 
cid.o xdvipdfmx-cidtype0.o xdvipdfmx-cidtype2.o xdvipdfmx-cmap.o  
xdvipdfmx-cmap_read.o xdvipdfmx-cmap_write.o xdvipdfmx-cs_type2.o  
xdvipdfmx-dpxconf.o xdvipdfmx-dpxcrypt.o xdvipdfmx-dpxfile.o  
xdvipdfmx-dpxutil.o xdvipdfmx-dvi.o xdvipdfmx-dvipdfmx.o xdvipdfmx- 
epdf.o xdvipdfmx-error.o xdvipdfmx-fontmap.o xdvipdfmx-jpegimage.o  
xdvipdfmx-mem.o xdvipdfmx-mfileio.o xdvipdfmx-mpost.o xdvipdfmx- 
numbers.o xdvipdfmx-otl_conf.o xdvipdfmx-otl_opt.o xdvipdfmx- 
pdfcolor.o xdvipdfmx-pdfdev.o xdvipdfmx-pdfdoc.o xdvipdfmx-pdfdraw.o  
xdvipdfmx-pdfencoding.o xdvipdfmx-pdfencrypt.o xdvipdfmx-pdffont.o  
xdvipdfmx-pdfnames.o xdvipdfmx-pdfobj.o xdvipdfmx-pdfparse.o  
xdvipdfmx-pdfresource.o xdvipdfmx-pdfximage.o xdvipdfmx-pkfont.o  
xdvipdfmx-pngimage.o xdvipdfmx-pst.o xdvipdfmx-pst_obj.o xdvipdfmx- 
sfnt.o xdvipdfmx-spc_color.o xdvipdfmx-spc_dvips.o xdvipdfmx- 
spc_html.o xdvipdfmx-spc_misc.o xdvipdfmx-spc_pdfm.o xdvipdfmx- 
spc_tpic.o xdvipdfmx-spc_util.o xdvipdfmx-spc_xtx.o xdvipdfmx- 
specials.o xdvipdfmx-subfont.o xdvipdfmx-tfm.o xdvipdfmx-tt_aux.o  
xdvipdfmx-tt_cmap.o xdvipdfmx-tt_glyf.o xdvipdfmx-tt_gsub.o xdvipdfmx- 
tt_post.o xdvipdfmx-tt_table.o xdvipdfmx-truetype.o xdvipdfmx-type0.o  
xdvipdfmx-t1_char.o xdvipdfmx-t1_load.o xdvipdfmx-type1.o xdvipdfmx- 
type1c.o xdvipdfmx-unicode.o xdvipdfmx-vf.o -framework  
ApplicationServices  -L/usr/local/Build/powerpc/TeXLive.2006/texk/ 
kpathsea/.libs /usr/local/lib/libpng12.dylib -lz ../../../libs/ 
freetype2/.libs/libfreetype.a /usr/local/Build/powerpc/TeXLive.2006/ 
texk/kpathsea/.libs/libkpathsea.a -lm
gcc: /usr/local/lib/libpng12.dylib: No such file or directory
make[6]: *** [xdvipdfmx] Error 1

The reason is configuration with --with-system-pnglib, where the  
installed png lib is available as .a but not as .dylib, while the  
makefile assumes a hardcoded location of the dylib in /usr/local/lib

-rw-r--r--   1 root  admin  1134676 Sep 28 17:29 /usr/local/lib/libpng.a
lrwxrwxrwx   1 root  admin       11 Sep 28 17:36 /usr/local/lib/ 
libpng.la -> libpng12.la
-rw-r--r--   1 root  admin  1134676 Sep 28 17:29 /usr/local/lib/ 
libpng12.a
-rwxr-xr-x   1 root  admin      818 Sep 28 17:29 /usr/local/lib/ 
libpng12.la

G


More information about the tex-live mailing list