Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

`mpb_verbosity' can not be used when making a shared object; recompile with -fPIC #14

Open
Nain555 opened this issue Dec 21, 2023 · 0 comments

Comments

@Nain555
Copy link

Nain555 commented Dec 21, 2023

/usr/bin/ld: /usr/local/lib/libmpb.a(mpi_utils.o): warning: relocation against stdout@@GLIBC_2.2.5' in read-only section .text'
/usr/bin/ld: /usr/local/lib/libmpb.a(libmatrices_la-eigensolver.o): relocation R_X86_64_PC32 against symbol `mpb_verbosity' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:590: libmeep.la] Error 1
make[4]: Leaving directory '/home/zulnorain/meep-1.28.0/src'
make[3]: *** [Makefile:728: all-recursive] Error 1
make[3]: Leaving directory '/home/zulnorain/meep-1.28.0/src'
make[2]: *** [Makefile:511: all] Error 2
make[2]: Leaving directory '/home/zulnorain/meep-1.28.0/src'
make[1]: *** [Makefile:518: all-recursive] Error 1
make[1]: Leaving directory '/home/zulnorain/meep-1.28.0'
make: *** [Makefile:425: all] Error 2

actually i'm trying to install meep for c and C++ on linux ubuntu i have all the required dependencies but still facing this issue while installing meep.
i'm having this issues i tried every possible method but can't, if anybody know kindly guide.

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

No branches or pull requests

1 participant