I have a program that runs fine on FreeBSD but yesterday I transferred it over to a linux box and it failed. (Actually it's a web server on a shared host). What is happening is a run time linker utility is in /libexec but that path does not exist in Linux and, perhaps, not even that utility, don't know.
The utility is ld-elf.so.1. It tries to call in some run-time libraries, I guess. I tried to compile it with gcc -static but it still fails to run.
This little app only does a short series of 'printf's' and nothing else.
I tried all this right before going to bed so I haven't looked into it yet. Hoping someone here might have a ready solution. In the meantime, I'm going to fire up one of my boxes and reinstall Linux on it. Perhaps just copying the code to there and recompiling will solve the issue.
The utility is ld-elf.so.1. It tries to call in some run-time libraries, I guess. I tried to compile it with gcc -static but it still fails to run.
This little app only does a short series of 'printf's' and nothing else.
I tried all this right before going to bed so I haven't looked into it yet. Hoping someone here might have a ready solution. In the meantime, I'm going to fire up one of my boxes and reinstall Linux on it. Perhaps just copying the code to there and recompiling will solve the issue.
Comment