I'll attempt to provide more detail. Any help on the matter would be greatly appreciated.
System specifications
OS: Ubuntu 14.04 x86_64
NWNX: Compiled from sources (github.com/NWNX/nwnx2-linux)
NWNX plugins: nwnx_funcsext.so nwnx_reset.so
nwnx2.so nwnx_funcs.so nwnx_resman.so
nwnx_areas.so nwnx_functions.so nwnx_serverlist.so
nwnx_chat.so nwnx_hashset.so nwnx_spells.so
nwnx_connect.so nwnx_leto.so nwnx_structs.so
nwnx_defenses.so nwnx_mnx.so nwnx_system.so
nwnx_dmactions.so nwnx_names.so nwnx_tmi.so
nwnx_events.so nwnx_odbc.so nwnx_tweaks.so
nwnx_extend.so nwnx_optimizations.so nwnx_visibility.so
nwnx_fixes.so nwnx_profiler.so nwnx_weapons.so
Module haks: PRC3.5, CEP2.4a, Worms tileset
PRC switches: Default
Library dependencies:
$ ldd nwnx_leto.so
linux-gate.so.1 => (0xf7704000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf76db000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf75f2000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7443000)
/lib/ld-linux.so.2 (0xf7705000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf73fd000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf73e0000)
$ ldd LetoScript.so
linux-gate.so.1 => (0xf777e000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf76d5000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf76d0000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7521000)
/lib/ld-linux.so.2 (0xf777f000)
Problem description
Basically what savage said, but I'll elaborate slightly. At first, running server startup script without nwnx_leto.so in serverdir starts the server perfectly and everything runs fine. No errors reported in the logs. However, upon login the following error shows up in nwserverLog.txt:
Error: Letoscript is not setup correctly or it cannot find your bic file. Check nwnx_leto.log for error messages.
The attempted client connection is consequently booted. Thus, even though nwnx_leto may be deprecated by nwnx_funcs, I can only conclude the leto plugin is required by PRC as it's the plugin used in the scripts. Next, when we add leto plugin by placing nwnx_leto.so and LetoScript.so in serverdir, we get the behavior that savage described.
Startup script also contains the line
export LD_PRELOAD="./nwnx2.so ./LetoScript.so"
stdout:
NWNX2lib: Init
NWNX2lib: org SetString() at 81f41b4, new SetString() at f7723d96
NWNX2lib: org GetObj() at 81f40bc, new GetObj() at f7723dbd
* Parsing configuration...
NWN Extender v2.8-dev
© 2004 by the APS/NWNX Linux Conversion Group
© 2007-2010 by virusman and Acaos
Based on the Win32 version © 2003 by Ingmar Stieger (Papillon)
and Jeroen Broekhuizen
Based on the Win32 version © 2003 by Ingmar Stieger (Papillon)
and Jeroen Broekhuizen
* Searching for signatures...
* Loading modules...
EVENTS plugin registered.
PROFILER plugin registered.
CHAT plugin registered.
FIXES plugin registered.
AREAS plugin registered.
TMI plugin registered.
SPELLS plugin registered.
TWEAKS plugin registered.
WEAPONS plugin registered.
MNX plugin registered.
OPTIMIZATIONS plugin registered.
RESMAN plugin registered.
FUNCTIONS plugin registered.
SYSTEM plugin registered.
CONNECT plugin registered.
ODBC plugin registered.
HASHSET plugin registered.
SERVERLIST plugin registered.
FUNCS plugin registered.
DEFENSES plugin registered.
NAMES plugin registered.
FUNCSEXT plugin registered.
STRUCTS plugin registered.
LETO plugin registered.
RESET plugin registered.
DMACTIONS plugin registered.
EXTEND plugin registered.
VISIBILITY plugin registered.
* NWNX2 activated.
Neverwinter Nights Server
Build:8109
Copyright BioWare Corp 1998-2004
Server: Loading...
Server: Running...
Server: Loading module "test_server"...Killed
After those three dots I end up sending kill -9 pid since it'll just stay there at 100% forever. Since the module never finishes loading, there is no plugin log output other than
NWNX-Leto Linux module (build 03)
© 2004 by David Frauzel (dragonsong), dragon@weathersong.net
* Loading LetoScript.so...
* LetoScript plugin activated.
Any ideas?