Your solution seems working partially, but with fails in many conditions.
I tried -marm for Raspberry Pi 4 and still same issue
gcc -Wall -marm -fPIC -shared -o libprocesshider.so processhider.c -ldl
My ld.so.preload file lines: (First line is the default for all Rasp Pi)
/usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so
/usr/$LIB/libprocesshider.so
I placed the libprocesshider.so at /usr/lib/ and /usr/local/lib/ also, still same issue
First of all after these steps, my Pycharm does run at all and showing below error
' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/$LIB/libprocesshider.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored.
Process finished with exit code 129
Your solution seems working partially, but with fails in many conditions.
I tried -marm for Raspberry Pi 4 and still same issue gcc -Wall -marm -fPIC -shared -o libprocesshider.so processhider.c -ldl
My ld.so.preload file lines: (First line is the default for all Rasp Pi) /usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so /usr/$LIB/libprocesshider.so
I placed the libprocesshider.so at /usr/lib/ and /usr/local/lib/ also, still same issue
First of all after these steps, my Pycharm does run at all and showing below error ' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored. ERROR: ld.so: object '/usr/$LIB/libprocesshider.so' from /etc/ld.so.preload cannot be preloaded (cannot open shared object file): ignored. Process finished with exit code 129
Please help me !