Hi Alberto,

I have been investigating this issue, and have filed binutils bug #16452
(http://sourceware.org/bugzilla/show_bug.cgi?id=16452) to track this.
This can be worked around by explicitly linking the executable against
pthreads, or explicitly specifying the path to NVIDIA's libGL using
gcc's -L flag, e.g.:

$ g++ ./test.cpp -pthread -lGL

or

$ g++ ./test.cpp -L/usr/lib/nvidia-319-updates -lGL

** Bug watch added: Sourceware.org Bugzilla #16452
   http://sourceware.org/bugzilla/show_bug.cgi?id=16452

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1248642

Title:
  dynamic library inconsistencies with OpenGL/C++

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-319/+bug/1248642/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to