troubleshooting Question

How can I override the version of the C library loaded by a compiled program without source with no root access?

Avatar of McVole
McVole asked on
Linux OS DevSystem Programming
4 Comments1 Solution356 ViewsLast Modified:
I have a compiled C program that implicitly attempts to load when run. When I attempt to run it on a host that I do not have root access to, it complains that it needs a newer version of libc than is present. The host has a symbolic link from /lib/ to /lib/* and I placed a copy of in my filespace, made a symbolic link to it and set LD_LIBRARY_PATH to the absolute path to the directory containing such, and ran the program again, receiving the same complaint. Is there any way to convince it to load the library in my filespace and not the system one that I cannot touch?

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros