FilipDominec / python-meep-install

Robust compilation procedure of latest MEEP and python-meep on Linux
GNU General Public License v2.0
16 stars 19 forks source link

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

Open Nain555 opened 10 months ago

Nain555 commented 10 months ago

/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.