![](https://secure.gravatar.com/avatar/6da842886b0c5f58972fd5fd3b8e19b7.jpg?s=120&d=mm&r=g)
On 12/20/2010 02:41 PM, Taco Hoekwater wrote:
On 12/20/2010 01:18 PM, Jani Monoses wrote:
Hello,
luatex fails to build on Ubuntu Natty
Note that the current luatex is 0.65.0 (but it is unlikely that that makes any difference).
Why is a static link needed btw? Does --disable-runtime-cxx-hack have some drawbacks?
Luatex is normally built as part of texlive, and the texlive distribution contains precompiled binaries for various platforms. libc++ and the gcc libraries are linked statically to make the generated binaries more portable, so no, for a local binary you can disable the hack.
ok, thanks. According to a gcc involved commenter on the bugreport I linked to, the CXXLD.sh generation itself is incorrect, as he could fix the build by omitting some of the flags. So that still may be a luatex specific issue. Jani
However, I cannot guarantee that that fixes the problem. If a symbol cannot be found using static linking, I do not have a lot of faith in the runtime system being able to find it. You may have to define -fno-exceptions in the CPPFLAGS instead.
Best wishes, Taco