Skip to content

APR precompiled binaries for windows fail to load. #15

@greatwolf

Description

@greatwolf
> require 'apr'
error loading module 'apr.core' from file 'G:\LuaJIT-2.0.2\share\apr\core.dll':
   %1 is not a valid Win32 application.

stack traceback:
    [C]: at 0x66dcaac0
    [C]: in function 'require'
    G:\LuaJIT-2.0.2\lua\apr.lua:16: in main chunk
    [C]: in function 'require'
    stdin:1: in main chunk
    [C]: at 0x00402050

I've also tested this not just under LuaJIT-2.0.2 but also Lua-5.1.5 and the interpreter included with wxLua (uses Lua 5.1.4). They all fail with basically the same message.

Is there a solution to this? Do I have to build apr from source? If so, how can I use mingw to build it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions