Quote:
Originally Posted by paulsm4
Hi -
The problem appears to be that your "libGL.so" needs a bunch of other stuff, and it's the "other stuff" your linker can't find.
SUGGESTION:
1. Tell us what Linux distro and what version of Gnu C++ you're using.
2. As it happens, both "libnvidia-tls.so.1" and "libGLcore.so.1" are part of the NVidia X windows GLX driver:
http://www.rpmfind.net/linux/rpm2htm...%29%2864bit%29
Q: Is your video card actually NVidia?
3. Please cut/paste specific error messages when you post back
|
----------------------------------------------------------
Sorry for the slow response. Been a very busy week working on other projects. The libGL issue.. that's half the problem, the other half being the libstdc++.so.5 / .6 problems. Here's as much specifics as I can get together:
1. Fedora Core 5. The code's being compiled by a g++ command in the makefile, g++ --version returns "g++ (GCC) 3.3.3". I've just realized that any of the machines which end up linking against the wrong stdc++ version are running version 4.1.1. I hadn't considered checking this before but is this probably the issue? (And potentially why the linker has trouble finding libGL's dependencies even though they're residing in the same folder as libGL?
2. Yes. Quadro FX 4500.
3. I don't know how much more specific I can come up with than I did in my first post, I cut a lot out for the sake of brevity because it was just a lot of repetition.
3a. The first problem is one project compiles and builds, works fine on two machines, fails on two others with the following error:
"error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory."
Checking the /lib, /lib64, /usr/lib, and /usr/lib64 directories, I've verified that libstdc++.so.6 is the only one available on all four machines... is this being caused by what I noticed above, the different compiler versions on different machines? It seems consistent. v3.3.3 on the ones that don't work, v4.1.1 on the ones that do.
3b. The second problem is the libGL / libGLEW problem, where it isn't finding libGL's / libGLEW's dependency libraries. I've verified that all the libs are there in /usr/lib64, in the same directory as libGL. Is this probably a version issue as well? I wouldn't think it just being an older compiler version would prevent it from being able to locate / link libraries but... I don't know.
The errors that get generated at this stage are:
warning:
"libXmu.so.6, needed by /usr/lib64/libGLEW.so, not found (try using -rpath or -rpath-link"
[Says the same thing for libXi.so.6, libGLU.so.1, libXext.so.6, libX11.so.6]
"libGLcore.so.1, needed by /usr/lib64/libGL.so, not found (try using -rpath or -rpath-link"
"libnvidia-tls.so.1, needed by /usr/lib64/libGL.so, not found (try using -rpath or -rpath-link"
-----------
Thanks in advance for your help. I'm starting to think I just need to get the compiler version on the other machines to version 4.1.1 as well, do you think?