SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
Last edited by business_kid; 11-24-2016 at 05:52 AM.
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.
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).
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.
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.
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:~$
Last edited by business_kid; 11-26-2016 at 05:04 AM.
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.
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
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.
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.
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.
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)'
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.
Last edited by business_kid; 11-27-2016 at 08:26 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.