manticore icon indicating copy to clipboard operation
manticore copied to clipboard

How to install manticore on CentOS 5 (a very old OS)?

Open vencentchow opened this issue 9 years ago • 6 comments

I am struggling with installing manticore on CentOS 5. When l ran the program like this: [root@system]# manticore I got: z3: /usr/lib/libgomp.so.1: version GOMP_4.0 not found (required by z3) z3: /usr/lib/libstdc++.so.6: version CXXABI_1.3.5 not found (required by z3) z3: /usr/lib/libstdc++.so.6: version CXXABI_1.3.8 not found (required by z3) z3: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11 not found (required by z3) z3: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.18 not found (required by z3) z3: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.9 not found (required by z3) z3: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.15 not found (required by z3) z3: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.20 not found (required by z3)

And I tried to upgrade libgomp.so.1 and libstdc++.so.6, but failed, due to my version of glibc <= 2.10. How could I overcome these problems? Could you please give me a hint?

vencentchow avatar Jul 07 '17 03:07 vencentchow

I'm not sure how best to get the library versions Z3 needs, but have you considered using Docker?

japesinator avatar Jul 07 '17 14:07 japesinator

Thanks a lot for your reply @japesinator. I am not very familiar with Docker. My target program is running on the CentOS 5, and no source code is available. How could I extract dependecies of the program into a docker image? Any tips?

vencentchow avatar Jul 10 '17 00:07 vencentchow

We provide a Dockerfile you can use, but if only the program is running on CentOS 5, you can also just extract the binary and perform the analysis on a more modern system.

japesinator avatar Jul 10 '17 14:07 japesinator

Highly appreciate your help @japesinator. This question is entangled with many others. Firstly, my target program is running on a netwrok device, not a stardard PC. So it spends a lot of effort to run it on a modern system. Secondly, the Cent OS 5 on the device is x86, and it is said it is not supported by Docker. Am I annoying? Sorry for that.

vencentchow avatar Jul 13 '17 01:07 vencentchow

@vencentchow perhaps try compiling a statically linked version of z3 on that centos 5 system and putting that in your $PATH?

offlinemark avatar Aug 10 '17 16:08 offlinemark

I'm going to close this for now, please reopen if it's still relevant.

offlinemark avatar Aug 18 '17 20:08 offlinemark