I am trying to run a program with LD_PRELOAD installled and used. I habe the *.so libary and its path. I want to replace some libarauies with the dthrads libaraies.when I ran the ... [by newport_j]
on 08/16/2012 – Made popular on 08/16/2012
I setup dwm-transparency.diff with xcompmgr no problem in dwm6.1; then this happens on nxagent[ackt1c@yrch ~]$ xcompmgr
ERROR: ld.so: object '/usr/lib/nx/lib/libX11.so.6.2' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/nx/lib/libXext.so.6.4' from LD_PRELOAD cannot be preloaded: ignored.
ERROR: ld.so: object '/usr/lib/nx/lib/libXcompext.so.3&#
I know that LD_PRELOAD can be used to intercept calls to functions in shared libraries (if the app is not statically linked). However, I do not know how it can be used to add additional features or background threads to applications.