user1004985
user1004985

Reputation: 2793

Unable to compile Intel Pin

I am using intel Pin on a 64 bit ubuntu machine (12.04). I exported the path in the correct way but I am not able to run the pin binary. When I do a "file" on that binary, it shows it is 32bit ELF binary. Is this a problem? I am not able to run the binary even if I run it from the same folder.

The error message I keep getting is bash: /home/<username>/Downloads/pin-2.14-67254-gcc.4.4.7-linux/pin: No such file or directory

Could someone please tell me where did I go wrong?

Eidt: I tried adding the i386 architecture so that the 32 bit pin binary would run, but it is not able to execute the 64 bit tool I have written.

Upvotes: 0

Views: 1119

Answers (1)

shan shen
shan shen

Reputation: 11

You could run pin.sh rather than pin. Command like this:

sudo ./../../../pin.sh -t obj-intel64/pinatrace.so -- /bin/ls

it works with me.

Upvotes: 1

Related Questions