C++ Shared Libraries Failing
Hi all,
I have recently upgraded my system from a 2.6.16 kernel to a 2.6.20 one. I am running from a USB flash drive that has been created using the Linux live scripts and I have it patched for realtime using RTAI. My C++ code consists of an exe which then loads using dlopen and dlsym a number of shared libraries. On my 2.6.16 setup all was fine with a kernel configuration file taken from the Slax 5 (RTAI patched) Linux distro. Now I have upgraded to 2.6.20 when I try to load some of the shared libraries my code hangs and I get a kernel oops (which is repeatable). I have tried reverting back to a non-Linux live distro and I get the same error. I have also tried to run with a 2.6.16 kernel (although not using the Slax 5 kernel config) and I get the same error so it looks like it isn't the RTAI patch. I have also tried compiling my 2.6.20 kernel with the Slax 5 kernel config, but this leads to other problems with my system (no mouse support, no USB support etc...). I'm guessing there must be a kernel config option that can interfere with the dynamically loading and running of shared libraries, but I don't know what it is! Has anyone else seen a similar problem or have any ideas as to what could solve this problem - it's been driving me crazy for weeks!
Thanks,
Steve
|