Comment 96 for bug 727064

Revision history for this message
In , mglantz (mglantz-redhat-bugs) wrote :

(In reply to comment #38)
> prompt$ gcc -O2 -c mymemcpy.c
> prompt$ ld -G mymemcpy.o -o mymemcpy.so
> prompt$ LD_PRELOAD mymemcpy.so /opt/google/chrome/google-chrome &

For anyone that is having issues following this, change
prompt$ LD_PRELOAD mymemcpy.so /opt/google/chrome/google-chrome &
to
prompt$ LD_PRELOAD=mymemcpy.so /opt/google/chrome/google-chrome &

A note:
I myself did have issues using this fix, I got 6 instances of this error message:
ERROR: ld.so: object 'mymemcpy.so' from LD_PRELOAD cannot be preloaded: ignored.