Public bug reported:
I'm developing a shared library that uses GLEW. When I'm trying to link
it I get the following error:
/usr/bin/ld: /usr/lib64/libGLEW.a(glew.o): relocation R_X86_64_32 against
`.rodata.str1.1' can not be used when making a shared object; recompile with
-fPIC
/usr/lib64/libGLEW.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
It seems that GLEW in ubuntu is compiled without -fPIC flag.
When I compile my library as static I get no errors.
** Affects: glew (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/811789
Title:
glew compiled without -fPIC flag
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glew/+bug/811789/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs