No such file or directory error

172 views
Skip to first unread message

Alexandru Blidaru

unread,
Jul 13, 2013, 7:28:58 PM7/13/13
to dare-a...@googlegroups.com
I tried downloading and running dare, but it gets bogged down at
./dex-preopt --bootstrap
It outputs the following:
Processing /home/alex/Tools/dare-1.0.2-linux/libs/dex/./system/framework/core.jar
./dex-preopt: line 303: /home/alex/Tools/dare-1.0.2-linux/bin/dexopt: No such file or directory
/home/alex/Tools/dare-1.0.2-linux/bin/dexopt --preopt /home/alex/Tools/dare-1.0.2-linux/libs/dex/./system/framework/core.jar /home/alex/Tools/dare-1.0.2-linux/libs/dex/./system/framework/core.odex v=a,o=n,u=n
Processing /home/alex/Tools/dare-1.0.2-linux/libs/dex/./system/framework/android.policy.jar
./dex-preopt: line 303: /home/alex/Tools/dare-1.0.2-linux/bin/dexopt: No such file or directory
/home/alex/Tools/dare-1.0.2-linux/bin/dexopt --preopt /home/alex/Tools/dare-1.0.2-linux/libs/dex/./system/framework/android.policy.jar /home/alex/Tools/dare-1.0.2-linux/libs/dex/./system/framework/android.policy.odex v=a,o=n,u=n
Processing /home/alex/Tools/dare-1.0.2-linux/libs/dex/./system/framework/ext.jar
./dex-preopt: line 303: /home/alex/Tools/dare-1.0.2-linux/bin/dexopt: No such file or directory
/home/alex/Tools/dare-1.0.2-linux/bin/dexopt --preopt /home/alex/Tools/dare-1.0.2-linux/libs/dex/./system/framework/ext.jar /home/alex/Tools/dare-1.0.2-linux/libs/dex/./system/framework/ext.odex v=a,o=n,u=n
Processing /home/alex/Tools/dare-1.0.2-linux/libs/dex/./system/framework/framework.jar
./dex-preopt: line 303: /home/alex/Tools/dare-1.0.2-linux/bin/dexopt: No such file or directory
/home/alex/Tools/dare-1.0.2-linux/bin/dexopt --preopt /home/alex/Tools/dare-1.0.2-linux/libs/dex/./system/framework/framework.jar /home/alex/Tools/dare-1.0.2-linux/libs/dex/./system/framework/framework.odex v=a,o=n,u=n
Processing /home/alex/Tools/dare-1.0.2-linux/libs/dex/./system/framework/services.jar
./dex-preopt: line 303: /home/alex/Tools/dare-1.0.2-linux/bin/dexopt: No such file or directory
/home/alex/Tools/dare-1.0.2-linux/bin/dexopt --preopt /home/alex/Tools/dare-1.0.2-linux/libs/dex/./system/framework/services.jar /home/alex/Tools/dare-1.0.2-linux/libs/dex/./system/framework/services.odex v=a,o=n,u=n
Done!

Dexopt is in the bin directory, so I'm not sure what the problem is. Any idea?

Dalvik Retargeting (Dare)

unread,
Jul 20, 2013, 2:30:52 PM7/20/13
to dare-a...@googlegroups.com
Hi,

It seems to me that dexopt is running but not finding some files. Are you sure that the library files are there? Which platform are you using?

Damien


--
You received this message because you are subscribed to the Google Groups "dare" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dare-android...@googlegroups.com.
To post to this group, send email to dare-a...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dare-android/b1049b68-07ad-4447-b9f6-7cba9e12375a%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Emily Kowalczyk

unread,
Jul 22, 2013, 10:59:11 AM7/22/13
to dare-a...@googlegroups.com
I'm experiencing the same errors. Below are the files I have after extracting the archive. I'm using Ubuntu 12.04. 

bin > dexopt
dare
dare-1.0.2
dare-launcher-1.0.2
dex-preopt
lib > libcrypto.so, libdvm.so, libicui18n.so, libicuuc.so, and libssl.so
libs > class > android.policy.jar, core.jar, ext.jar, framework.jar, and services.jar
libs > dex > system > framework > android.policy.jar, core.jar, ext.jar, framework.jar, and services.jar
soot > jasminclasses-2.5.0.jar, soot-2.5.0.jar

Alexandru Blidaru

unread,
Jul 22, 2013, 1:01:10 PM7/22/13
to dare-a...@googlegroups.com
Ad I believe I am using Ubuntu 13.04 or 12.10.
You received this message because you are subscribed to a topic in the Google Groups "dare" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dare-android/0cti749IrOg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dare-android...@googlegroups.com.

To post to this group, send email to dare-a...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dare-android/8b452ae4-fa23-4273-bc14-4ea5ccf1abe6%40googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
 
 


--

Dalvik Retargeting (Dare)

unread,
Jul 24, 2013, 5:19:22 AM7/24/13
to dare-a...@googlegroups.com
Thank you for your patience, I was able to reproduce the problem. This comes from the fact that Dare and the associated tools are compiled as 32-bit binaries and you are probably running a 64-bit version of your operating system. This is solved by installing ia32-libs: in a terminal, type

sudo apt-get install ia32-libs

That should fix your issues, please let me know if it doesn't. Please also check that you have the latest version of Dare (1.0.2_2), which fixes an issue with Soot throwing exceptions and complaining about not loading some classes.

Best,
Damien


Reply all
Reply to author
Forward
0 new messages