Skip to content

Can successfully compile and install, but compiled module doesn't work #1

Open

Description

@MaddieM4

I can compile and install lycrypto.so, but when I try to require it, I get this:

> lcrypto = require 'lcrypto'
error loading module 'lcrypto' from file '/usr/local/lib/lua/5.1/lcrypto.so':
        /usr/local/lib/lua/5.1/lcrypto.so: undefined symbol: luaopen_lcrypto
stack traceback:
        [C]: ?
        [C]: in function 'require'
        stdin:1: in main chunk
        [C]: ?

Any idea what might be causing this? I'm on Debian Wheezy.

Activity

  1. evcordeiro commented on Oct 25, 2013

    @evcordeiro

    the module and library name should be "crypto" without the "l"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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