So. I find myself in a somewhat bad spot. It would seem that on my nice new 64bit OS and 64bit CPUs, gcc/g++ is defaulting to linking from 32bit libraries.(!)
This is causing some problems which I can't find any information on how to solve. So I'm hoping someone here knows how to fix this so that others who may eventually upgrade the way I have will be able to as well.
The compiler initially complained to me that the SQL library was incompatible with the 64 bit system. So I had to explicitly tell my Makefile to use the /usr/lib64 directory to get it. That solved the problem. But other users were finding other problems. Like Mindcloud appeared to be grabbing the 32bit pthread library which caused untold problems. The user since switched to explicitly calling on the lib64 pthreads and problems have been confined to oddball math errors showing up on the root console of all places.
So what I need to know is how do I force gcc to link only from the 64 bit libraries so that anyone who compiles is automatically using them? Or is this a problem with Fedora Core 6 itself and should I consider installing FC5 or some other distro that doesn't have this problem? ( Don't suggest Debian btw, too many problems of its own ).
Hmm, I only suggested it because I had to do something like that when I upgraded my GCC to version 4 (stupid apt upgrades..) and it worked for me, but I haven't had the pleasure of dealing with the whole 64-bit upgrade at all yet, so far my only 64 bit machine (single core cpu) is running windows and only bring used for some light browsing, trillian, and games. *shrug*