LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Wine on usb install? (https://www.linuxquestions.org/questions/slackware-14/wine-on-usb-install-4175594167/)

business_kid 11-24-2016 05:30 AM

Wine on usb install?
 
I have an 8G usb stick with Liveslak-14.2 created with the iso2usb.sh script. Partitions are:
Number Start End Size File system Name Flags
1 1049kB 2097kB 1049kB BIOS Boot Partition bios_grub
2 2097kB 107MB 105MB fat32 EFI System Partition boot
3 107MB 8004MB 7897MB ext4 Slackware Linux legacy_boot



I want to add wine, and a bible encyclopedia program to give me access to the latter on the move. The software is a pretty straightforward install; wine compiles and installs in the 'live' homedir (--prefix=/home/live/) but immediately demands gecko. Winetricks falls over in this scenario (No internet for one thing) and wine won't work with the gecko .msi installer, "wrong exec format."
What's the workaround for that? Am I headed for the rocks or should this go together?

elcore 11-24-2016 11:36 PM

Have you got gecko in /usr/share/wine/gecko/wine_gecko-2.40-x86.msi and is it the correct version and architecture?
I'd check on the winehq wiki for the exact version that is required, copy it in /usr/share/wine/gecko/ and create a new prefix.
It should be installed automatically unless there's version mismatch, I figure it should be 2.40 for stable and 2.47 for dev release.

business_kid 11-25-2016 06:50 AM

I had used gecko-2.24 (32bit, I presume) which dates from 2014 but was on disk here. I also had compiled wine with --enable-win64.

I'll go at this again, getting it online first with wpa_supplicant & co. and recompiling wine without --enable-win64

Alien Bob 11-25-2016 01:47 PM

Did you try to install my wine package for 64bit Slackware? It contains both the 64bit and 32bit wine binaries, and also includes the correct version of the Gecko MSI installers so that that does not have to be downloaded.
Note the dependency: OpenAl (both the 64bit and a converted 32bit "compat32" package).

business_kid 11-25-2016 03:07 PM

I did surely, version 1.9.15. It installs, then when I run wine, it says:
"/usr/bin/wine: no such file or directory." Wine is in /usr/bin, all 9704 bytes of it.

Alien Bob 11-26-2016 03:58 AM

Quote:

Originally Posted by business_kid (Post 5634536)
I did surely, version 1.9.15. It installs, then when I run wine, it says:
"/usr/bin/wine: no such file or directory." Wine is in /usr/bin, all 9704 bytes of it.

That error could indicate that you do not have a multilib setup in that environment of yours.

business_kid 11-26-2016 04:56 AM

No, I installed enough multilib (gcc-*-compat32.txz)to silence complaints
Code:

ldd /usr/bin/wine* |grep found
returns no output, which would indicate all libs are present & correct. It's the standard 14.2 liveslak install, whatever is in that, and these
Code:

bash-4.3$ ls /mnt/dvd/persistence/var/log/packages/         
gcc-4.8.2_multilib-x86_64-1alien
gcc-g++-4.8.2_multilib-x86_64-1alien
gcc-gfortran-4.8.2_multilib-x86_64-1alien
gcc-gnat-4.8.2_multilib-x86_64-1alien
gcc-go-4.8.2_multilib-x86_64-1alien
gcc-java-4.8.2_multilib-x86_64-1alien
gcc-objc-4.8.2_multilib-x86_64-1alien
wine-1.9.15-x86_64-1alien

Here's what happens
Code:

live@darkstar:~$ which wine
/usr/bin/wine
live@darkstar:~$ wine
live@darkstar:~$ wine --version
bash: /usr/bin/wine: No such file or directory
live@darkstar:~$


55020 11-26-2016 08:11 AM

Quote:

Originally Posted by business_kid (Post 5634677)
No, I installed enough multilib (gcc-*-compat32.txz)to silence complaints

Uh, no. The only thing you've installed is a compiler.

"bash: /usr/bin/wine: No such file or directory" happens because it can't find the 32 bit dynamic linker, /lib/ld-2.23.so, which is in the multilib glibc-solibs, which you haven't installed. In fact, you pretty much need all of multilib if you want a hassle free life. Just do it.

business_kid 11-26-2016 01:16 PM

Well I'm not sorted yet. I installed the compat32 stuff (all except xsane, because I have no scanner). Then we got
Code:

root@darkstar:/usr/lib# cd /mnt/tmp/2015
root@darkstar:/mnt/tmp/2015# wine Setup.exe
wine: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory

You don't have libidl or libIDL as a compat32 package. I grabbed the i486 package from ~/current and copied over the lib to /usr/lib & made symlinks
Code:

root@darkstar:/usr/lib# ls libIDL*
libIDL-2.la  libIDL-2.so.0.0.0
root@darkstar:/usr/lib# ln -s  libIDL-2.so.0.0.0 libIDL-2.so.
root@darkstar:/usr/lib# ln -s  libIDL-2.so.0.0.0 libIDL-2.so.0
root@darkstar:/usr/lib# ln -s  libIDL-2.so.0.0.0 libIDL-2.so.0.0

It still puked because it required a different library
Code:

root@darkstar:/mnt/tmp/2015# wine Setup.exe
wine: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory

So I went at that
Code:

root@darkstar:/mnt/tmp/2015# ln -s  /usr/lib/libIDL-2.so.0.0.0 /usr/lib/libIDL-2.so
root@darkstar:/mnt/tmp/2015# wine Setup.exe
wine: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
root@darkstar:/mnt/tmp/2015# mv  /usr/lib/libIDL-2.so /usr/lib/libIDL.so.2
root@darkstar:/mnt/tmp/2015# wine Setup.exe
wine: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
root@darkstar:/mnt/tmp/2015# ls -l /usr/lib/libIDL.so.2
lrwxrwxrwx 1 root root 26 Nov 26 19:03 /usr/lib/libIDL.so.2 -> /usr/lib/libIDL-2.so.0.0.0
root@darkstar:/mnt/tmp/2015# ls -l /usr/lib/libIDL-2.so.0.0.0
-rwxr-xr-x 1 root root 163332 Nov 26 18:58 /usr/lib/libIDL-2.so.0.0.0

Any ideas? The cd program is painlessly installed on the hard disk in 14.1.

Alien Bob 11-26-2016 01:40 PM

Well, the library files libdl.so and libiDL.so are not the same, obviously.
So, libdl is part of glibc and my guess is that you do not have the multilib version of glibc packages installed.

Edit: idlemoor (55020) basically said the same thing before you posted your reply.

business_kid 11-27-2016 03:51 AM

Well, I got the libdl stuff from my 14.1 install, and glibc-solibs fi586 from heanet, the local ftp mirror, but still no dice
Code:

root@darkstar:/mnt/tmp/2015# wine Setup.exe
wine: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
root@darkstar:/mnt/tmp/2015#

It's beginning to amaze me how many libraries this doesn't have.

Alien Bob 11-27-2016 04:11 AM

Quote:

Originally Posted by business_kid (Post 5634977)
Well, I got the libdl stuff from my 14.1 install, and glibc-solibs fi586 from heanet, the local ftp mirror, but still no dice
Code:

root@darkstar:/mnt/tmp/2015# wine Setup.exe
wine: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
root@darkstar:/mnt/tmp/2015#

It's beginning to amaze me how many libraries this doesn't have.

Be specific please. You are building a frankenbox by collecting libraries from vaguely described places.
What do you have installed?
Code:

ls -l /var/log/packages/ | grep -E '(multilib|compat)'

kjhambrick 11-27-2016 05:12 AM

business_kid --

Have you read Alien Bob's Multilib Doc: Adding Multilib Capability to Slackware on x86_64 Architecture ?

His HOWTO has never lead me astray since I started running Slackware64 13.37 + MultiLib.

Something you WILL want to consider for your 8-GB USB Stick is disk space.

You will eventually hit the wall ( disk-space wise ) with an 8-GB USB Stick as you install more Packages.

Anyhow, to keep the overhead to a minimum on the USB Sticks, this is what I do ...

First, I download the Package Trees for Slackware, MultiLib and SBo onto a HDD Partition on my 'real machine'.

Then I boot the USB and mount the 'real HDD Partition' after the USB Stick has been booted.

I install the Packages I need on the USB 'the good old Slackware way' ( installpkg or upgradepkg or removepkg ).

That way, I can install the Packages I need on the USB without using up additional space for the repositories or for the Package Management DataBases.

I am not an expert by any means but this scheme is working for me on three different USB Drives ( 8GB, 32GB and 64GB )...

HTH.

-- kjh

business_kid 11-27-2016 08:23 AM

Being specific, I installed the entire multilib without xsane-compat32, and /lib/libdl.* from 14.1. Not a few of them either
Code:

ls /var/log/packages/{gcc*,glibc*,lib*}
/var/log/packages/gcc-4.8.2_multilib-x86_64-1alien              /var/log/packages/libart_lgpl-2.3.21-x86_64-1                    /var/log/packages/libnetfilter_cttimeout-1.0.0-x86_64-1
/var/log/packages/gcc-5.3.0-x86_64-3                            /var/log/packages/libart_lgpl-compat32-2.3.21-x86_64-1compat32  /var/log/packages/libnetfilter_log-1.0.1-x86_64-1
/var/log/packages/gcc-g++-4.8.2_multilib-x86_64-1alien          /var/log/packages/libassuan-2.4.2-x86_64-1                      /var/log/packages/libnetfilter_queue-1.0.2-x86_64-1
/var/log/packages/gcc-g++-5.3.0-x86_64-3                        /var/log/packages/libasyncns-0.8-x86_64-1                        /var/log/packages/libnfnetlink-1.0.1-x86_64-1
/var/log/packages/gcc-gfortran-4.8.2_multilib-x86_64-1alien      /var/log/packages/libasyncns-compat32-0.8-x86_64-1compat32      /var/log/packages/libnftnl-1.0.6-x86_64-1
/var/log/packages/gcc-gfortran-5.3.0-x86_64-3                    /var/log/packages/libatasmart-0.19-x86_64-2                      /var/log/packages/libnih-1.0.3-x86_64-2
/var/log/packages/gcc-gnat-4.8.2_multilib-x86_64-1alien          /var/log/packages/libbluedevil-2.1-x86_64-1                      /var/log/packages/libnjb-2.2.6-x86_64-5
/var/log/packages/gcc-gnat-5.3.0-x86_64-3                        /var/log/packages/libcaca-0.99.beta18-x86_64-2                  /var/log/packages/libnl-1.1.4-x86_64-1
/var/log/packages/gcc-go-4.8.2_multilib-x86_64-1alien            /var/log/packages/libcanberra-0.30-x86_64-5                      /var/log/packages/libnl3-3.2.27-x86_64-1
/var/log/packages/gcc-go-5.3.0-x86_64-3                          /var/log/packages/libcap-2.22-x86_64-1                          /var/log/packages/libnl3-compat32-3.2.27-x86_64-1compat32
/var/log/packages/gcc-java-4.8.2_multilib-x86_64-1alien          /var/log/packages/libcap-ng-0.7.7-x86_64-1                      /var/log/packages/libnm-qt-0.9.8.3-x86_64-2
/var/log/packages/gcc-java-5.3.0-x86_64-3                        /var/log/packages/libcddb-1.3.2-x86_64-3                        /var/log/packages/libnotify-0.7.6-x86_64-1
/var/log/packages/gcc-objc-4.8.2_multilib-x86_64-1alien          /var/log/packages/libcdio-0.93-x86_64-1                          /var/log/packages/libnotify-compat32-0.7.6-x86_64-1compat32
/var/log/packages/gcc-objc-5.3.0-x86_64-3                        /var/log/packages/libcdio-paranoia-10.2+0.93+1-x86_64-1          /var/log/packages/libodfgen-0.1.6-x86_64-1
/var/log/packages/gccmakedep-1.0.3-noarch-1                      /var/log/packages/libcgroup-0.41-x86_64-1                        /var/log/packages/libogg-1.3.2-x86_64-1
/var/log/packages/glibc-2.23-x86_64-1                            /var/log/packages/libcroco-0.6.11-x86_64-1                      /var/log/packages/libogg-compat32-1.3.2-x86_64-1compat32
/var/log/packages/glibc-i18n-2.23-x86_64-1                      /var/log/packages/libdbusmenu-qt-0.9.2-x86_64-2                  /var/log/packages/liboggz-1.1.1-x86_64-1
/var/log/packages/glibc-profile-2.23-x86_64-1                    /var/log/packages/libdiscid-0.6.1-x86_64-1                      /var/log/packages/liboil-0.3.17-x86_64-1
/var/log/packages/glibc-solibs-2.23-x86_64-1                    /var/log/packages/libdmx-1.1.3-x86_64-2                          /var/log/packages/libpcap-1.7.4-x86_64-1
/var/log/packages/glibc-zoneinfo-2016e-noarch-1                  /var/log/packages/libdmx-compat32-1.1.3-x86_64-2compat32        /var/log/packages/libpcap-compat32-1.7.4-x86_64-1compat32
/var/log/packages/libFS-1.0.7-x86_64-1                          /var/log/packages/libdrm-2.4.68-x86_64-1                        /var/log/packages/libpciaccess-0.13.4-x86_64-1
/var/log/packages/libFS-compat32-1.0.7-x86_64-1compat32          /var/log/packages/libdrm-compat32-2.4.73-x86_64-1compat32        /var/log/packages/libpciaccess-compat32-0.13.4-x86_64-1compat32
/var/log/packages/libICE-1.0.9-x86_64-2                          /var/log/packages/libdvdnav-5.0.3-x86_64-1                      /var/log/packages/libplist-1.12-x86_64-1
/var/log/packages/libICE-compat32-1.0.9-x86_64-2compat32        /var/log/packages/libdvdread-5.0.3-x86_64-1                      /var/log/packages/libpng-1.6.23-x86_64-1
/var/log/packages/libSM-1.2.2-x86_64-2                          /var/log/packages/libepoxy-1.3.1-x86_64-1                        /var/log/packages/libpng-compat32-1.6.23-x86_64-1compat32
/var/log/packages/libSM-compat32-1.2.2-x86_64-2compat32          /var/log/packages/libepoxy-compat32-1.3.1-x86_64-1compat32      /var/log/packages/libproxy-0.4.12-x86_64-1
/var/log/packages/libX11-1.6.3-x86_64-2                          /var/log/packages/liberation-fonts-ttf-1.07.4-noarch-1          /var/log/packages/libpthread-stubs-0.3-noarch-1
/var/log/packages/libX11-compat32-1.6.4-x86_64-1compat32        /var/log/packages/libevdev-1.4.1-x86_64-1                        /var/log/packages/libqmi-1.12.6-x86_64-1
/var/log/packages/libXScrnSaver-1.2.2-x86_64-2                  /var/log/packages/libevent-2.0.22-x86_64-1                      /var/log/packages/libraw1394-2.1.1-x86_64-1
/var/log/packages/libXScrnSaver-compat32-1.2.2-x86_64-2compat32  /var/log/packages/libexif-0.6.21-x86_64-1                        /var/log/packages/librevenge-0.0.4-x86_64-1
/var/log/packages/libXau-1.0.8-x86_64-2                          /var/log/packages/libexif-compat32-0.6.21-x86_64-1compat32      /var/log/packages/librsvg-2.40.16-x86_64-1
/var/log/packages/libXau-compat32-1.0.8-x86_64-2compat32        /var/log/packages/libfakekey-0.1-x86_64-1                        /var/log/packages/libsamplerate-0.1.8-x86_64-1
/var/log/packages/libXaw-1.0.13-x86_64-1                        /var/log/packages/libffi-3.2.1-x86_64-1                          /var/log/packages/libsamplerate-compat32-0.1.8-x86_64-1compat32
/var/log/packages/libXaw-compat32-1.0.13-x86_64-1compat32        /var/log/packages/libffi-compat32-3.2.1-x86_64-1compat32        /var/log/packages/libsecret-0.18.5-x86_64-1
/var/log/packages/libXaw3d-1.6.2-x86_64-3                        /var/log/packages/libfontenc-1.1.3-x86_64-1                      /var/log/packages/libsigc++-2.6.2-x86_64-1
/var/log/packages/libXaw3dXft-1.6.2d-x86_64-2                    /var/log/packages/libfontenc-compat32-1.1.3-x86_64-1compat32    /var/log/packages/libsigsegv-2.10-x86_64-1
/var/log/packages/libXcm-0.5.2-x86_64-2                          /var/log/packages/libgcrypt-1.7.1-x86_64-1                      /var/log/packages/libsndfile-1.0.26-x86_64-1
/var/log/packages/libXcomposite-0.4.4-x86_64-2                  /var/log/packages/libgcrypt-compat32-1.7.3-x86_64-1compat32      /var/log/packages/libsndfile-compat32-1.0.26-x86_64-1compat32
/var/log/packages/libXcomposite-compat32-0.4.4-x86_64-2compat32  /var/log/packages/libglade-2.6.4-x86_64-5                        /var/log/packages/libsoup-2.52.2-x86_64-2
/var/log/packages/libXcursor-1.1.14-x86_64-2                    /var/log/packages/libglade-compat32-2.6.4-x86_64-5compat32      /var/log/packages/libspectre-0.2.7-x86_64-1
/var/log/packages/libXcursor-compat32-1.1.14-x86_64-2compat32    /var/log/packages/libgnome-keyring-3.12.0-x86_64-1              /var/log/packages/libssh-0.7.3-x86_64-1
/var/log/packages/libXdamage-1.1.4-x86_64-2                      /var/log/packages/libgpg-error-1.23-x86_64-1                    /var/log/packages/libssh2-1.7.0-x86_64-1
/var/log/packages/libXdamage-compat32-1.1.4-x86_64-2compat32    /var/log/packages/libgpg-error-compat32-1.23-x86_64-1compat32    /var/log/packages/libtasn1-4.8-x86_64-1
/var/log/packages/libXdmcp-1.1.2-x86_64-2                        /var/log/packages/libgphoto2-2.5.10-x86_64-1                    /var/log/packages/libtasn1-compat32-4.9-x86_64-1compat32
/var/log/packages/libXdmcp-compat32-1.1.2-x86_64-2compat32      /var/log/packages/libgphoto2-compat32-2.5.10-x86_64-1compat32    /var/log/packages/libtermcap-1.2.3-x86_64-7
/var/log/packages/libXevie-1.0.3-x86_64-2                        /var/log/packages/libgpod-0.8.3-x86_64-2                        /var/log/packages/libtermcap-compat32-1.2.3-x86_64-7compat32
/var/log/packages/libXevie-compat32-1.0.3-x86_64-2compat32      /var/log/packages/libgsf-1.14.36-x86_64-1                        /var/log/packages/libtheora-1.1.1-x86_64-1
/var/log/packages/libXext-1.3.3-x86_64-2                        /var/log/packages/libgudev-230-x86_64-1                          /var/log/packages/libtiff-4.0.6-x86_64-1
/var/log/packages/libXext-compat32-1.3.3-x86_64-2compat32        /var/log/packages/libgudev-compat32-230-x86_64-1compat32        /var/log/packages/libtiff-compat32-4.0.6-x86_64-1compat32
/var/log/packages/libXfixes-5.0.2-x86_64-1                      /var/log/packages/libhangul-0.1.0-x86_64-1                      /var/log/packages/libtirpc-1.0.1-x86_64-2
/var/log/packages/libXfixes-compat32-5.0.3-x86_64-1compat32      /var/log/packages/libical-2.0.0-x86_64-1                        /var/log/packages/libtirpc-compat32-1.0.1-x86_64-2compat32
/var/log/packages/libXfont-1.5.1-x86_64-2                        /var/log/packages/libid3tag-0.15.1b-x86_64-4                    /var/log/packages/libtool-2.4.6-x86_64-4
/var/log/packages/libXfont-compat32-1.5.2-x86_64-1compat32      /var/log/packages/libidl-0.8.14-x86_64-1                        /var/log/packages/libtool-compat32-2.4.6-x86_64-4compat32
/var/log/packages/libXfont2-compat32-2.0.1-x86_64-1compat32      /var/log/packages/libidn-1.30-x86_64-1                          /var/log/packages/libunistring-0.9.3-x86_64-1
/var/log/packages/libXfontcache-1.0.5-x86_64-2                  /var/log/packages/libidn-compat32-1.33-x86_64-1compat32          /var/log/packages/libusb-1.0.20-x86_64-1
/var/log/packages/libXfontcache-compat32-1.0.5-x86_64-2compat32  /var/log/packages/libieee1284-0.2.11-x86_64-3                    /var/log/packages/libusb-compat-0.1.5-x86_64-2
/var/log/packages/libXft-2.3.2-x86_64-3                          /var/log/packages/libieee1284-compat32-0.2.11-x86_64-3compat32  /var/log/packages/libusb-compat32-1.0.20-x86_64-1compat32
/var/log/packages/libXft-compat32-2.3.2-x86_64-3compat32        /var/log/packages/libimobiledevice-1.2.0-x86_64-1                /var/log/packages/libusbmuxd-1.0.10-x86_64-1
/var/log/packages/libXi-1.7.6-x86_64-1                          /var/log/packages/libiodbc-3.52.10-x86_64-2                      /var/log/packages/libva-1.6.2-x86_64-1
/var/log/packages/libXi-compat32-1.7.8-x86_64-1compat32          /var/log/packages/libjpeg-turbo-1.5.0-x86_64-1                  /var/log/packages/libva-compat32-1.6.2-x86_64-1compat32
/var/log/packages/libXinerama-1.1.3-x86_64-2                    /var/log/packages/libjpeg-turbo-compat32-1.5.0-x86_64-1compat32  /var/log/packages/libva-intel-driver-1.6.2-x86_64-1
/var/log/packages/libXinerama-compat32-1.1.3-x86_64-2compat32    /var/log/packages/libkarma-0.1.1-x86_64-2                        /var/log/packages/libva-intel-driver-compat32-1.6.2-x86_64-1compat32
/var/log/packages/libXmu-1.1.2-x86_64-2                          /var/log/packages/libkcddb-4.14.3-x86_64-2                      /var/log/packages/libvdpau-1.1.1-x86_64-1
/var/log/packages/libXmu-compat32-1.1.2-x86_64-2compat32        /var/log/packages/libkcompactdisc-4.14.3-x86_64-2                /var/log/packages/libvdpau-compat32-1.1.1-x86_64-1compat32
/var/log/packages/libXp-1.0.3-x86_64-2                          /var/log/packages/libkdcraw-4.14.3-x86_64-3                      /var/log/packages/libvisio-0.1.5-x86_64-1
/var/log/packages/libXp-compat32-1.0.3-x86_64-2compat32          /var/log/packages/libkdeedu-4.14.3-x86_64-2                      /var/log/packages/libvisual-0.4.0-x86_64-3
/var/log/packages/libXpm-3.5.11-x86_64-2                        /var/log/packages/libkdegames-4.14.3-x86_64-2                    /var/log/packages/libvisual-plugins-0.4.0-x86_64-2
/var/log/packages/libXpm-compat32-3.5.11-x86_64-2compat32        /var/log/packages/libkexiv2-4.14.3-x86_64-2                      /var/log/packages/libvncserver-0.9.10-x86_64-2
/var/log/packages/libXpresent-1.0.0-x86_64-1                    /var/log/packages/libkipi-4.14.3-x86_64-2                        /var/log/packages/libvorbis-1.3.5-x86_64-1
/var/log/packages/libXrandr-1.5.0-x86_64-1                      /var/log/packages/libkmahjongg-4.14.3-x86_64-2                  /var/log/packages/libvorbis-compat32-1.3.5-x86_64-1compat32
/var/log/packages/libXrandr-compat32-1.5.1-x86_64-1compat32      /var/log/packages/libkomparediff2-4.14.3-x86_64-2                /var/log/packages/libvpx-1.5.0-x86_64-1
/var/log/packages/libXrender-0.9.9-x86_64-1                      /var/log/packages/libksane-4.14.3-x86_64-2                      /var/log/packages/libwmf-0.2.8.4-x86_64-6
/var/log/packages/libXrender-compat32-0.9.10-x86_64-1compat32    /var/log/packages/libksba-1.3.3-x86_64-1                        /var/log/packages/libwmf-docs-0.2.8.4-noarch-6
/var/log/packages/libXres-1.0.7-x86_64-2                        /var/log/packages/libkscreen-1.0.5-x86_64-2                      /var/log/packages/libwnck-2.31.0-x86_64-2
/var/log/packages/libXres-compat32-1.0.7-x86_64-2compat32        /var/log/packages/libktorrent-1.3.1-x86_64-3                    /var/log/packages/libwpd-0.10.1-x86_64-1
/var/log/packages/libXt-1.1.5-x86_64-1                          /var/log/packages/liblastfm-1.0.9-x86_64-1                      /var/log/packages/libwpg-0.3.1-x86_64-1
/var/log/packages/libXt-compat32-1.1.5-x86_64-1compat32          /var/log/packages/libmad-0.15.1b-x86_64-3                        /var/log/packages/libx86-1.1-x86_64-2
/var/log/packages/libXtst-1.2.2-x86_64-2                        /var/log/packages/libmbim-1.12.2-x86_64-2                        /var/log/packages/libxcb-1.11.1-x86_64-1
/var/log/packages/libXtst-compat32-1.2.3-x86_64-1compat32        /var/log/packages/libmcrypt-2.5.8-x86_64-1                      /var/log/packages/libxcb-compat32-1.12-x86_64-1compat32
/var/log/packages/libXv-1.0.10-x86_64-2                          /var/log/packages/libmcs-0.7.2-x86_64-1                          /var/log/packages/libxfce4ui-4.12.1-x86_64-2
/var/log/packages/libXv-compat32-1.0.11-x86_64-1compat32        /var/log/packages/libmm-qt-1.0.1-x86_64-2                        /var/log/packages/libxfce4util-4.12.1-x86_64-2
/var/log/packages/libXvMC-1.0.9-x86_64-2                        /var/log/packages/libmng-2.0.3-x86_64-1                          /var/log/packages/libxkbfile-1.0.9-x86_64-1
/var/log/packages/libXvMC-compat32-1.0.10-x86_64-1compat32      /var/log/packages/libmng-compat32-2.0.3-x86_64-1compat32        /var/log/packages/libxklavier-5.4-x86_64-1
/var/log/packages/libXxf86dga-1.1.4-x86_64-2                    /var/log/packages/libmnl-1.0.3-x86_64-1                          /var/log/packages/libxml2-2.9.4-x86_64-2
/var/log/packages/libXxf86dga-compat32-1.1.4-x86_64-2compat32    /var/log/packages/libmowgli-0.7.1-x86_64-1                      /var/log/packages/libxml2-compat32-2.9.4-x86_64-3compat32
/var/log/packages/libXxf86misc-1.0.3-x86_64-2                    /var/log/packages/libmpc-1.0.3-x86_64-1                          /var/log/packages/libxshmfence-1.2-x86_64-2
/var/log/packages/libXxf86misc-compat32-1.0.3-x86_64-2compat32  /var/log/packages/libmpc-compat32-1.0.3-x86_64-1compat32        /var/log/packages/libxshmfence-compat32-1.2-x86_64-2compat32
/var/log/packages/libXxf86vm-1.1.4-x86_64-2                      /var/log/packages/libmsn-4.2.1-x86_64-2                          /var/log/packages/libxslt-1.1.29-x86_64-1
/var/log/packages/libXxf86vm-compat32-1.1.4-x86_64-2compat32    /var/log/packages/libmtp-1.1.11-x86_64-1                        /var/log/packages/libxslt-compat32-1.1.29-x86_64-1compat32
/var/log/packages/libaio-0.3.109-x86_64-1                        /var/log/packages/libndp-1.6-x86_64-1                            /var/log/packages/libyaml-0.1.6-x86_64-1
/var/log/packages/libaio-compat32-0.3.109-x86_64-1compat32      /var/log/packages/libnetfilter_acct-1.0.2-x86_64-1              /var/log/packages/libzip-1.0.1-x86_64-2
/var/log/packages/libao-1.2.0-x86_64-3                          /var/log/packages/libnetfilter_conntrack-1.0.5-x86_64-1
/var/log/packages/libarchive-3.2.1-x86_64-1                      /var/log/packages/libnetfilter_cthelper-1.0.0-x86_64-1
root@darkstar:/mnt/dvd/var/log/packages#

I also tried a link from /lib/incoming/libc-2.24.so /lib/libc.so.6, but Yet when I try to run the program, I get
Code:

root@darkstar:/mnt/dvd/var/log/packages# wine Setup.exe
wine: relocation error: /lib/libpthread.so.0: symbol h_errno, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference

I'm not finding libc.so.6 and that's with multilib stuff installed.

55020 11-27-2016 10:01 AM

Once again: you have not installed multilib glibc. This is the single most important, most fundamental, least optional part of multilib!

Get these, and install them:
http://www.slackware.com/~alien/mult..._64-1alien.txz
http://www.slackware.com/~alien/mult..._64-1alien.txz
http://www.slackware.com/~alien/mult..._64-1alien.txz
http://www.slackware.com/~alien/mult..._64-1alien.txz

business_kid 11-27-2016 10:28 AM

I was obviously missing something. Now it returns
Code:

root@darkstar:/mnt/dvd/2015# wine Setup.exe
Segmentation fault

That's complaining of a memory error. Unless my copy of the cdrom has gone faulty (which I will check) that's another quirk of the usb install. Did you ever get sorry you started something?

EDIT: Checked the cdrom in a hard disk install, and no segfault. That would indicate the code is ok.

Alien Bob 11-27-2016 04:39 PM

Quote:

Originally Posted by business_kid (Post 5635068)
I was obviously missing something. Now it returns
Code:

root@darkstar:/mnt/dvd/2015# wine Setup.exe
Segmentation fault

That's complaining of a memory error. Unless my copy of the cdrom has gone faulty (which I will check) that's another quirk of the usb install. Did you ever get sorry you started something?

I am not sorry about any of the projects I started. But I am regretting some of the conversations where I try to help people that are holding back relevant information no matter how specific the questions are. They cost me time I could have spent on better things.

There are tools you can use to get more detail about where and how this segfault is occuring. You are a regular here, so I must assume that you know about some basic troubleshooting. Time to start that. And before replying to anything in this thread, show us EXACTLY what your latest repairs were. What did you do after you realized "obviously missing something" and what did you do with the copied libld file(s)? I really hope you removed that/those.

Also, you are running wine as root... why? There is an account "live" on that live OS which is meant for all the "user" stuff.

business_kid 11-28-2016 04:12 AM

I'm not up to usual form and definitely regretting starting this, although I will be glad to get it working. The extra libdl stuff has been overwritten by the glibc packages and the remains removed. My last move was installing the four linked glibc packages(glibc-2.23_multilib-x86_64-1alien.txz, glibc-i18n-2.23_multilib-x86_64-1alien.txz, . I glibc-profile-2.23_multilib-x86_64-1alien.txz, glibc-solibs-2.23_multilib-x86_64-1alien.txz). I had logged in as 'live' and had done an 'su' to root which may not have been necessary, but it was a permissions thing. and I was shuffling usb disks, which needed root to mount them.

I'm not eager to go at this with debuggers because I'm primarily a hardware guy and not the best with them.

Alien Bob 11-28-2016 04:16 AM

So what exactly is that permission error looking like? Be more specific in the description of your issues if you want other people to assist.
Try all your wine commands as the regular user, not as root.

business_kid 11-28-2016 04:32 AM

The permissions error is just the usual stuff mounting disks "Only root can do that!" The program error actually gives me a little more as user
Code:

live@darkstar:/mnt/dvd/2015$ wine Setup.exe
preloader: Warning: failed to reserve range 00010000-00110000
Segmentation fault
live@darkstar:/mnt/dvd/2015$

I hadn't seen the 'failed to reserve range' bit before. Is a kernel compile needed for that, or was there a patch?

Alien Bob 11-28-2016 05:46 AM

Quote:

Originally Posted by business_kid (Post 5635295)
The permissions error is just the usual stuff mounting disks "Only root can do that!" The program error actually gives me a little more as user
Code:

live@darkstar:/mnt/dvd/2015$ wine Setup.exe
preloader: Warning: failed to reserve range 00010000-00110000
Segmentation fault
live@darkstar:/mnt/dvd/2015$

I hadn't seen the 'failed to reserve range' bit before. Is a kernel compile needed for that, or was there a patch?

The solution for the range warning, see http://www.linuxquestions.org/questi...7/#post4220946

Alien Bob 11-28-2016 06:01 AM

For verbosity sake: you DO have the following packages installed in addition to my wine package: OpenAL (64bit package) as well as OpenAL-compat32 (32bit package converted using the "convertpkg-compat32" script)?

business_kid 11-28-2016 10:02 AM

No, I didn't have OpenAL installed, nobody has mentioned it before now, why should I have that installed? I went off got and installed them (OpenAL in x86_64 & i486, the latter hit with the conversion script) but it made no odds.

I also put something in /etc/sysctl.conf that I got from googling that allocation error
Code:

live@darkstar:~/Downloads$ cat /etc/sysctl.conf
vm.mmap_min_addr=0
live@darkstar:~/Downloads$

Now the "failed to reserve range 00010000-00110000" warning is gone, but the segfault remains on the usb key but not on the laptop.
Code:

live@darkstar:~/Downloads$ wine ./Setup.exe
Segmentation fault
live@darkstar:~/Downloads$ wine ./autorun.exe
Segmentation fault


bassmadrigal 11-28-2016 10:18 AM

Quote:

Originally Posted by business_kid (Post 5635399)
No, I didn't have OpenAL installed, nobody has mentioned it before now, why should I have that installed? I went off got and installed them (OpenAL in x86_64 & i486, the latter hit with the conversion script) but it made no odds.

It's listed in his dependency file in the wine package directory. You should always check the .dep files to ensure you grab all required dependencies.

http://www.slackware.com/~alien/slac..._64-1alien.dep

montagdude 11-28-2016 10:22 AM

Quote:

Originally Posted by business_kid (Post 5635399)
No, I didn't have OpenAL installed, nobody has mentioned it before now, why should I have that installed?

It was mentioned, in post #4.

Alien Bob 11-28-2016 10:41 AM

Quote:

Originally Posted by business_kid (Post 5634140)
I have an 8G usb stick with Liveslak-14.2 created with the iso2usb.sh script.

OK, I'll bite the bait once more. You did not mention which ISO file you downloaded and copied to your USB stick. The term "liveslak" refers to the scripts that create the Live ISO. But actually, there are several Live ISO images available for download. The content of these ISO's is what's called Slackware Live Edition (several variants: SLACKWARE, PLASMA5, MATE, XFCE, ... with varying package sets)

One of the ISO's is the actual Slackware Live Edition (Slackware64 14.2): http://bear.alienbase.nl/mirrors/sla...e64-14.2-live/

Did you download that one?

business_kid 11-28-2016 01:48 PM

I'm pretty sure I have the 'live' usb key iso. It certainly has live as user and root as root. It does funny things with loop mounts. Excuse the length here
Code:

live@darkstar:/$ cat /proc/mounts
overlay / overlay rw,relatime,lowerdir=/mnt/live/modules/0099-slackware_zzzconf-14.2-x86_64:/mnt/live/modules/0020-slackware_slackextra-14.2-x86_64:/mnt/live/modules/0010-slackware_y-14.2-x86_64:/mnt/live/modules/0010-slackware_xfce-14.2-x86_64:/mnt/live/modules/0010-slackware_xap-14.2-x86_64:/mnt/live/modules/0010-slackware_x-14.2-x86_64:/mnt/live/modules/0010-slackware_tcl-14.2-x86_64:/mnt/live/modules/0010-slackware_t-14.2-x86_64:/mnt/live/modules/0010-slackware_n-14.2-x86_64:/mnt/live/modules/0010-slackware_l-14.2-x86_64:/mnt/live/modules/0010-slackware_kdei-14.2-x86_64:/mnt/live/modules/0010-slackware_kde-14.2-x86_64:/mnt/live/modules/0010-slackware_k-14.2-x86_64:/mnt/live/modules/0010-slackware_f-14.2-x86_64:/mnt/live/modules/0010-slackware_e-14.2-x86_64:/mnt/live/modules/0010-slackware_d-14.2-x86_64:/mnt/live/modules/0010-slackware_ap-14.2-x86_64:/mnt/live/modules/0010-slackware_a-14.2-x86_64:/mnt/live/modules/0000-slackware_boot-14.2-x86_64,upperdir=/mnt/media/persistence,workdir=/mnt/media/.ovlwork 0 0
none /mnt/live tmpfs rw,relatime,size=2995844k 0 0
/dev/loop0 /mnt/live/modules/0000-slackware_boot-14.2-x86_64 squashfs ro,relatime 0 0
/dev/loop1 /mnt/live/modules/0010-slackware_a-14.2-x86_64 squashfs ro,relatime 0 0
/dev/loop2 /mnt/live/modules/0010-slackware_ap-14.2-x86_64 squashfs ro,relatime 0 0
/dev/loop3 /mnt/live/modules/0010-slackware_d-14.2-x86_64 squashfs ro,relatime 0 0
/dev/loop4 /mnt/live/modules/0010-slackware_e-14.2-x86_64 squashfs ro,relatime 0 0
/dev/loop5 /mnt/live/modules/0010-slackware_f-14.2-x86_64 squashfs ro,relatime 0 0
/dev/loop6 /mnt/live/modules/0010-slackware_k-14.2-x86_64 squashfs ro,relatime 0 0
/dev/loop7 /mnt/live/modules/0010-slackware_kde-14.2-x86_64 squashfs ro,relatime 0 0                                                                                                                                           
/dev/loop8 /mnt/live/modules/0010-slackware_kdei-14.2-x86_64 squashfs ro,relatime 0 0                                                                                                                                           
/dev/loop9 /mnt/live/modules/0010-slackware_l-14.2-x86_64 squashfs ro,relatime 0 0                                                                                                                                             
/dev/loop10 /mnt/live/modules/0010-slackware_n-14.2-x86_64 squashfs ro,relatime 0 0                                                                                                                                             
/dev/loop11 /mnt/live/modules/0010-slackware_t-14.2-x86_64 squashfs ro,relatime 0 0                                                                                                                                             
/dev/loop12 /mnt/live/modules/0010-slackware_tcl-14.2-x86_64 squashfs ro,relatime 0 0                                                                                                                                           
/dev/loop13 /mnt/live/modules/0010-slackware_x-14.2-x86_64 squashfs ro,relatime 0 0                                                                                                                                             
/dev/loop14 /mnt/live/modules/0010-slackware_xap-14.2-x86_64 squashfs ro,relatime 0 0                                                                                                                                           
/dev/loop15 /mnt/live/modules/0010-slackware_xfce-14.2-x86_64 squashfs ro,relatime 0 0                                                                                                                                         
/dev/loop16 /mnt/live/modules/0010-slackware_y-14.2-x86_64 squashfs ro,relatime 0 0                                                                                                                                             
/dev/loop17 /mnt/live/modules/0020-slackware_slackextra-14.2-x86_64 squashfs ro,relatime 0 0                                                                                                                                   
/dev/loop18 /mnt/live/modules/0099-slackware_zzzconf-14.2-x86_64 squashfs ro,relatime 0 0                                                                                                                                       
overlay /mnt/liveslakfs overlay ro,relatime,lowerdir=/mnt/live/modules/0020-slackware_slackextra-14.2-x86_64:/mnt/live/modules/0010-slackware_y-14.2-x86_64:/mnt/live/modules/0010-slackware_xfce-14.2-x86_64:/mnt/live/modules/0010-slackware_xap-14.2-x86_64:/mnt/live/modules/0010-slackware_x-14.2-x86_64:/mnt/live/modules/0010-slackware_tcl-14.2-x86_64:/mnt/live/modules/0010-slackware_t-14.2-x86_64:/mnt/live/modules/0010-slackware_n-14.2-x86_64:/mnt/live/modules/0010-slackware_l-14.2-x86_64:/mnt/live/modules/0010-slackware_kdei-14.2-x86_64:/mnt/live/modules/0010-slackware_kde-14.2-x86_64:/mnt/live/modules/0010-slackware_k-14.2-x86_64:/mnt/live/modules/0010-slackware_f-14.2-x86_64:/mnt/live/modules/0010-slackware_e-14.2-x86_64:/mnt/live/modules/0010-slackware_d-14.2-x86_64:/mnt/live/modules/0010-slackware_ap-14.2-x86_64:/mnt/live/modules/0010-slackware_a-14.2-x86_64:/mnt/live/modules/0000-slackware_boot-14.2-x86_64 0 0                                                                                                                                                                                                     
/dev/sdb3 /mnt/livemedia ext4 rw,relatime,data=ordered 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,relatime 0 0
tmpfs /run tmpfs rw,relatime,mode=755 0 0
devtmpfs /dev devtmpfs rw,relatime,size=2985456k,nr_inodes=746364,mode=755 0 0
devpts /dev/pts devpts rw,relatime,gid=5,mode=620,ptmxmode=000 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev,relatime 0 0
cgroup_root /sys/fs/cgroup tmpfs rw,relatime,mode=755 0 0
cpuset /sys/fs/cgroup/cpuset cgroup rw,relatime,cpuset 0 0
cpu /sys/fs/cgroup/cpu cgroup rw,relatime,cpu 0 0
cpuacct /sys/fs/cgroup/cpuacct cgroup rw,relatime,cpuacct 0 0
blkio /sys/fs/cgroup/blkio cgroup rw,relatime,blkio 0 0
memory /sys/fs/cgroup/memory cgroup rw,relatime,memory 0 0
devices /sys/fs/cgroup/devices cgroup rw,relatime,devices 0 0
freezer /sys/fs/cgroup/freezer cgroup rw,relatime,freezer 0 0
net_cls /sys/fs/cgroup/net_cls cgroup rw,relatime,net_cls 0 0
perf_event /sys/fs/cgroup/perf_event cgroup rw,relatime,perf_event 0 0
net_prio /sys/fs/cgroup/net_prio cgroup rw,relatime,net_prio 0 0
pids /sys/fs/cgroup/pids cgroup rw,relatime,pids 0 0
fusectl /sys/fs/fuse/connections fusectl rw,relatime 0 0
tmpfs /tmp tmpfs rw,nosuid,nodev,relatime 0 0
tmpfs /var/tmp tmpfs rw,nosuid,nodev,relatime 0 0
cgmfs /run/cgmanager/fs tmpfs rw,relatime,size=100k,mode=755 0 0
gvfsd-fuse /home/live/.gvfs fuse.gvfsd-fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=100 0 0

It uses the Kickoff Application Launcher - not XFCE. There's no /etc/slackware-version, kernel is 4.4.14.

Alien Bob 11-28-2016 02:49 PM

Yeah that output looks like you are using the Live ISO whose URL I linked to. That output is correct, it is how a Live OS based on overlays works.

Your remark "I'm pretty sure I have the 'live' usb key iso" is irrelevant, since all these variants are "live usb iso". Created with the same liveslak scripts, only with different parameters to incorporate different package sets.

business_kid 11-29-2016 05:54 AM

Well, even with WINEDEBUG=+all it just throws a segfault - with no other output.
It must happen very early in the program's operation. And it's working fine in the hard disk install.

bassmadrigal 11-29-2016 06:35 AM

Since it seems like you did quite a few things to try and get this to work, it might be time to start over, install multilib as the instructions state including the compat32 libraries, then install wine and its dependencies and see if the same thing happens. Considering the resulting thumbdrive should be a normal Slackware installation, if it isn't working on your thumbdrive, but is working on your harddrive, it is likely something that is installed wrong on the thumbdrive.

Alien Bob 11-29-2016 11:06 AM

I tested today on my own USB key with Slackware Live Edition 1.1.4 (Plasma5 variant). Actually, I am typing this text while running this Slackware Live.

The USB Live key is based on Slackware-current, not 14.2, but that should not matter I think.
I built a set of new wine 1.9.23 packages. Compiled the one I am testing with on Slackware64 14.2 and tested on slackware64-current (the live OS).

It works, no errors. I just ran "wine notepad" to see what would happen and it started the Windows notepad (wine edition) without any issue.

Now, about how I performed the test.

The Slackware Live is made multilib by using the liveslak multilib module which is already part of the PLASMA5 ISO but which you can download for any of the other Slackware-current based Live OS: http://bear.alienbase.nl/mirrors/sla...ent-x86_64.sxz

Just put that file in the /liveslak/addons/ directory on the Linux partition of the USB key and it will be used autmoatically when the Live OS boots. No need to download and install all the individual multilib packages, because the liveslak module will be mounted and become part of the live filesystem.

To use Wine on Slackware Live Edition, you can download a liveslak module for wine and also for OpenAL-compat32 here: http://bear.alienbase.nl/mirrors/slackware-live/bonus/
Dump the two module files into that same /liveslak/addons/ directory on the USB key. It will make wine available in the Live OS after booting, without the need to download and install any packages - wine and openal-compat32 will become part of the Live filesystem automatically.

If you do not use the PLASMA5 variant of Slackware Live Edition, then you will still be missing an OpenAL package. You can either download and install that one, or try your luck with the makemod script to create your own liveslak module out of it:
Code:

makemod /tmp/OpenAL-1.17.1-x86_64-1alien.txz 0060-OpenAL-1.17.1-current-x86_64.sxz

business_kid 11-30-2016 05:26 AM

Well, THAT did the business - No fuss, no messing, thank you very much.

I scrapped what I had, made the Plasma5 variant which is ~1G bigger and uses a different DE, copied ther stuff to the ~/addons directory
Code:

bash-4.3$ ls /mnt/dvd/liveslak/addons
0050-multilib-current-x86_64.sxz
0060-OpenAL-compat32-1.17.1-current-x86_64.sxz
0060-wine-1.9.23-current-x86_64.sxz
bash-4.3$

and away it went with no segfault. I could install my Bible encyclopedia under that environment and it sits neatly on the 8G
Code:

bash-4.3$ df -h       
Filesystem      Size  Used Avail Use% Mounted on
[SNIP!]
/dev/sdb1      1004K    0 1004K  0% /mnt/hd
/dev/sdb2      100M  29M  72M  29% /mnt/tmp
/dev/sdb3      7.2G  5.6G  1.6G  79% /mnt/dvd
tmpfs          2.9G  68K  2.9G  1% /dev/shm
bash-4.3$

as you see, I have space to spare which is always nice, so it all fits. The Bible encyclopedia is ~500MB (checks)=1.4G unarchived but some things go back to 1950, so it's very handy. I'm left wondering why the other iso didn't do it, but not well able to trace it, but it could have been in the dependencies.

business_kid 11-30-2016 08:42 AM

The single fly in the ointment on this usb disk is internet connectivity, which is a luxury anyhow. Do you not have the ath9k module installed? It doesn't seem to be available, and wifi is not sitting up. It could of course be the bad offices of NetworkManager, which I never got on with.

Alien Bob 11-30-2016 02:01 PM

Quote:

Originally Posted by business_kid (Post 5636233)
The single fly in the ointment on this usb disk is internet connectivity, which is a luxury anyhow. Do you not have the ath9k module installed? It doesn't seem to be available, and wifi is not sitting up. It could of course be the bad offices of NetworkManager, which I never got on with.

The ath9k module is part of the Slackware Live ISO (it is part of the Slackware kernel-modules package) so I do not know what your real issue is.

business_kid 12-01-2016 04:12 AM

I have 2 copies now of that live iso. I copied over rc.inet1, rc.inet1.conf, wpa_supplicant.conf & dhcpcd.conf from the hard disk install, but the wifi can't ping the router. I see NetworkManager in there and have to come to grips with that. It's not a huge deal - and the first one went online without too much bother.

business_kid 12-01-2016 08:09 AM

As you say ath9k is in there. It's going online now, just the various utilities to make going online easier competing over the wlan and not having the correct config, and actually making it messy. C'est la vie.


All times are GMT -5. The time now is 07:59 AM.