Monica Marathe
2014-09-22 21:04:35 UTC
Hello,
I am facing the following error while installing SLURM on my Fedora 20
machine.
/bin/sh ../../../../libtool --tag=CC --mode=link gcc -g -O2 -pthread
-fno-gcse -module -avoid-version --export-dynamic -Wl,-rpath
-Wl,/usr/lib64 -L/usr/lib64 -o auth_munge.la -rpath /usr/lib/slurm
auth_munge.lo -lmunge
libtool: link: gcc -shared -fPIC -DPIC .libs/auth_munge.o -L/usr/lib64
-lmunge -O2 -pthread -Wl,-rpath -Wl,/usr/lib64 -pthread -Wl,-soname
-Wl,auth_munge.so -o .libs/auth_munge.so
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../../libmunge.so when searching
for -lmunge
/usr/bin/ld:
/usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../../libmunge.a(ctx.o):
relocation R_X86_64_32S against `.rodata' can not be used when making a
shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../../libmunge.a: could not read
symbols: Bad value
collect2: error: ld returned 1 exit status
make[5]: *** [auth_munge.la] Error 1
make[5]: Leaving directory
`/home/Monica/slurm-14.03.7/src/plugins/auth/munge'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/Monica/slurm-14.03.7/src/plugins/auth'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/Monica/slurm-14.03.7/src/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Monica/slurm-14.03.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Monica/slurm-14.03.7'
make: *** [all] Error 2
I tried to install using the command:
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var && make &&
make install
Please tell me how to fix this.
Regards,
Monica
I am facing the following error while installing SLURM on my Fedora 20
machine.
/bin/sh ../../../../libtool --tag=CC --mode=link gcc -g -O2 -pthread
-fno-gcse -module -avoid-version --export-dynamic -Wl,-rpath
-Wl,/usr/lib64 -L/usr/lib64 -o auth_munge.la -rpath /usr/lib/slurm
auth_munge.lo -lmunge
libtool: link: gcc -shared -fPIC -DPIC .libs/auth_munge.o -L/usr/lib64
-lmunge -O2 -pthread -Wl,-rpath -Wl,/usr/lib64 -pthread -Wl,-soname
-Wl,auth_munge.so -o .libs/auth_munge.so
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../../libmunge.so when searching
for -lmunge
/usr/bin/ld:
/usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../../libmunge.a(ctx.o):
relocation R_X86_64_32S against `.rodata' can not be used when making a
shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-redhat-linux/4.8.3/../../../libmunge.a: could not read
symbols: Bad value
collect2: error: ld returned 1 exit status
make[5]: *** [auth_munge.la] Error 1
make[5]: Leaving directory
`/home/Monica/slurm-14.03.7/src/plugins/auth/munge'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/Monica/slurm-14.03.7/src/plugins/auth'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/Monica/slurm-14.03.7/src/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Monica/slurm-14.03.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Monica/slurm-14.03.7'
make: *** [all] Error 2
I tried to install using the command:
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var && make &&
make install
Please tell me how to fix this.
Regards,
Monica
--
- Monica Marathe
- Monica Marathe