Skip to content

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

@Nain555

Description

@Nain555

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions