dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #12531
[Bug 811789] Re: glew compiled without -fPIC flag
according to the build logs this is at least fixed in 14.04 LTS
** Changed in: glew (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of DX
Packages, which is subscribed to glew in Ubuntu.
https://bugs.launchpad.net/bugs/811789
Title:
glew compiled without -fPIC flag
Status in “glew” package in Ubuntu:
Fix Released
Bug description:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glew/+bug/811789/+subscriptions