Package Details: libsdrplay 3.15.2-2

Git Clone URL: https://aur.archlinux.org/libsdrplay.git (read-only, click to copy)
Package Base: libsdrplay
Description: Modules for the SDRplay receiver
Upstream URL: http://www.sdrplay.com
Keywords: sdr
Licenses: custom:eula
Submitter: danmc
Maintainer: edombek
Last Packager: edombek
Votes: 14
Popularity: 0.41
First Submitted: 2016-03-19 23:44 (UTC)
Last Updated: 2024-06-30 16:09 (UTC)

Latest Comments

1 2 3 Next › Last »

manofsteal123 commented on 2024-07-01 14:58 (UTC)

Did you rebuild sdrpp after updating libsdrplay? I will try rebuilding (after rebuilding sdrpp, the add-on libsdrplay was recognized) Thank you for the heads up

deadite66 commented on 2024-07-01 04:13 (UTC)

Did you rebuild sdrpp after updating libsdrplay?

manofsteal123 commented on 2024-07-01 03:01 (UTC)

Ok, it builds properly, but it lacks something. On SDR++ it doesn't see the plugin SDRplay, I was forced to downgrade back to libsdrplay-3.14.0-1-x86_64.pkg.

edombek commented on 2024-06-30 16:10 (UTC)

Thanks, fixed

deadite66 commented on 2024-06-16 06:18 (UTC) (edited on 2024-06-16 06:25 (UTC) by deadite66)

posted the pkgbuild somewhere else, sorry didn't think about having to login the ubuntu pastebin.

https://pastebin.ai/zsdzodvblx

though basically it just adds this in the package section so it works correctly with aarch64 and x86_64.


architecture=""
case $(uname -m) in
x86_64) architecture="amd64" ;;
aarch64)   architecture="arm64" ;;
esac

and change to this.


install -D -m644 "${architecture}/libsdrplay_api.so.${_apivers}" "${pkgdir}/usr/lib/libsdrplay_api.so.${_apivers}"
install -D -m755 "${architecture}/sdrplay_apiService" "${pkgdir}/usr/bin/sdrplay_apiService"

snydergd commented on 2024-06-16 04:24 (UTC)

I'm seeing the same problem of cannot stat 'x86_64/libsdrplay_api.so.3.15', and as others have mentioned it seems to be that the folder from the source is amd64 which is compatible with, but does not match, x86_64 that ${CARCH} is (used to determine source folder for copy). My solution is a modified PKGBUILD file which creates a link from x86_64 to the existing amd64, so that regardless of whether you have amd64 or x86_64, it will work.

I'm providing a patch as well in case this makes it easier.

I'm new to AUR, so not sure how notifications work, so using a tag of @edombek in hopes of drawing attention. It seems like a few people have hit this snag. Will also say I'm very thankful for this package!

diff --git a/PKGBUILD b/PKGBUILD
index fd742d2..ba59710 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -23,6 +23,7 @@ prepare() {

    msg2 "Extracting makeself archive..."
    sh SDRplay_RSP_API-Linux-${pkgver}.run --tar xf
+   ln -s amd64 x86_64
 }

 package() {

sertsa commented on 2024-06-16 02:58 (UTC) (edited on 2024-06-16 03:23 (UTC) by sertsa)

Same error: libsdrplay_api.so.3.15

Can confirm doing as e8hffff says and copying src/amd64 to src/x86_64 and rerunning makepkg works as workaround

deadeite66: posting a solution for Arch on a ubuntu site that requires a login is beyond useless.

hamdyaea1 commented on 2024-06-14 09:35 (UTC)

I have the same error with an Intel i5 CPU

==> Vérification des dépendances pour la compilation… ==> ATTENTION : Utilisation de l’arbre $srcdir/ existant ==> Entre dans l’environnement fakeroot… ==> Lancement de package()… -> Getting API version... -> API version: 3.15 install: impossible d'évaluer 'x86_64/libsdrplay_api.so.3.15': Aucun fichier ou dossier de ce nom ==> ERREUR : Une erreur s’est produite dans package(). Abandon… -> error making: libsdrplay-exit status 4 -> Failed to install the following packages. Manual intervention is required: libsdrplay - exit status 4

deadite66 commented on 2024-06-13 18:48 (UTC) (edited on 2024-06-13 18:48 (UTC) by deadite66)

no, i had the same error on an intel cpu

i added a uname architecture test in the package section of the pkgbuild.

built fine on x86_64, untested on aarch64.

https://paste.ubuntu.com/p/qRfBdXk6CP/plain/

e8hffff commented on 2024-06-13 15:19 (UTC)

The build error is caused by the CPU type folder differential between AMD64 and X86_64. You can re-run the build after copying the content /src/AMD64 folder to /src/X86_64 after first fail. Mostlikely this error is only on AMD CPU based systems