lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Jul 6, 2014 10:44 AM, "Enrico Tassi" <gares@fettunta.org> wrote:

> > to make a shared library target for Linux, this is how one might do
> > symbol versioning like glibc: http://www.trevorpounds.com/blog/?p=33
>
> This is another option, but what I proposed is simpler and needs no
> special support from the toolchain.

You can't version symbols in the main program. In order to do the normal thing (have two .so files with disjoint symbol@versions), plugins would need to explicitly link with liblua.so.

-Wl,-E is an ongoing source of pain; it limits your ability to use tools everybody else can. Why put yourself through it?