WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: PlayOnLinux.tcz  (Read 53660 times)

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: PlayOnLinux.tcz
« Reply #75 on: December 21, 2021, 09:29:46 AM »
what is the full link address of these files!?


« Last Edit: December 21, 2021, 09:36:33 AM by Juanito »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14823
Re: PlayOnLinux.tcz
« Reply #76 on: December 21, 2021, 09:38:57 AM »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11641
Re: PlayOnLinux.tcz
« Reply #77 on: December 21, 2021, 09:43:09 AM »
Hi xor
And make sure you have all of the dependencies listed in these 2 files installed:
http://tinycorelinux.net/11.x/x86/tcz/libdrm.tcz.tree
http://tinycorelinux.net/11.x/x86/tcz/libGL.tcz.tree

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: PlayOnLinux.tcz
« Reply #78 on: December 21, 2021, 10:10:39 AM »
I think there is only one step left to the solution! :)

Code: [Select]
tce-load -wi coreutils
tce-load -wi xz
tce-load -wi python3.6
tce-load -wi gudev-lib
tce-load -wi sdl2
tce-load -wi libGL
tce-load -wi libdrm
tce-load -i glibc32_ml bash
tce-load -wi glibc32_ml bash

Code: [Select]
steam.sh[8345]: Error: You are missing the following 32-bit libraries, and Steam may not run:
libGL.so.1
libdrm.so.2
libdrm.so.2
libdrm.so.2
steam.sh[8345]: Steam client's requirements are satisfied
Installing breakpad exception handler for appid(steam)/version(1639697812)
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
[2021-12-21 18:02:50] Startup - updater built Dec 16 2021 22:39:04
src/common/opensslconnection.cpp (1616) : unable to load trusted SSL root certificates
Installing breakpad exception handler for appid(steam)/version(1639697812)
Installing breakpad exception handler for appid(steam)/version(1639697812)
assert_20211221180250_4.dmp[9636]: Uploading dump (out-of-process)
/tmp/dumps/assert_20211221180250_4.dmp
Failed to load steamui.so - dlerror(): libGL.so.1: wrong ELF class: ELFCLASS64
assert_20211221180250_4.dmp[9636]: Finished uploading minidump (out-of-process): success = yes
assert_20211221180250_4.dmp[9636]: response: CrashID=
assert_20211221180250_4.dmp[9636]: file ''/tmp/dumps/assert_20211221180250_4.dmp'', upload yes: ''CrashID='
src/common/opensslconnection.cpp (1616) : unable to load trusted SSL root certificates
[2021-12-21 18:02:50] Loading cached metrics from disk (/home/tc/.local/share/Steam/package/steam_client_metrics.bin)
[2021-12-21 18:02:50] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2021-12-21 18:02:50] Using the following download hosts for Public, Realm steamglobal
[2021-12-21 18:02:50] 1. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2021-12-21 18:02:50] Verifying installation...
[2021-12-21 18:02:50] Verification complete
[2021-12-21 18:02:52] Shutdown

>>>> END OF COMMAND <<<<
« Last Edit: December 21, 2021, 10:12:44 AM by xor »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14823
Re: PlayOnLinux.tcz
« Reply #79 on: December 21, 2021, 10:22:50 AM »
I realise english is not your first language, but you need to try to read and understand the help you are given.

In this multi-lib system:

* 64-bit libraries use /usr/local/lib and can be downloaded and loaded with tce-load.
* 32-bit libraries use /usr/local/lib32 and must be downloaded manually

Quote
This means that you will need to manually download the 32-bit versions of the libGL and libdrm extensions and all of their recursive dependencies, mount them somewhere and copy the libraries to /usr/local/lib32.

It also looks like you need to load ca-certificates and/or symlink /etc/ssl -> /usr/local/etc/ssl

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
On 64-bit system; How can I download 32-bit files with the "tce-load" command!?

Code: [Select]
glib2.tcz
libdrm.tcz
libffi.tcz
libGL.tcz
libpciaccess.tcz
libX11.tcz
libXau.tcz
libxcb.tcz
libXdamage.tcz
libXdmcp.tcz
libXext.tcz
libXfixes.tcz
libxshmfence.tcz
libXxf86vm.tcz
udev-lib.tcz
« Last Edit: December 22, 2021, 09:40:08 AM by Rich »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11641
Re: PlayOnLinux.tcz
« Reply #81 on: December 22, 2021, 12:15:21 AM »
Hi xor
On 64-bit system; How can I download 32-bit files with the "tce-load" command!? ...
You don't. tce-load does not know how to deal with mult-ilib.

Go over here and download the  FetchExt.sh  script:
http://forum.tinycorelinux.net/index.php/topic,23034.0.html

Place the script where you want to save the 32 bit extensions and make it executable.
Code: [Select]
sudo chmod 777 FetchExt.sh
Change the line that says  TC="10.x"  to  TC="11.x".

Then:
Code: [Select]
./FetchExt.sh libdrm
./FetchExt.sh libGL

That will download the extensions and all of their dependencies.

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: PlayOnLinux.tcz
« Reply #82 on: December 22, 2021, 05:59:59 AM »
3 MB  :)

Code: [Select]
Wed Dec 22 13:43:59 UTC 2021
Processing http://repo.tinycorelinux.net/11.x/x86/tcz/libdrm.tcz.tree
glib2.tcz downloaded.
glib2.tcz.md5.txt downloaded.
glib2.tcz.dep downloaded.
libdrm.tcz downloaded.
libdrm.tcz.md5.txt downloaded.
libdrm.tcz.dep downloaded.
libffi.tcz downloaded.
libffi.tcz.md5.txt downloaded.
libpciaccess.tcz downloaded.
libpciaccess.tcz.md5.txt downloaded.
udev-lib.tcz downloaded.
udev-lib.tcz.md5.txt downloaded.
udev-lib.tcz.dep downloaded.

Wed Dec 22 13:44:11 UTC 2021
Processing http://repo.tinycorelinux.net/11.x/x86/tcz/libGL.tcz.tree
glib2.tcz already downloaded.
libGL.tcz downloaded.
libGL.tcz.md5.txt downloaded.
libGL.tcz.dep downloaded.
libX11.tcz downloaded.
libX11.tcz.md5.txt downloaded.
libX11.tcz.dep downloaded.
libXau.tcz downloaded.
libXau.tcz.md5.txt downloaded.
libXdamage.tcz downloaded.
libXdamage.tcz.md5.txt downloaded.
libXdamage.tcz.dep downloaded.
libXdmcp.tcz downloaded.
libXdmcp.tcz.md5.txt downloaded.
libXext.tcz downloaded.
libXext.tcz.md5.txt downloaded.
libXext.tcz.dep downloaded.
libXfixes.tcz downloaded.
libXfixes.tcz.md5.txt downloaded.
libXfixes.tcz.dep downloaded.
libXxf86vm.tcz downloaded.
libXxf86vm.tcz.md5.txt downloaded.
libXxf86vm.tcz.dep downloaded.
libdrm.tcz already downloaded.
libffi.tcz already downloaded.
libpciaccess.tcz already downloaded.
libxcb.tcz downloaded.
libxcb.tcz.md5.txt downloaded.
libxcb.tcz.dep downloaded.
libxshmfence.tcz downloaded.
libxshmfence.tcz.md5.txt downloaded.
udev-lib.tcz already downloaded.

* 32-bit libraries use /usr/local/lib32 and must be downloaded manually

???


« Last Edit: March 27, 2023, 11:30:57 PM by Rich »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14823
Re: PlayOnLinux.tcz
« Reply #83 on: December 22, 2021, 08:23:07 AM »
Create the directory for the 32-bit libraries:
Code: [Select]
$ sudo mkdir /usr/local/lib32
Create a working directory:
Code: [Select]
$ mkdir /tmp/image

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14823
Re: PlayOnLinux.tcz
« Reply #84 on: December 22, 2021, 08:23:31 AM »
Mount the 32-bit extensions one by one and copy the libraries:
Code: [Select]
$ sudo mount libdrm.tcz /tmp/image
$ sudo cp -a /tmp/image/usr/local/lib/*.so* /usr/local/lib32
$ sudo umount /tmp/image

Finally:
Code: [Select]
$ sudo ldconfig

Online gadget42

  • Hero Member
  • *****
  • Posts: 800
The fluctuation theorem has long been known for a sudden switch of the Hamiltonian of a classical system Z54 . For a quantum system with a Hamiltonian changing from... https://forum.tinycorelinux.net/index.php/topic,25972.msg166580.html#msg166580

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: PlayOnLinux.tcz
« Reply #86 on: December 22, 2021, 11:15:28 PM »
I think 1 step left :)




Code: [Select]
Please wait...

Couldn't import apt, please install python3-apt or update steamdeps for your distribution.
steam.sh[8739]: Running Steam on tinycore 11.1 64-bit
steam.sh[8739]: STEAM_RUNTIME is enabled automatically
setup.sh[8815]: Steam runtime environment up-to-date!
steam.sh[8739]: Error: You are missing the following 32-bit libraries, and Steam may not run:
libGL.so.1
steam.sh[8739]: Steam client's requirements are satisfied
Installing breakpad exception handler for appid(steam)/version(1639697812)
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
[2021-12-23 06:59:02] Startup - updater built Dec 16 2021 22:39:04
Looks like steam didn't shutdown cleanly, scheduling immediate update check
src/common/opensslconnection.cpp (1616) : unable to load trusted SSL root certificates
Installing breakpad exception handler for appid(steam)/version(1639697812)
Installing breakpad exception handler for appid(steam)/version(1639697812)
assert_20211223065902_4.dmp[8891]: Uploading dump (out-of-process)
/tmp/dumps/assert_20211223065902_4.dmp
Installing breakpad exception handler for appid(steam)/version(1639697812)
assert_20211223065902_4.dmp[8891]: Finished uploading minidump (out-of-process): success = yes
assert_20211223065902_4.dmp[8891]: response: CrashID=
assert_20211223065902_4.dmp[8891]: file ''/tmp/dumps/assert_20211223065902_4.dmp'', upload yes: ''''
Failed to load steamui.so - dlerror(): libGL.so.1: wrong ELF class: ELFCLASS64
Installing breakpad exception handler for appid(steam)/version(1639697812)
Installing breakpad exception handler for appid(steam)/version(1639697812)
src/common/opensslconnection.cpp (1616) : unable to load trusted SSL root certificates
[2021-12-23 06:59:02] Loading cached metrics from disk (/home/tc/.local/share/Steam/package/steam_client_metrics.bin)
[2021-12-23 06:59:02] Failed to load cached hosts file (File 'update_hosts_cached.vdf' not found), using defaults
[2021-12-23 06:59:02] Using the following download hosts for Public, Realm steamglobal
[2021-12-23 06:59:02] 1. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2021-12-23 06:59:02] Checking for update on startup
[2021-12-23 06:59:02] Checking for available updates...
[2021-12-23 06:59:02] Downloading manifest: http://media.steampowered.com/client/steam_client_ubuntu12
[2021-12-23 06:59:02] Download skipped: /client/steam_client_ubuntu12 version 1639697812, installed version 1639697812, existing pending version 0
[2021-12-23 06:59:02] Nothing to do
[2021-12-23 06:59:02] Verifying installation...
[2021-12-23 06:59:02] Performing checksum verification of executable files
[2021-12-23 06:59:03] Verification complete
[2021-12-23 06:59:18] Shutdown

>>>> END OF COMMAND <<<<
« Last Edit: December 22, 2021, 11:18:19 PM by xor »

Offline xor

  • Hero Member
  • *****
  • Posts: 1268
Re: PlayOnLinux.tcz
« Reply #87 on: December 22, 2021, 11:51:30 PM »
As I understand it, the command only seems to bind the contents of a single tcz file to the system!

chronological order ; to understand the logic



Code: [Select]
...

sudo mount libdrm.tcz /tmp/image
sudo mount libGL.tcz /tmp/image
...



I think the command should be like this


Code: [Select]
sudo mount glib2.tcz /tmp/image
sudo mount libGL.tcz /tmp/image
sudo mount libX11.tcz /tmp/image
sudo mount libXau.tcz /tmp/image
sudo mount libXdamage.tcz /tmp/image
sudo mount libXdmcp.tcz /tmp/image
sudo mount libXext.tcz /tmp/image
sudo mount libXfixes.tcz /tmp/image
sudo mount libXxf86vm.tcz /tmp/image
sudo mount libdrm.tcz /tmp/image
sudo mount libffi.tcz /tmp/image
sudo mount libpciaccess.tcz /tmp/image
sudo mount libxcb.tcz /tmp/image
sudo mount libxshmfence.tcz /tmp/image
sudo mount udev-lib.tcz /tmp/image


« Last Edit: December 23, 2021, 12:11:50 AM by xor »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11641
Re: PlayOnLinux.tcz
« Reply #88 on: December 23, 2021, 12:07:43 AM »
Hi xor
Quote
steam.sh[8380]: Error: You are missing the following 32-bit libraries, and Steam may not run:
libxshmfence.so.1

Just like before:
Code: [Select]
./FetchExt.sh  libxshmfenceThen follow Juanitos instructions in repl #84.

Quote
Failed to load steamui.so - dlerror(): libxshmfence.so.1: wrong ELF class: ELFCLASS64
Did you place a 64 bit library in your  lib32  subdirectory?
You had a similar error for  libGL.so.1  in your previous post.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14823
Re: PlayOnLinux.tcz
« Reply #89 on: December 23, 2021, 04:32:04 AM »
I think the command should be like this

It should be like this:
Code: [Select]
$ sudo mount libdrm.tcz /tmp/image
$ sudo cp -a /tmp/image/usr/local/lib/*.so* /usr/local/lib32
$ sudo umount /tmp/image

..and then:
Code: [Select]
$ sudo mount libffi.tcz /tmp/image
$ sudo cp -a /tmp/image/usr/local/lib/*.so* /usr/local/lib32
$ sudo umount /tmp/image

..and so on for all of the downloaded 32-bit extensions.