Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

libgflags.a(gflags.cc.o): relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC #54

Open
Jameskobedurrant opened this issue Nov 17, 2022 · 0 comments

Comments

@Jameskobedurrant
Copy link

How to solve this problem? I have compiled gflags into a dynamic library.
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libgflags.a(gflags.cc.o): relocation R_X86_64_PC32 against symbol `stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant