I've set up a new server over the last few days. Of course, Gentoo was the only choice. Everything went smoothly apart from an upstream bug in pppd 2.4.3 which I tried to resolve by downgrading to 2.4.2.
Then it all went wrong. Compiling failed with the message
Code: Select all
warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linkingCode: Select all
undefined reference to `__dlsym'
undefined reference to `__dlclose'
undefined reference to `__dlopen'
undefined reference to `__dlerror'
I took out all unsafe optimizations and reduced my CFLAGS to "-march=pentium3 -O3 -pipe". Didn't help. Slowly becoming desperate, I tried emerge -e system. The compilation failed when OpenSSL was due - the same errors pppd showed.
Next, I switched to gcc 3.3.6. Same problem.
Finally, I took out "~x86", emerged the stable glibc and did another emerge -e system. OpenSSL failed again. Same problem.
Every single package that gets some parts statically linked fails miserably like this. It's always about those symbols being undefined and mostly the above "runtime" message accompanies them. An unholy alliance!
Now, my patient audience, I turn to you and ask for help - what, short of re-installing the whole damn thing, can I do?


