Hi there,

I am working on releasing a library as a rock with 'builtin' format (see
rockspec file below). The rock builds and installs fine but when I try to
load it with luajit I get 'Symbol not found'

gaspard@ihm:~/git/lubyk/modules/dub$ lua
Lua 5.1  Copyright (C) 1994-2006 Lua.org, PUC-Rio
> core = require 'xml.core'
> ^D
gaspard@ihm:~/git/lubyk/modules/dub$ luajit
LuaJIT 2.0.1 -- Copyright (C) 2005-2013 Mike Pall. http://luajit.org/
JIT: ON CMOV SSE2 SSE3 SSE4.1 fold cse dce fwd dse narrow loop abc sink fuse
> core = require 'xml.core'
error loading module 'xml.core' from file
'/usr/local/lib/lua/5.1/xml/core.so':
dlopen(/usr/local/lib/lua/5.1/xml/core.so, 6): Symbol not found:
__ZNKSs5c_strEv
  Referenced from: /usr/local/lib/lua/5.1/xml/core.so
  Expected in: dynamic lookup


Any idea on what I missed ?

Cheers,

                                                               Gaspard
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to