-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: ld.so: object '/usr/local/lib' from LD_PRELOAD cannot be preloaded: ignored. #4
Comments
Hi Are you still having issues? If yes, and you post the exact steps for me to reproduce (with a Docker container ideally) I might be able to take a look. And sorry for the delay. |
Perhaps I could add more information related to this issue. I am using For example, I have the following binary: When I execute it, the binary works as intended but it also gives this 'warning' at the beginning: By the way, this is not binary specific but it is true for all 32-bit programs. You can reproduce this by creating a simple C program which you can compile using While this is not a critical issue as everything still works as expected, I would like to know if there is a workaround for this issue. |
Admittedly I never tried using a 32 bit binary, this project was more of a proof of concept I needed to publish a blog post a long time ago. I suppose in your case the 32 bit binary is using the 32 bit libc version, and the preload doesn't work. Have you tried compiling the library itself ( After you make it work, you need to install both versions of the library (32 bit and 64 bit) in your system, so that the dynamic loader can find and load the proper one at runtime (see https://stackoverflow.com/questions/36849507/using-ld-preload-mixed-64bit-32bit-environment-in-linux). |
Finally fixed the problem using the So the solution would be to compile In summary:
|
Hi
Newbie here.
After following the steps within the guide on a Centos 64-bit system I am getting the error in the heading. May I kindly ask to be pointed in the right direction to resolve the error message?
The text was updated successfully, but these errors were encountered: