Slackware ARM hardware floating point port - now available!

The SARPi project forum. For anything and everything relating to Slackware ARM on a Raspberry Pi 1, 2, and 3. This forum is NOT a replacement or substitute for the Slackware (ARM) forums on Linux Questions website! Please try to seek help there first about any issues you may be experiencing, or question you might have, before posting on here.
User avatar
Exaga
FatDog Network Administrator
FatDog Network Administrator
Posts: 195
Joined: Wed Apr 18 2012 - 02:01:03
Location: England [UK]

Slackware ARM hardware floating point port - now available!

Postby Exaga » Thu Aug 25 2016 - 08:34:11

Slackware ARM hardware floating point port - now available! Thanks to Mozes. :ok:

http://arm.slackware.com/

Source: ftp://ftp.arm.slackware.com/slackwarearm/slackwarearm-current/

SARPi image for the RPi3 has been built and is currently being tested. 8-)
Exaga

====
__ KEEP THE DOG ALIVE!!!
()'`; /
/\|` W00f W00f W00f
www.fatdog.eu

User avatar
Ilgar
Registered user
Registered user
Posts: 9
Joined: Tue Aug 23 2016 - 22:06:56

Re: Slackware ARM hardware floating point port - now availab

Postby Ilgar » Thu Aug 25 2016 - 13:28:44

That's fantastic news, thanks for sharing. I'm getting impatient!

User avatar
Exaga
FatDog Network Administrator
FatDog Network Administrator
Posts: 195
Joined: Wed Apr 18 2012 - 02:01:03
Location: England [UK]

Re: Slackware ARM hardware floating point port - now availab

Postby Exaga » Sat Aug 27 2016 - 15:47:55

Ilgar wrote:That's fantastic news, thanks for sharing. I'm getting impatient!


Enough of waiting. Here's the SARPi3 Slackware ARM -current hard float port installer!

http://rpi3.fatdog.nl/index.php?p=downloads

Soft float port version (14.2) is still available. There's no plans for that to change. 8-)

Cheers!
Exaga

====
__ KEEP THE DOG ALIVE!!!
()'`; /
/\|` W00f W00f W00f
www.fatdog.eu

User avatar
Ilgar
Registered user
Registered user
Posts: 9
Joined: Tue Aug 23 2016 - 22:06:56

Re: Slackware ARM hardware floating point port - now availab

Postby Ilgar » Sun Aug 28 2016 - 11:56:46

Exaga wrote:
Ilgar wrote:Enough of waiting.


Ditto. I finally got my RPi3 and the installer is running as I'm writing this.

Just for the record: The hardfloat packages would also work on a RPi2 as well, is that correct? They seem to be 32-bit packages compiled for armv7.

Many, many thanks again for your work!

User avatar
Exaga
FatDog Network Administrator
FatDog Network Administrator
Posts: 195
Joined: Wed Apr 18 2012 - 02:01:03
Location: England [UK]

Re: Slackware ARM hardware floating point port - now availab

Postby Exaga » Sun Aug 28 2016 - 18:13:20

Ilgar wrote:Just for the record: The hardfloat packages would also work on a RPi2 as well, is that correct? They seem to be 32-bit packages compiled for armv7.

Many, many thanks again for your work!


I haven't tested the sarpi3 -current installer on the rpi2. I guess swapping out the kernel and firmware in the /boot dir and keeping the initrd, config.txt and cmdline.txt would be the first thing I'd try on the rpi2.

Seriously, thank Mozes. He creates all the ARM magic. I've just learned how to play with it a little. :D
Exaga

====
__ KEEP THE DOG ALIVE!!!
()'`; /
/\|` W00f W00f W00f
www.fatdog.eu

User avatar
Exaga
FatDog Network Administrator
FatDog Network Administrator
Posts: 195
Joined: Wed Apr 18 2012 - 02:01:03
Location: England [UK]

Re: Slackware ARM hardware floating point port - now availab

Postby Exaga » Mon Aug 29 2016 - 21:25:56

Ilgar wrote:Just for the record: The hardfloat packages would also work on a RPi2 as well, is that correct?


No need to bother. Take a look at SARPi2 Downloads. 8-)
Exaga

====
__ KEEP THE DOG ALIVE!!!
()'`; /
/\|` W00f W00f W00f
www.fatdog.eu

User avatar
glorsplitz
Registered user
Registered user
Posts: 35
Joined: Sun Aug 07 2016 - 22:54:24

Re: Slackware ARM hardware floating point port - now availab

Postby glorsplitz » Sat Sep 03 2016 - 02:54:54

hello all

following instructions http://rpi3.fatdog.eu/index.php?p=getslack
and doing /etc/rc.d/rc.samba start

results in:
Starting Samba: /usr/sbin/smbd -D
/usr/sbin/smbd: error while loading shared libraries: libtevent.so.0: cannot open shared object file: No such file or directory
/usr/sbin/nmbd -D
/usr/sbin/nmbd: error while loading shared libraries: libtalloc.so.2: cannot open shared object file: No such file or directory

found this thread http://www.linuxquestions.org/questions/slackware-arm-108/building-ffmpeg-2-8-7-on-slackwarearm-current-4175588201/

why are those missing from getslack url? thanks

User avatar
Exaga
FatDog Network Administrator
FatDog Network Administrator
Posts: 195
Joined: Wed Apr 18 2012 - 02:01:03
Location: England [UK]

Re: Slackware ARM hardware floating point port - now availab

Postby Exaga » Sat Sep 03 2016 - 14:32:40

glorsplitz wrote:hello all

following instructions http://rpi3.fatdog.eu/index.php?p=getslack
and doing /etc/rc.d/rc.samba start

results in:
Starting Samba: /usr/sbin/smbd -D
/usr/sbin/smbd: error while loading shared libraries: libtevent.so.0: cannot open shared object file: No such file or directory
/usr/sbin/nmbd -D
/usr/sbin/nmbd: error while loading shared libraries: libtalloc.so.2: cannot open shared object file: No such file or directory

found this thread http://www.linuxquestions.org/questions/slackware-arm-108/building-ffmpeg-2-8-7-on-slackwarearm-current-4175588201/

why are those missing from getslack url? thanks


Did you select it as a package to install during setup, and did you start the Samba service? Or did you start the Samba service after installing?
Exaga

====
__ KEEP THE DOG ALIVE!!!
()'`; /
/\|` W00f W00f W00f
www.fatdog.eu

User avatar
glorsplitz
Registered user
Registered user
Posts: 35
Joined: Sun Aug 07 2016 - 22:54:24

Re: Slackware ARM hardware floating point port - now availab

Postby glorsplitz » Sat Sep 03 2016 - 16:49:02

Hi thanks.

During the install I did not configure any networking. I installed everything, enabled rc.samba in Confirm Startup Services To Run, finished installation, rebooted.

After reboot I think my steps were: configured wireless, added user, configured smb.conf, rc.samba restart.

I copied the files from the LQ link and samba is up and running.

User avatar
Ilgar
Registered user
Registered user
Posts: 9
Joined: Tue Aug 23 2016 - 22:06:56

Re: Slackware ARM hardware floating point port - now availab

Postby Ilgar » Tue Sep 13 2016 - 09:42:59

I ran into the same issue while trying to build omxplayer. It includes its own ffmpeg subtree and ffmpeg complains about smbclient being not present.

Trying to run smbclient from the command line produces error about missing libraries.

Next, I attempted to recompile samba using the official slackbuild. The script produces an error about the option --jobs not being read correctly at the 'make' and 'make install' stages. Anyway, I completed the those two manually and re-ran the script from midway to finish the procedure. Alas, smbclient still gives error:

Code: Select all

root@rpi3:~# ldd /usr/bin/smbclient
   linux-vdso.so.1 (0x7eefe000)
   libpthread.so.0 => /lib/libpthread.so.0 (0x76f4d000)
   libreplace-samba4.so => /usr/lib/libreplace-samba4.so (0x76f3b000)
   libsamba-errors.so.1 => /usr/lib/libsamba-errors.so.1 (0x76e3f000)
   libsamba-security-samba4.so => /usr/lib/libsamba-security-samba4.so (0x76e17000)
   libsamba3-util-samba4.so => /usr/lib/libsamba3-util-samba4.so (0x76dff000)
   libpopt-samba3-samba4.so => /usr/lib/libpopt-samba3-samba4.so (0x76deb000)
   libsamba-util.so.0 => /usr/lib/libsamba-util.so.0 (0x76d6f000)
   liblibsmb-samba4.so => /usr/lib/liblibsmb-samba4.so (0x76d09000)
   libmsrpc3-samba4.so => /usr/lib/libmsrpc3-samba4.so (0x76cdd000)
   libsmbconf.so.0 => /usr/lib/libsmbconf.so.0 (0x76c70000)
   libcli-smb-common-samba4.so => /usr/lib/libcli-smb-common-samba4.so (0x76c3c000)
   libdcerpc-samba-samba4.so => /usr/lib/libdcerpc-samba-samba4.so (0x76aeb000)
   libndr-standard.so.0 => /usr/lib/libndr-standard.so.0 (0x7681a000)
   libsamba-debug-samba4.so => /usr/lib/libsamba-debug-samba4.so (0x76805000)
   libutil-cmdline-samba4.so => /usr/lib/libutil-cmdline-samba4.so (0x767f2000)
   libsmbregistry-samba4.so => /usr/lib/libsmbregistry-samba4.so (0x767c9000)
   libtalloc.so.2 => not found
   libpopt.so.0 => /usr/lib/libpopt.so.0 (0x767af000)
   libarchive.so.13 => /usr/lib/libarchive.so.13 (0x7670c000)
   libc.so.6 => /lib/libc.so.6 (0x765ae000)
   /lib/ld-linux-armhf.so.3 (0x54ae5000)
   libtalloc.so.2 => not found
   libndr.so.0 => /usr/lib/libndr.so.0 (0x7658a000)
   libtalloc.so.2 => not found
   libutil-setid-samba4.so => /usr/lib/libutil-setid-samba4.so (0x76578000)
   libtalloc.so.2 => not found
   libsamba-hostconfig.so.0 => /usr/lib/libsamba-hostconfig.so.0 (0x7654a000)
   libtalloc.so.2 => not found
   libtime-basic-samba4.so => /usr/lib/libtime-basic-samba4.so (0x76538000)
   libgenrand-samba4.so => /usr/lib/libgenrand-samba4.so (0x76526000)
   libsocket-blocking-samba4.so => /usr/lib/libsocket-blocking-samba4.so (0x76514000)
   librt.so.1 => /lib/librt.so.1 (0x764fb000)
   libtalloc.so.2 => not found
   libtevent.so.0 => not found
   libcli-cldap-samba4.so => /usr/lib/libcli-cldap-samba4.so (0x764e4000)
   libcliauth-samba4.so => /usr/lib/libcliauth-samba4.so (0x764c4000)
   libkrb5samba-samba4.so => /usr/lib/libkrb5samba-samba4.so (0x764ab000)
   libgse-samba4.so => /usr/lib/libgse-samba4.so (0x76478000)
   libgensec-samba4.so => /usr/lib/libgensec-samba4.so (0x76445000)
   libcom_err-samba4.so.0 => /usr/lib/libcom_err-samba4.so.0 (0x76432000)
   libasn1util-samba4.so => /usr/lib/libasn1util-samba4.so (0x7641d000)
   libtevent-util.so.0 => /usr/lib/libtevent-util.so.0 (0x7640a000)
   libndr-nbt.so.0 => /usr/lib/libndr-nbt.so.0 (0x763e6000)
   libsmb-transport-samba4.so => /usr/lib/libsmb-transport-samba4.so (0x763d2000)
   libsamba-credentials.so.0 => /usr/lib/libsamba-credentials.so.0 (0x763b3000)
   libtevent-unix-util.so.0 => /usr/lib/libtevent-unix-util.so.0 (0x763a1000)
   libCHARSET3-samba4.so => /usr/lib/libCHARSET3-samba4.so (0x7638e000)
   libtalloc.so.2 => not found
   libtevent.so.0 => not found
   libndr-samba-samba4.so => /usr/lib/libndr-samba-samba4.so (0x76277000)
   libdbwrap-samba4.so => /usr/lib/libdbwrap-samba4.so (0x7625e000)
   libdcerpc-binding.so.0 => /usr/lib/libdcerpc-binding.so.0 (0x76235000)
   libutil-tdb-samba4.so => /usr/lib/libutil-tdb-samba4.so (0x76220000)
   libsamba-sockets-samba4.so => /usr/lib/libsamba-sockets-samba4.so (0x761fd000)
   libtevent.so.0 => not found
   libtalloc.so.2 => not found
   libmessages-util-samba4.so => /usr/lib/libmessages-util-samba4.so (0x761eb000)
   libtalloc-report-samba4.so => /usr/lib/libtalloc-report-samba4.so (0x761d9000)
   libmessages-dgm-samba4.so => /usr/lib/libmessages-dgm-samba4.so (0x761c1000)
   libserver-id-db-samba4.so => /usr/lib/libserver-id-db-samba4.so (0x761ae000)
   libsamba-cluster-support-samba4.so => /usr/lib/libsamba-cluster-support-samba4.so (0x7619c000)
   libsys-rw-samba4.so => /usr/lib/libsys-rw-samba4.so (0x7618a000)
   libutil-reg-samba4.so => /usr/lib/libutil-reg-samba4.so (0x76176000)
   libinterfaces-samba4.so => /usr/lib/libinterfaces-samba4.so (0x76163000)
   libsmbd-shim-samba4.so => /usr/lib/libsmbd-shim-samba4.so (0x76151000)
   libtdb-wrap-samba4.so => /usr/lib/libtdb-wrap-samba4.so (0x7613e000)
   libserver-role-samba4.so => /usr/lib/libserver-role-samba4.so (0x7612c000)
   libnsl.so.1 => /lib/libnsl.so.1 (0x76106000)
   libcap.so.2 => /lib/libcap.so.2 (0x760f2000)
   libtalloc.so.2 => not found
   liblber-2.4.so.2 => /usr/lib/liblber-2.4.so.2 (0x760d8000)
   libtdb.so.1 => not found
   libldap-2.4.so.2 => /usr/lib/libldap-2.4.so.2 (0x7608c000)
   libtevent.so.0 => not found
   libiov-buf-samba4.so => /usr/lib/libiov-buf-samba4.so (0x76078000)
   libtalloc.so.2 => not found
   libtevent.so.0 => not found
   libtevent.so.0 => not found
   libtalloc.so.2 => not found
   libtalloc.so.2 => not found
   libtalloc.so.2 => not found
   libsecrets3-samba4.so => /usr/lib/libsecrets3-samba4.so (0x7605f000)
   libtalloc.so.2 => not found
   libtdb.so.1 => not found
   libtalloc.so.2 => not found
   libnettle.so.6 => /usr/lib/libnettle.so.6 (0x76015000)
   libacl.so.1 => /lib/libacl.so.1 (0x75fff000)
   liblzo2.so.2 => /usr/lib/liblzo2.so.2 (0x75fd4000)
   liblzma.so.5 => /lib/liblzma.so.5 (0x75fa5000)
   libbz2.so.1 => /lib/libbz2.so.1 (0x75f86000)
   libz.so.1 => /usr/lib/libz.so.1 (0x75f60000)
   libxml2.so.2 => /usr/lib/libxml2.so.2 (0x75e23000)
   libtalloc.so.2 => not found
   libtalloc.so.2 => not found
   libldb.so.1 => /usr/lib/libldb.so.1 (0x75de9000)
   libcli-ldap-common-samba4.so => /usr/lib/libcli-ldap-common-samba4.so (0x75dd2000)
   libtevent.so.0 => not found
   libtalloc.so.2 => not found
   libtalloc.so.2 => not found
   libkrb5-samba4.so.26 => /usr/lib/libkrb5-samba4.so.26 (0x75d6f000)
   libasn1-samba4.so.8 => /usr/lib/libasn1-samba4.so.8 (0x75d03000)
   libtalloc.so.2 => not found
   libaddns-samba4.so => /usr/lib/libaddns-samba4.so (0x75ce8000)
   libgssapi-samba4.so.2 => /usr/lib/libgssapi-samba4.so.2 (0x75cb3000)
   libauthkrb5-samba4.so => /usr/lib/libauthkrb5-samba4.so (0x75c8c000)
   libcli-nbt-samba4.so => /usr/lib/libcli-nbt-samba4.so (0x75c73000)
   libtalloc.so.2 => not found
   libtevent.so.0 => not found
   libwbclient.so.0 => /usr/lib/libwbclient.so.0 (0x75c57000)
   libsamba-modules-samba4.so => /usr/lib/libsamba-modules-samba4.so (0x75c44000)
   libsamdb.so.0 => /usr/lib/libsamdb.so.0 (0x75c20000)
   libtalloc.so.2 => not found
   libtevent.so.0 => not found
   libtalloc.so.2 => not found
   libtevent.so.0 => not found
   libtalloc.so.2 => not found
   libtalloc.so.2 => not found
   libtevent.so.0 => not found
   libtalloc.so.2 => not found
   libsamdb-common-samba4.so => /usr/lib/libsamdb-common-samba4.so (0x75beb000)
   libldbsamba-samba4.so => /usr/lib/libldbsamba-samba4.so (0x75bb8000)
   libtalloc.so.2 => not found
   libtevent.so.0 => not found
   libtalloc.so.2 => not found
   libtalloc.so.2 => not found
   libtdb.so.1 => not found
   libtalloc.so.2 => not found
   libtevent.so.0 => not found
   libtalloc.so.2 => not found
   libtdb.so.1 => not found
   libtalloc.so.2 => not found
   libtalloc.so.2 => not found
   libtevent.so.0 => not found
   libtalloc.so.2 => not found
   libmsghdr-samba4.so => /usr/lib/libmsghdr-samba4.so (0x75ba2000)
   libtalloc.so.2 => not found
   libtevent.so.0 => not found
   libtdb.so.1 => not found
   libtalloc.so.2 => not found
   libtalloc.so.2 => not found
   libtdb.so.1 => not found
   libtalloc.so.2 => not found
   libattr.so.1 => /lib/libattr.so.1 (0x75b8d000)
   libresolv.so.2 => /lib/libresolv.so.2 (0x75b65000)
   libsasl2.so.3 => /usr/lib/libsasl2.so.3 (0x75b3e000)
   libssl.so.1 => /usr/lib/libssl.so.1 (0x75adf000)
   libcrypto.so.1 => /usr/lib/libcrypto.so.1 (0x75972000)
   libtalloc.so.2 => not found
   libdl.so.2 => /lib/libdl.so.2 (0x7595f000)
   libm.so.6 => /lib/libm.so.6 (0x758de000)
   libtalloc.so.2 => not found
   libtevent.so.0 => not found
   libtalloc.so.2 => not found
   libheimbase-samba4.so.1 => /usr/lib/libheimbase-samba4.so.1 (0x758c9000)
   libhx509-samba4.so.5 => /usr/lib/libhx509-samba4.so.5 (0x75884000)
   libhcrypto-samba4.so.5 => /usr/lib/libhcrypto-samba4.so.5 (0x75849000)
   libroken-samba4.so.19 => /usr/lib/libroken-samba4.so.19 (0x7582f000)
   libwind-samba4.so.0 => /usr/lib/libwind-samba4.so.0 (0x757f7000)
   libtalloc.so.2 => not found
   libndr-krb5pac.so.0 => /usr/lib/libndr-krb5pac.so.0 (0x757df000)
   libauth-sam-reply-samba4.so => /usr/lib/libauth-sam-reply-samba4.so (0x757c9000)
   libtalloc.so.2 => not found
   libgnutls.so.30 => /usr/lib/libgnutls.so.30 (0x756ab000)
   libtevent.so.0 => not found
   libtalloc.so.2 => not found
   libtevent.so.0 => not found
   libwinbind-client-samba4.so => /usr/lib/libwinbind-client-samba4.so (0x75698000)
   libtalloc.so.2 => not found
   libtalloc.so.2 => not found
   libflag-mapping-samba4.so => /usr/lib/libflag-mapping-samba4.so (0x75684000)
   libtalloc.so.2 => not found
   libtdb.so.1 => not found
   libtalloc.so.2 => not found
   libtalloc.so.2 => not found
   libtalloc.so.2 => not found
   libp11-kit.so.0 => /usr/lib/libp11-kit.so.0 (0x7562b000)
   libidn.so.11 => /usr/lib/libidn.so.11 (0x755eb000)
   libhogweed.so.4 => /usr/lib/libhogweed.so.4 (0x755b0000)
   libgmp.so.10 => /usr/lib/libgmp.so.10 (0x75541000)
   libffi.so.6 => /usr/lib/libffi.so.6 (0x7552a000)
   libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x754fd000)

User avatar
Ilgar
Registered user
Registered user
Posts: 9
Joined: Tue Aug 23 2016 - 22:06:56

Re: Slackware ARM hardware floating point port - now availab

Postby Ilgar » Wed Sep 14 2016 - 13:01:04

Issue solved: The missing libraries (libtalloc, libtevent, libtdb) do get created in the package directory (in my case, /root/tmp/package-samba), but they are excluded from the package. However, I noticed this after manually running "make talloc" and "make tevent" in the source diretory (/root/tmp/build-samba/samba-4.4.5), so I am not sure whether they existed before these two as well.

In any case, something in the build script causes them to be left out from the package. Manually copying them from the build directory to /usr/lib and then creating the symlinks solves the problem.

Return to “SARPi Project - Slackware ARM on a Raspberry Pi”

Who is online

Users browsing this forum: CommonCrawl [Bot] and 0 guests