I just built a new computer with RH9 and am having some problems getting my old code (that works under RH7.3) to link in properly with the host app (I'm dealing with plugins) under RH9.
Trying not to be too wordy, here's the problem. The host app isn't really designed to run on RH9, so it's quite possible that what I'm trying to do is impossible. That said, in order to get the host app running, I've set LD_ASSUME_KERNEL=2.4.1
My build method under 7.3 links against /usr/lib/libdb1.so.2 (using the sym link /usr/lib/libdb1.so). It also would add /user/include/db1 to the include path.
Under RH9, I've added the sym link /usr/lib/libdb1.so to the regular file /usr/lib/libdb1.so.2 that exists under RH9 (that happens to be quite a bit larger than the db1 on RH 7.3), and changed my inlude path to add /usr/include/db4 because db1 does not exist.
When I build, I've tried linking against db1 or db (db is a sym link - libdb.so -> ../../lib/libdb-4.0.so)... both of which compile, neither of which link into the host app properly. If I nm the compiled dso under RH7.3 and RH9, I get very different symbol lists, however, most of the difference is that a large number of the RH9 symbols have _ZN or _ZT prepended to them.
What is the _ZN or _ZT?
Are the libdb's wildly different between RH9 and RH7.3?
Am I trying to accomplish the impossible?
Something to note: If I copy the dso from the RH7.3 box to the RH9 box, it works fine under RH9. The problem only comes up when I try to compile and use the dso under RH9.
Any help is much appreciated.