[tlbuild] Stripping the luatex binary

Philipp Stephani st_philipp at yahoo.de
Sat Apr 30 19:40:17 CEST 2011


Am 28.04.2011 um 23:13 schrieb Karl Berry:

>    I'm on OS X 10.6. Running ./Build ends with:
>    Undefined symbols:
>      "_u_getDataDirectory_46", referenced from:
>          _main in makeconv.o
> 
> Hmm.  u_getDataDirectory is defined in icu-4.6/common/putil.c.  So the
> question is apparently where this _46 suffix is being added and how to
> stop it (or add it to definition).  That's not something I want to delve
> into, even if I had access to such a system (which I don't), sorry.

The 46 suffix indicates the version number of the ICU library, and that is fine. The problem was that I had a dynamic version of the ICU libraries in /usr/local which are always preferred by the linker even if the directory of the static libraries is listed on the command line. (This means that linking against static libraries without giving the full file name is not portable.)

> 
>    make[5]: *** No rule to make target `mplibdir/lmplib.c', needed by
>    `libluatex_a-lmplib.o'.  Stop.  make[4]: *** [all-recursive] Error 1
> 
> Well, that file does exist, in source/texk/web2c/mplibdir/lmplib.c.
> If this wasn't a completely fresh Build, definitely try that first.
> 
> Otherwise, all I can think of is to run it again, let it fail, and then
> rerun make -rd in the directory where it failed, which will output
> voluminous debugging information about what is going on.

I'll have to wait until the ptexlib.h issue (which is now the first error) is sorted. Thanks for your support so far.


More information about the tlbuild mailing list