Jump to: navigation, search

Difference between revisions of "LDT/Developer Area/Compilation linux"

< LDT
(Created page with "{| cellspacing="0" border="1" style="font-size: 70%;" | | |Linux 32 Lua 51 |Linux 64 Lua 51 |Linux 32 Lua 52 |Linux 64 Lua 52 |---- |binaries size (bytes)<br>jnlua |61,176 |68...")
 
Line 1: Line 1:
 +
 +
== how to build ==
 +
See how to build [https://code.google.com/p/jnlua/wiki/BuildingTheNativeLibrary Jnlua] <br>
 +
Lua binaries can be found on [http://luabinaries.sourceforge.net/ Lua binaries] or in your linux package repository.
 +
 +
To check your binary : <br>
 +
- compare it to the current version (table below), size and dependencies should be almost the same. <br>
 +
- check the SONAME is correct. (same one in lua and jnlua binaries) <br>
 +
 +
==Current binaries status==
 
{| cellspacing="0" border="1" style="font-size: 70%;" |
 
{| cellspacing="0" border="1" style="font-size: 70%;" |
 
|
 
|

Revision as of 09:19, 6 November 2013

how to build

See how to build Jnlua
Lua binaries can be found on Lua binaries or in your linux package repository.

To check your binary :
- compare it to the current version (table below), size and dependencies should be almost the same.
- check the SONAME is correct. (same one in lua and jnlua binaries)

Current binaries status

Linux 32 Lua 51 Linux 64 Lua 51 Linux 32 Lua 52 Linux 64 Lua 52
binaries size (bytes)
jnlua
61,176 68,286 69,194 282,936
binaries size (bytes)
lua
153,668 179,76 202,952 7,859
ldd jnlua linux-gate.so.1 => (0xb77c5000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb75f1000)
liblua5.1.so.0 => /usr/lib/i386-linux-gnu/liblua5.1.so.0 (0xb75c4000)
/lib/ld-linux.so.2 (0xb77c6000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb7597000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb7592000)
linux-vdso.so.1 => (0x00007fffdebca000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ff8a5022000)
liblua5.1.so.0 => /usr/lib/x86_64-linux-gnu/liblua5.1.so.0 (0x00007ff8a4df5000)
/lib64/ld-linux-x86-64.so.2 (0x00007ff8a561c000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007ff8a4af0000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007ff8a48ec000)
linux-gate.so.1 => (0xb77ba000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb75e5000)
/lib/ld-linux.so.2 (0xb77bb000)
liblua5.2.so.0 => /usr/lib/i386-linux-gnu/liblua5.2.so.0 (0xb75b3000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb7586000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb7581000)
linux-vdso.so.1 => (0x00007fff1f33e000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f4a94f3d000)
/lib64/ld-linux-x86-64.so.2 (0x00007f4a95564000)
ldd lua linux-gate.so.1 => (0xb77a8000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb7739000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb7734000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb7589000)
/lib/ld-linux.so.2 (0xb77a9000)
linux-vdso.so.1 => (0x00007fff8734a000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f3f4ea15000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f3f4e811000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3f4e448000)
/lib64/ld-linux-x86-64.so.2 (0x00007f3f4ef69000)
linux-gate.so.1 => (0xb7768000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb76ef000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xb76ea000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb753f000)
/lib/ld-linux.so.2 (0xb7769000)
linux-vdso.so.1 => (0x00007fff3ad8b000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007faf07651000)
/lib64/ld-linux-x86-64.so.2 (0x00007faf07c3f000)
readelf -d jnlua 0x00000001 (NEEDED) Librairie partagées: [libc.so.6]
0x00000001 (NEEDED) Librairie partagées: [liblua5.1.so.0]
0x0000000e (SONAME) Librairie soname: [libjnlua5.1.so]
0x0000000000000001 (NEEDED) Librairie partagées: [libc.so.6]
0x0000000000000001 (NEEDED) Librairie partagées: [liblua5.1.so.0]
0x000000000000000e (SONAME) Librairie soname: [libjnlua5.1.so]
0x00000001 (NEEDED) Librairie partagées: [libc.so.6]
0x00000001 (NEEDED) Librairie partagées: [ld-linux.so.2]
0x00000001 (NEEDED) Librairie partagées: [liblua5.2.so.0]
0x0000000e (SONAME) Librairie soname: [libjnlua52.so]
0x0000000000000001 (NEEDED) Librairie partagées: [libc.so.6]
0x0000000000000001 (NEEDED) Librairie partagées: [ld-linux-x86-64.so.2]
0x000000000000000e (SONAME) Librairie soname: [libjnlua52.so]
readelf -d lua 0x00000001 (NEEDED) Librairie partagées: [libm.so.6]
0x00000001 (NEEDED) Librairie partagées: [libdl.so.2]
0x00000001 (NEEDED) Librairie partagées: [libc.so.6]
0x0000000e (SONAME) Librairie soname: [liblua5.1.so.0]
0x0000000000000001 (NEEDED) Librairie partagées: [libm.so.6]
0x0000000000000001 (NEEDED) Librairie partagées: [libdl.so.2]
0x0000000000000001 (NEEDED) Librairie partagées: [libc.so.6]
0x000000000000000e (SONAME) Librairie soname: [liblua5.1.so.0]
0x00000001 (NEEDED) Librairie partagées: [libm.so.6]
0x00000001 (NEEDED) Librairie partagées: [libdl.so.2]
0x00000001 (NEEDED) Librairie partagées: [libc.so.6]
0x0000000e (SONAME) Librairie soname: [liblua5.2.so.0]
0x0000000000000001 (NEEDED) Librairie partagées: [libc.so.6]
0x000000000000000e (SONAME) Librairie soname: [liblua52.so]