# [luatex] Building LuaTeX.

Paul Isambert zappathustra at free.fr
Wed Sep 29 16:55:25 CEST 2010

```  Le 29/09/2010 16:16, luigi scarso a écrit :
> On Wed, Sep 29, 2010 at 4:13 PM, Paul Isambert<zappathustra at free.fr>  wrote:
>>   Le 29/09/2010 12:42, luigi scarso a écrit :
>>> On Wed, Sep 29, 2010 at 12:36 PM, Paul Isambert<zappathustra at free.fr>
>>>   wrote:
>>>>   Le 29/09/2010 12:19, Taco Hoekwater a écrit :
>>>>> On 09/29/10 12:17, Taco Hoekwater wrote:
>>>>>> libgcc_s_dw2 is one of the gcc runtime support libraries (for the dwarf
>>>>>> debugging format, I assume) so it sounds like either the dll search
>>>>>> path
>>>>>> is messed up, or you are missing a package in this particular msys
>>>>>> install.
>>>>> Side note: one of the somewhat confusing things in mingw32 is that
>>>>> it does not actually need the dll files to do a successful linking
>>>>> of the final executable (it uses a special preprocessed file for
>>>>> that stage), but it *does* need all dlls at runtime.
>>>> The problem is the dll indeed (so this also answers Luigi's question).
>>>> The
>>>> missing package seems a promising idea, since when I was on the other
>>>> computer (where the build was successful), I made many side
>>>> installations,
>>>>   but I can't remember which...
>>>>
>>>> Best,
>>>> Paul
>>>>
>>> with
>>>
>>>
>>> libgcc_s_dw is in c:\MinGW\bin
>>> which in turn is on my path
>> I have it too (precisely, libgcc_s_dw2-1.dll). If I put it in LuaTeX's
>> folder, along with another one which is also missing, and can be found in
>> MinGW/bin too, namely libstdc++-6.dll, then LuaTeX works.
>>
>> It's has if there missed a link toward those dll, which LuaTeX should find
>> by itself (as I've repeated several times, I'm ignorant on such things, so I
>> might be saying pure nonsense).
> Do you have them in your PATH variable ?
Now I do and everything works fine. The problem came from space between
paths in the variable. Now I know there shouldn't be any!