Tiny Core Linux

Tiny Core Extensions => TCE Corepure64 => Topic started by: TheDcoder on March 30, 2017, 08:02:06 AM

Title: Where can I find 64-bit version of glib?
Post by: TheDcoder on March 30, 2017, 08:02:06 AM
Hello, New to Tiny Core Linux and I like it very much :)

I have one tiny problem, I have an 64-bit executable which requires the
Code: [Select]
ld-linux-x86-64.so.2 interpreter, I have got to know that glib provides this but I cannot find a 64 bit version of glib :(

Thank you for the help in advance :D
Title: Re: Where can I find 64-bit version of glib?
Post by: polikuo on March 30, 2017, 08:33:13 AM
Hi, TheDcoder !
Use Corepure64 instead
Tiny Core have two distinct builds (32-bit, 64-bit)
Most binaries are incompatible between the two
http://tinycorelinux.net/ports.html (http://tinycorelinux.net/ports.html)
Title: Re: Where can I find 64-bit version of glib?
Post by: TheDcoder on March 30, 2017, 08:47:18 AM
Hi polikuo, Thanks for your response. But I am already using TinyCorePure64-7.2.iso ;)
Title: Re: Where can I find 64-bit version of glib?
Post by: polikuo on March 30, 2017, 09:22:35 AM
Do you mean /lib/ld-linux-x86-64.so.2  ???
It's included in the initrd
Title: Re: Where can I find 64-bit version of glib?
Post by: coreplayer2 on March 30, 2017, 11:36:24 AM
I believe you need a symlink

Code: [Select]
ln -s /lib /lib64

AIUI the binary was build on a system which still has the libs in lib64,  like firefox for example..


FYI use "find" command
Code: [Select]
sudo find / -iname "ld-linux-x86-64.so.2"
/lib/ld-linux-x86-64.so.2
Title: Re: Where can I find 64-bit version of glib?
Post by: TheDcoder on March 30, 2017, 12:13:22 PM
Hello coreplayer2, your advice helped! But unfortunately I now have another error :(
Code: [Select]
error while loading shared libraries: libasan.so.2: cannot open shared object file: No such file or directory
I appreciate the help :)

P.S I think this might be relevant since you mentioned Firefox, I am trying to run Tor Browser.
Title: Re: Where can I find 64-bit version of glib?
Post by: coreplayer2 on March 30, 2017, 12:24:47 PM
Hello coreplayer2, your advice helped! But unfortunately I now have another error :(
Code: [Select]
error while loading shared libraries: libasan.so.2: cannot open shared object file: No such file or directory...
Ok so you'll need to search using the "Provides" function of APPS.   Open APPS, select Provides from the dropdown menu then search for the missing library "libasan.so.2"  then download and load the extension providing this missing lib

If you create an extension with your files for easy loading on boot then simply add the extension providing any missing libs to your extension's dep file.
Title: Re: Where can I find 64-bit version of glib?
Post by: TheDcoder on March 30, 2017, 10:43:38 PM
gcc-libs provided the required file but I am still not able to use the program :(
Code: [Select]
sh: tor: not found
Please note that I can use tor.tcz, but I am running tor which came with the browser for testing if it works. My main goal is to get the browser running, which doesn't seem to be happening so far!  :-\
Title: Re: Where can I find 64-bit version of glib?
Post by: TheDcoder on March 30, 2017, 10:54:56 PM
Something amazing happen just now! :o
I installed firefox-ESR.tcz and ./start-tor-browser.desktop is working! :D

Now I just need to figure out the dependencies ;)