Productivity power tools for visual studio mac. The easiest way, IMO, to do this is to load a 32-bit Linux system into a VM, compile Yara, then copy the files into your IDA installation. I did this in a Debian 6.0.3 and it worked without a problem. Just to be safe, make sure you are using a system with Python 2.7 as well since that is what IDA bundles. Dec 23, 2015 It is necessary to also run those commands, for IDA to present a usable GUI on Xubuntu 15.10. Sudo apt-get install libgtk2.0-0:i386 gtk2-engines-murrine:i386 gtk2-engines-pixbuf:i386 Red Hat Enterprise Linux 7.2.
Installing IDA Pro on Linux (AMD64) can be a pain. In previous versions of Ubuntu what I had to do to achieve such task, is to build a IA32 chroot environment (following this guide). While effective, this is in my opinion not ideal.Fortunately, in the latest version of Ubuntu it is possible to install almost all the IA32 dependencies by hand following a simple scheme.
First we need to see which dynamic libraries are not found by the loader. To do so we can use the `ldd` command to print all the dynamic libraries missing:
$ ldd idaq | grep found
libXext.so.6 => not found
libfreetype.so.6 => not found
libSM.so.6 => not found
libXrender.so.1 => not found
libfontconfig.so.1 => not found
Once we have the list of missing libraries, we need to see from which packaged they come from. One simple way is to use `dpkg`. So for each of the missing libraries we proceed like this:
$ dpkg -S libXext.so.6As we can see, the file is provided by `libxext6`, but we need to take into account that we need the IA32 versions of the libraries.
libxext6: /usr/lib/x86_64-linux-gnu/libXext.so.6
Fortunately, Ubuntu does allow us to install both versions and it is just a matter of adding ':i386' at the end of the package name.
$ sudo apt-get install libXext6:i386Once we have installed each one of the libraries IDA Pro will fire up, but we will receive a dissapointing message the the IDAPython plugin is not working due to missing dependencies.
dlopen(/home/agustin/opt/idapro/plugins/python.plx): libpython2.6.so.1.0: cannot open shared object file: No such file or directory/home/agustin/opt/idapro/plugins/python.plx: can't load file
Ida Pro Install
![Ida pro install Ida pro install](/uploads/1/2/6/4/126464539/915595967.jpg)
Ida 7 Linux
We need to proceed in the same way as we did before, but there is a slight difference. We need a dynamic library that comes from Python 2.6 and as the release notes says, Python 2.6 has been deprecated.
In a previous iteration of this blog entry what I did was to download these packages from an old Ubuntu repository. This was not ideal since I always ended up breaking some dependencies and the package manager was not happy about it.
So I took another way and tried to build it from the source. The steps you need to follow are described bellow and need to be issued in the Python2.6 source directory:
The last step is to tell the loader where those libraries are. There are multiple options but for simplicity sake I choose to export the environment variable `LD_LIBRARY_PATH` and make it point to `/opt/pym32/lib`
In a previous iteration of this blog entry what I did was to download these packages from an old Ubuntu repository. This was not ideal since I always ended up breaking some dependencies and the package manager was not happy about it.
So I took another way and tried to build it from the source. The steps you need to follow are described bellow and need to be issued in the Python2.6 source directory:
$ CC='gcc -m32' LDFLAGS='-L/lib32 -L/usr/lib32This will install python in the directory `/opt/pym32` along with all the needed shared libraries for IDAPython to run.
-L`pwd`/lib32 -Wl,-rpath,/lib32 -Wl,-rpath,/usr/lib32'
./configure --prefix=/opt/pym32 --enable-shared
$ make -j 8
$ sudo make install
The last step is to tell the loader where those libraries are. There are multiple options but for simplicity sake I choose to export the environment variable `LD_LIBRARY_PATH` and make it point to `/opt/pym32/lib`
$ export LD_LIBRARY_PATH='/opt/pym32/lib'And that's it, now you have a running version of IDA Pro all with IDAPython running as it should.
$ /home/agustin/opt/ida/idaq64