glew compiled without -fPIC flag
Bug #811789 reported by
Miłosz Kosobucki
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glew (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
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/
/usr/lib64/
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 post a comment you must log in.
Adding simple testcase.
This wiki page has valid points about why static libraries should be compiled with PIC fedoraproject. org/wiki/ User:Tibbs/ Text_Relocation _Guidelines
http://