Tiny Core Base > Micro Core
MC 12 x64 -sh: ./adb: not found
Rich:
Hi Juanito
According to the ldd command in the original post, I think it is.
Santos:
Hello
--- Quote from: Rich on March 09, 2022, 11:39:28 PM ---...
--- Code: ---strace -e trace=open ./adb
--- End code ---
--- End quote ---
Did it. Almost exact output. I really thought I'll be getting lots of sys calls, and such.
--- Code: ---tc@box:~$ strace ./adb-bin/platform-tools/adb
execve("./adb-bin/platform-tools/adb", ["./adb-bin/platform-tools/adb"], 0x7fffd6bcc430 /* 19 vars */) = -1 ENOENT (No such file or directory)
strace: exec: No such file or directory
+++ exited with 1 +++
--- End code ---
--- Quote from: Juanito on March 09, 2022, 11:53:49 PM ---Is a symlink /lib64 -> /lib present?
--- End quote ---
It is.
***
I ended up loading extension by extension ( while loop) to check which one triggered adb to be executed. Firefox did it.
Currently, I'm loading each dep at at time to see whats the extension with the library/files, etc. that is allowing adb to run.
This is what I'm getting from strace after loading firefox and being able to run adb .
(See attachment with messy output due to script ).
Santos:
Hello
After loading all firefox dependencies adb wasn't being executed.
The line I used to test the packages was this (ignore leading +, was getting forum error):
--- Code: ---++while read -r line ; ++do tce-load -il $line ; ++sleep 3 ; /home/tc/bin/adb ; ++done < firefox.tcz.dep
--- End code ---
I checked tce-load script to try to add a sleep command and a line to execute adb right after a package is loaded. But I don't know on which section of the code should I put it.
What changes can I introduce on tce-load to have a sleep and adb being tested after each package is loaded?
curaga:
It's probably something in FF's install script then. Look in /usr/local/tce.installed/firefox after loading it (or use unsquashfs or mounting to see it without loading).
Juanito:
--- Code: ---file /home/tc/Downloads/platform-tools/adb
/home/tc/Downloads/platform-tools/adb: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, not stripped
/home/tc/Downloads/platform-tools/adb
sh: /home/tc/Downloads/platform-tools/adb: not found
sudo ln -s /lib /lib64
/home/tc/Downloads/platform-tools/adb
Android Debug Bridge version 1.0.41
Version 33.0.0-8141338
--- End code ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version