[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: please drop whatever you're doing and add -fPIC to all your rockspecs.
- From: steve donovan <steve.j.donovan@...>
- Date: Tue, 2 Mar 2010 08:25:03 +0200
On Tue, Mar 2, 2010 at 3:50 AM, Pan Shi Zhu <email@example.com> wrote:
> ... For Unix, we recommend that the Lua library be linked statically
> into the host program...
>From my experience it was better to link against the .so, because the
static link only satisfied the Lua calls I had explicitly made. Tried
to run some scripts and load some extensions, and couldn't find some
symbols. So there must be a caveat attached to this recommendation
(unless there is some link subtlety I missed)