linux - Install glibc 11 on ubuntu precise(12.04) -
i have app compiled locally ldd version (ubuntu eglibc 2.15-0ubuntu10.4) 2.15
need run in server ldd version 2.12
. because built in qt framework , not have root access install framework or upgrade libc.so.6
, need install older glibc on machine compile in post. after downloading glibc-2.11.2.tar.gz
here try install command ./configure --prefix=/usr/oldlibc
displays following error :
/bogdan/downloads/safe/csu/crti.o /tmp/cchnbwla.s: assembler messages: /tmp/cchnbwla.s: error: open cfi @ end of file; missing .cfi_endproc directive /tmp/cchnbwla.s: error: open cfi @ end of file; missing .cfi_endproc directive make[2]: *** [/home/bogdan/downloads/safe/csu/crti.o] error 1 make[2]: leaving directory `/home/bogdan/downloads/glibc-2.11/csu' make[1]: *** [csu/subdir_lib] error 2 make[1]: leaving directory `/home/bogdan/downloads/glibc-2.11' make: *** [all] error 2
what can install libc.so.6
?
i have app compiled locally ldd version
you wrong in stating ldd
version. ldd
part of glibc
, , it's glibc
version causing grief. ldd
has nothing here.
/tmp/cchnbwla.s: error: open cfi @ end of file; missing .cfi_endproc directive
this happening because old glibc-2.11
can not built new gcc
have on system.
you can hack on glibc
source , fix problem, can build , install older gcc
, use it build glibc-2.11
, or can set chroot
environment old glibc installed in default place.
the chroot
solution easiest, because can install prebuilt (older) packages it.
another "easy" alternative build in vm.
Comments
Post a Comment