[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: "dynamic libraries not enabled"?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Mon, 24 Jan 2011 08:56:31 -0200
> appliance:/var/tmp> ln -s socket.so.2.0.2 socket.so
> appliance:/var/tmp> ./lua
> > require "socket"
> error loading module 'socket' from file './socket.so':
> Unable to resolve symbol
This is *not* the way to use LuaSocket! You need to install it somewhere.
require "socket" should load socket.lua which in turn loads socket.core,
typically from socket/core.so.
The unresolved symbol in the message above is probably luaopen_socket,
which indeed does not exist in socket.so; it exports luaopen_socket_core.
- References:
- Re: "dynamic libraries not enabled"?, Gilles Ganault
- Re: "dynamic libraries not enabled"?, Luiz Henrique de Figueiredo
- Re: "dynamic libraries not enabled"?, Drake Wilson
- Re: "dynamic libraries not enabled"?, Gilles Ganault
- Re: "dynamic libraries not enabled"?, Luiz Henrique de Figueiredo
- Re: "dynamic libraries not enabled"?, Gilles Ganault
- Re: "dynamic libraries not enabled"?, Luiz Henrique de Figueiredo
- Re: "dynamic libraries not enabled"?, Gilles Ganault
- Re: "dynamic libraries not enabled"?, Luiz Henrique de Figueiredo
- Re: "dynamic libraries not enabled"?, Gilles Ganault