Ticket #255 (closed defect: fixed)

Opened 12 months ago

Last modified 11 months ago

Recursor and LUA: Error loading module md5.core

Reported by: anon Owned by: somebody
Priority: normal Milestone:
Component: component1 Version:
Severity: normal Keywords: recursor lua md5
Cc:

Description

I am trying to use the cryptographic library  http://www.keplerproject.org/md5 in my Recursor LUA script.

The example script:

#!/usr/local/bin/lua
require "md5.core"

This example works well if I start it stand-alone (LUA interpreter). If I try to load it with the Recursor I get this error:

Failed to load 'lua' script from '/root/example.lua': Error loading LUA file '/root/example.lua': error loading module 'md5.core' from file '/usr/local/lib/lua/5.1/md5/core.so':
        /usr/local/lib/lua/5.1/md5/core.so: undefined symbol: luaL_addlstring

I am using PDNS Recursor version 3.1.7.1:

pdns-recursor-3.1.7.1-1.x86_64.rpm

Attachments

luamd5patch Download (468 bytes) - added by anon 12 months ago.

Change History

Changed 12 months ago by anon

  • keywords recursor lua md5 added

Changed 12 months ago by anon

Changed 11 months ago by anon

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.