[OpenIndiana-discuss] Setting LD_PRELOAD

Christian Gall cg at cgall.de
Sat Nov 6 23:54:01 UTC 2010


> paulj at openindiana:~$ echo $LD_PRELOAD
> /usr/lib/libCrun.so.1
> paulj at openindiana:~$ ps
> ld.so.1: ps: fatal: /usr/lib/libCrun.so.1: wrong ELF class: ELFCLASS32
> Killed

Try setting LD_PRELOAD_32 or LD_PRELOAD_64, see ld.so.1(1) for more

Kind regards,


Well you know, C isn't that hard, for example, void (*(*f[])())()
defines f as an array of unspecified size, of pointers to functions that
return pointers to functions that return void... I think

More information about the OpenIndiana-discuss mailing list