Hi Guix, I've been trying to get the ProtonMail Bridge (https://protonmail.com/bridge/) installed on my GuixSD system for the past several days, and I'm running into a bit of a wall. I'm hoping that one of you package wizards can help me figure out what I'm screwing up here, and help me get my package code working correctly.
So without further ado, here it is (further explanation below): ;;== BEGIN PACKAGE ================================ (define-module (my-packages protonmail-bridge) #:use-module ((guix packages) #:prefix p:) #:use-module ((guix licenses) #:prefix l:) #:use-module ((guix download) #:prefix d:) #:use-module ((guix build-system trivial) #:prefix build:) #:use-module ((guix utils) #:prefix utils:) #:use-module ((gnu packages) #:prefix gp:) #:use-module ((gnu packages base) #:prefix base:) #:use-module ((gnu packages compression) #:prefix compression:) #:use-module ((gnu packages qt) #:prefix qt:) #:use-module ((gnu packages gnome) #:prefix gnome:) #:use-module ((gnu packages fonts) #:prefix fonts:)) (define-public qtbase-5.12 (p:package (inherit qt:qtbase) (name "qtbase") (version "5.12.4") (source (p:origin (method d:url-fetch) (uri (string-append "https://download.qt.io/official_releases/qt/" (utils:version-major+minor version) "/" version "/submodules/" name "-everywhere-src-" version ".tar.xz")) (sha256 (p:base32 "158i0apc3i8bbgrk9j1k34y2b03v0kwwv8m7aaaxpxsglppwgyr0")) ;; Use TZDIR to avoid depending on package "tzdata". ;; (patches (gp:search-patches "qtbase-use-TZDIR.patch" ;; "qtbase-old-kernel.patch")) (modules '((guix build utils))) (snippet ;; corelib uses bundled harfbuzz, md4, md5, sha3 '(begin (with-directory-excursion "src/3rdparty" (for-each delete-file-recursively (list "double-conversion" "freetype" "harfbuzz-ng" "libpng" "libjpeg" "pcre2" "sqlite" "xcb" "zlib")) #t))))))) ;; FIXME: Update propagated-inputs to address these 2 runtime linking errors: ;; - libstdc++.so.6 => not found ;; - libgcc_s.so.1 => not found (define-public protonmail-bridge (p:package (name "protonmail-bridge") (version "1.1.6-1") (supported-systems '("x86_64-linux")) (license l:expat) (synopsis "Background service that connects your local mail client to ProtonMail's servers.") (description "The Bridge is an application that runs on your computer in the background and seamlessly encrypts and decrypts your mail as it enters and leaves your computer.") (home-page "https://www.protonmail.com/bridge") (source (p:origin (method d:url-fetch) (uri (string-append "https://protonmail.com/download/beta/protonmail-bridge_" version "_amd64.deb")) (sha256 (p:base32 "1x9fl6s15d2061y37hrl1yz6f5l6pqfwa895xcm2fr29s8v8b1z8")))) (build-system build:trivial-build-system) (inputs `(("binutils" ,base:binutils) ("tar" ,base:tar) ("xz" ,compression:xz))) (propagated-inputs `(("libz" ,compression:zlib) ("qtbase" ,qtbase-5.12) ("qtmultimedia" ,qt:qtmultimedia) ("qtdeclarative" ,qt:qtdeclarative) ("qtsvg" ,qt:qtsvg) ("libsecret" ,gnome:libsecret) ("font-dejavu" ,fonts:font-dejavu))) (arguments '(#:builder (let* ((ar (string-append (assoc-ref %build-inputs "binutils") "/bin/ar")) (tar (string-append (assoc-ref %build-inputs "tar") "/bin/tar")) (xz (string-append (assoc-ref %build-inputs "xz") "/bin/xz")) (source (assoc-ref %build-inputs "source")) ; /gnu/store/...-protonmail-bridge_1.1.6-1_amd64.deb (out (assoc-ref %outputs "out")) (unpack-deb (string-append ar " p " source " data.tar.xz | " xz " --decompress | " tar " x"))) (mkdir out) (chdir out) (system unpack-deb) (rename-file "usr/bin" "bin") (rename-file "usr/lib" "lib") (rename-file "usr/share" "share") (rmdir "usr") (delete-file "bin/protonmail-bridge") (symlink (string-append out "/lib/protonmail/bridge/protonmail-bridge") "bin/protonmail-bridge") (call-with-output-file "protonmail-bridge-builder-vars" (lambda (f) (format f "%output = ~A\n" %output) (format f "%outputs = ~A\n" %outputs) (format f "%build-inputs = ~A\n" %build-inputs) (format f "ar = ~A\n" ar) (format f "tar = ~A\n" tar) (format f "xz = ~A\n" xz) (format f "source = ~A\n" source) (format f "out = ~A\n" out) (format f "unpack-deb = ~A\n" unpack-deb)))))))) ;;== END PACKAGE ================================== This code is placed in a file called protonmail-bridge.scm on my GUIX_PACKAGE_PATH and can be found successfully by guix package --show=protonmail-bridge. Here's the output that I get from running that command at the terminal: ;; == BEGIN SHELL =============================================== gjohnson@euclid ~ $ guix package --show=protonmail-bridge name: protonmail-bridge version: 1.1.6-1 outputs: out systems: x86_64-linux dependencies: binutils@2.31.1 font-dejavu@2.37 libsecret@0.18.8 qtbase@5.12.4 qtdeclarative@5.11.3 qtmultimedia@5.11.3 qtsvg@5.11.3 tar@1.30 xz@5.2.4 zlib@1.2.11 location: /home/gjohnson/geek/sys/packages/guix/my-packages/protonmail-bridge.scm:45:2 homepage: https://www.protonmail.com/bridge license: Expat synopsis: Background service that connects your local mail client to ProtonMail's servers. description: The Bridge is an application that runs on your computer in the background and seamlessly encrypts and decrypts your mail as it enters and leaves your + computer. ;; == END SHELL ================================================= The installation process works without any reported errors using guix package -i protonmail-bridge. The builder expression in my code above downloads the protonmail-bridge_<version>_amd64.deb file and extracts the pre-compiled binary files from it into the $GUIX-PROFILE/bin, $GUIX-PROFILE/lib, and $GUIX-PROFILE/share directories. Their original binary installation assumes that it will be installed under /usr, and so the /usr/bin/protonmail-bridge symlink is hard-coded to point to /usr/lib/protonmail/bridge/protonmail-bridge. I had to drop the old symlink and create a new one that pointed to the correct location in the store. Finally, I just wrote out a debugging file for myself to $GUIX-PROFILE/protonmail-bridge-builder-vars. Here are the contents of protonmail-bridge-builder-vars after a successful installation: ;; == BEGIN TEXT =============================================== %output = /gnu/store/ysc1zxldy0c416kdavv9lc1i1gzfsrrb-protonmail-bridge-1.1.6-1 %outputs = ((out . /gnu/store/ysc1zxldy0c416kdavv9lc1i1gzfsrrb-protonmail-bridge-1.1.6-1)) %build-inputs = ((source . /gnu/store/ycccr5csbrc6125djhkfrad7zay87bfp-protonmail-bridge_1.1.6-1_amd64.deb) (binutils . /gnu/store/zhjghnka85z6z0vk4mibhinknzsjhd2k-binutils-2.31.1) (tar . /gnu/store/ipx79bfj2mrc8npj7s3qi3zri11jfhaw-tar-1.30) (xz . /gnu/store/im45w08z43rypxgfkzbf5bmgyxm77sx9-xz-5.2.4) (libz . /gnu/store/nq4lsyipmfb0q7g26ra45rwwqrh3x8zw-zlib-1.2.11) (qtbase . /gnu/store/0f8mlm3z94vgw77g4ql1j9nfbdw90f2d-qtbase-5.12.4) (qtmultimedia . /gnu/store/127yn4l7nsj3s3iz4lx9fkmn6fiibg6d-qtmultimedia-5.11.3) (qtdeclarative . /gnu/store/dsym7ifw2xklgjzgvp6rw0rf0dnhq6ni-qtdeclarative-5.11.3) (qtsvg . /gnu/store/nr7axvhiq0vzxixwfzic7mz49s98svpw-qtsvg-5.11.3) (libsecret . /gnu/store/5vl7a2zkpy0yxlcdf1qzsqrv1l5cvgq1-libsecret-0.18.8) (font-dejavu . /gnu/store/8w13xk33yrxw2hfzcvv28mxn35wfg4g7-font-dejavu-2.37) (which . /gnu/store/29dazsnk3rr5j5kv9wi0p2974an9z9sk-which-2.21) (mesa . /gnu/store/rfp2jcwbp7vdnnnl1b7b46k90kznjspw-mesa-19.0.4) (glib . /gnu/store/cgy82g6yv8l1chawgch47zh23b0jll3l-glib-2.56.3) (xorgproto . /gnu/store/hdwn6fbbii6907ibvyax92cxzam0hrhx-xorgproto-2018.4) (libxxf86vm . /gnu/store/v1vnqq6nzf1n842956l30yjxzjy0130h-libxxf86vm-1.1.4) (libxshmfence . /gnu/store/hcxcbbsf0p1fzjajd2idc3j5qvlyyp5w-libxshmfence-1.3) (libxfixes . /gnu/store/dis1laih296cvfjrcj3azcjfxkip4hdb-libxfixes-5.0.3) (libxdamage . /gnu/store/6hq2ha8hfghnkrnrpawx2vlsp88zq537-libxdamage-1.1.4) (libx11 . /gnu/store/8baabfjazsr7s4y0jig1sn84xnxf75xa-libx11-1.6.6) (libvdpau . /gnu/store/inw59iqwpal8pz3vxlfqdn1pjahd3rdx-libvdpau-1.2) (libdrm . /gnu/store/ysx7vhagkc3cmlggkwn3j0m74fkaanl4-libdrm-2.4.98) (pcre . /gnu/store/05zlxc7ckwflz56i6hmlngr86pmccam2-pcre-8.42) (util-macros . /gnu/store/30ss9cl431rrw47pbmwnqs99m2w3i5vh-util-macros-1.19.2) (libxext . /gnu/store/2dk55i5wdhcbh2z8hhn3r55x4873iyp1-libxext-1.3.3) (libxcb . /gnu/store/hnj08aavzpsi72wvi4qqrp5dqbyqxqqs-libxcb-1.13) (libxdmcp . /gnu/store/3vlscch2sxybd34qx2ianpg92crm9akm-libxdmcp-1.1.2) (libxau . /gnu/store/mawqhgh0bdxpa4gjxs1fjyhwvv6i8w5g-libxau-1.0.8) (libpthread-stubs . /gnu/store/sfn7fcmii7gbpjh2f7wzv8l04iy4z2d1-libpthread-stubs-0.4)) ar = /gnu/store/zhjghnka85z6z0vk4mibhinknzsjhd2k-binutils-2.31.1/bin/ar tar = /gnu/store/ipx79bfj2mrc8npj7s3qi3zri11jfhaw-tar-1.30/bin/tar xz = /gnu/store/im45w08z43rypxgfkzbf5bmgyxm77sx9-xz-5.2.4/bin/xz source = /gnu/store/ycccr5csbrc6125djhkfrad7zay87bfp-protonmail-bridge_1.1.6-1_amd64.deb out = /gnu/store/ysc1zxldy0c416kdavv9lc1i1gzfsrrb-protonmail-bridge-1.1.6-1 unpack-deb = /gnu/store/zhjghnka85z6z0vk4mibhinknzsjhd2k-binutils-2.31.1/bin/ar p /gnu/store/ycccr5csbrc6125djhkfrad7zay87bfp-protonmail-bridge_1.1.6-1_amd64.deb data.tar.xz | /gnu/store/im45w08z43rypxgfkzbf5bmgyxm77sx9-xz-5.2.4/bin/xz --decompress | /gnu/store/ipx79bfj2mrc8npj7s3qi3zri11jfhaw-tar-1.30/bin/tar x ;; == END TEXT ================================================= While all of this did eventually work for me after a lot of reading through the Guix manual about the trivial-build-system and experimenting at the Guile REPL, my beautifully installed protonmail-bridge client simply throws this error when I try to run it from my terminal: ;; == BEGIN SHELL =============================================== gjohnson@euclid ~ $ protonmail-bridge bash: /home/gjohnson/.guix-profile/bin/protonmail-bridge: No such file or directory ;; == END SHELL ================================================= That seemed really odd, so I followed the symlinks: ;; == BEGIN SHELL =============================================== gjohnson@euclid ~ $ ls -l .guix-profile/bin/protonmail-bridge lrwxrwxrwx 2 root root 91 1969-12-31 1969 .guix-profile/bin/protonmail-bridge -> /gnu/store/ysc1zxldy0c416kdavv9lc1i1gzfsrrb-protonmail-bridge-1.1.6-1/bin/protonmail-bridge gjohnson@euclid ~ $ ls -l /gnu/store/ysc1zxldy0c416kdavv9lc1i1gzfsrrb-protonmail-bridge-1.1.6-1/bin/protonmail-bridge lrwxrwxrwx 2 root root 109 1969-12-31 1969 /gnu/store/ysc1zxldy0c416kdavv9lc1i1gzfsrrb-protonmail-bridge-1.1.6-1/bin/protonmail-bridge -> /gnu/store/ysc1zxldy0c416kdavv9lc1i1gzfsrrb-protonmail-bridge-1.1.6-1/lib/protonmail/bridge/protonmail-bridge gjohnson@euclid ~ $ ls -l /gnu/store/ysc1zxldy0c416kdavv9lc1i1gzfsrrb-protonmail-bridge-1.1.6-1/lib/protonmail/bridge/protonmail-bridge -r-xr-xr-x 4 root root 22407280 1969-12-31 1969 /gnu/store/ysc1zxldy0c416kdavv9lc1i1gzfsrrb-protonmail-bridge-1.1.6-1/lib/protonmail/bridge/protonmail-bridge ;; == END SHELL ================================================= So...the symlink trail points to the correct binary file. However, even if I navigate to that directory and try to run it, I get the same original error: ;; == BEGIN SHELL =============================================== gjohnson@euclid ~ $ cd /gnu/store/ysc1zxldy0c416kdavv9lc1i1gzfsrrb-protonmail-bridge-1.1.6-1/lib/protonmail/bridge/ gjohnson@euclid bridge $ ls -l total 21914 -r--r--r-- 4 root root 17074 1969-12-31 1969 Changelog.md -r--r--r-- 4 root root 1077 1969-12-31 1969 LICENSE -r--r--r-- 4 root root 2571 1969-12-31 1969 eula.txt dr-xr-xr-x 2 root root 4096 1969-12-31 1969 lib dr-xr-xr-x 34 root root 4096 1969-12-31 1969 plugins -r-xr-xr-x 4 root root 22407280 1969-12-31 1969 protonmail-bridge dr-xr-xr-x 27 root root 4096 1969-12-31 1969 qml gjohnson@euclid bridge $ ./protonmail-bridge bash: ./protonmail-bridge: No such file or directory gjohnson@euclid bridge $ sudo ./protonmail-bridge sudo: unable to execute ./protonmail-bridge: No such file or directory ;; == END SHELL ================================================= WHAT?! So...yeah, that one was a head scratcher. At that point, I started to think that maybe it was a linking error under the hood that was just causing my shell to emit a useless error message. I checked with ldd, and sure enough, there were a bunch of unmet library dependencies that were "not found" by ldd. I tried to address these by adding them all into the propagated-inputs field of my package record (as you can see above): ;; == BEGIN SCHEME ================================================= (propagated-inputs `(("libz" ,compression:zlib) ("qtbase" ,qtbase-5.12) ("qtmultimedia" ,qt:qtmultimedia) ("qtdeclarative" ,qt:qtdeclarative) ("qtsvg" ,qt:qtsvg) ("libsecret" ,gnome:libsecret) ("font-dejavu" ,fonts:font-dejavu))) ;; == END SCHEME ================================================= In particular, you will note that I had to create a new package definition for qtbase-5.12 since the ProtonMail Bridge binary had been compiled against it originally, and we only have qtbase-5.11.3 in the Guix repository as of my last guix pull. I look forward to seeing a new version of Qt in the 5.12 series in the repo soon, so I can retire my (probably poorly repackaged) package forthwith. This fixed most of the "not found" messages from ldd, but I'm still getting them for these two libraries: - libstdc++.so.6 - libgcc_s.so.1 Here are the (terrifyingly verbose) outputs of ldd run against the protonmail-bridge binary: ;; == BEGIN SHELL ================================================= gjohnson@euclid ~ $ ldd /gnu/store/ysc1zxldy0c416kdavv9lc1i1gzfsrrb-protonmail-bridge-1.1.6-1/lib/protonmail/bridge/protonmail-bridge linux-vdso.so.1 (0x00007ffd3b7ff000) libQt5Gui.so.5 => /gnu/store/ysc1zxldy0c416kdavv9lc1i1gzfsrrb-protonmail-bridge-1.1.6-1/lib/protonmail/bridge/lib/libQt5Gui.so.5 (0x00007ff7ff3ef000) libQt5Core.so.5 => /gnu/store/ysc1zxldy0c416kdavv9lc1i1gzfsrrb-protonmail-bridge-1.1.6-1/lib/protonmail/bridge/lib/libQt5Core.so.5 (0x00007ff7fec62000) libGL.so.1 => /home/gjohnson/.guix-profile/lib/libGL.so.1 (0x00007ff7febd1000) libpthread.so.0 => /home/gjohnson/.guix-profile/lib/libpthread.so.0 (0x00007ff7febb0000) libQt5Widgets.so.5 => /gnu/store/ysc1zxldy0c416kdavv9lc1i1gzfsrrb-protonmail-bridge-1.1.6-1/lib/protonmail/bridge/lib/libQt5Widgets.so.5 (0x00007ff7fe365000) libQt5Qml.so.5 => /gnu/store/ysc1zxldy0c416kdavv9lc1i1gzfsrrb-protonmail-bridge-1.1.6-1/lib/protonmail/bridge/lib/libQt5Qml.so.5 (0x00007ff7fdcc7000) libQt5Network.so.5 => /gnu/store/ysc1zxldy0c416kdavv9lc1i1gzfsrrb-protonmail-bridge-1.1.6-1/lib/protonmail/bridge/lib/libQt5Network.so.5 (0x00007ff7fd921000) libsecret-1.so.0 => /home/gjohnson/.guix-profile/lib/libsecret-1.so.0 (0x00007ff7fd8ce000) libgio-2.0.so.0 => /home/gjohnson/.guix-profile/lib/libgio-2.0.so.0 (0x00007ff7fd730000) libgobject-2.0.so.0 => /home/gjohnson/.guix-profile/lib/libgobject-2.0.so.0 (0x00007ff7fd6db000) libglib-2.0.so.0 => /home/gjohnson/.guix-profile/lib/libglib-2.0.so.0 (0x00007ff7fd5c1000) libQt5Svg.so.5 => /gnu/store/ysc1zxldy0c416kdavv9lc1i1gzfsrrb-protonmail-bridge-1.1.6-1/lib/protonmail/bridge/lib/libQt5Svg.so.5 (0x00007ff7fd36a000) libstdc++.so.6 => not found libm.so.6 => /home/gjohnson/.guix-profile/lib/libm.so.6 (0x00007ff7fd1e8000) libgcc_s.so.1 => not found libc.so.6 => /home/gjohnson/.guix-profile/lib/libc.so.6 (0x00007ff7fd02f000) libz.so.1 => /home/gjohnson/.guix-profile/lib/libz.so.1 (0x00007ff7fd011000) libstdc++.so.6 => not found libgcc_s.so.1 => not found libicui18n.so.56 => /gnu/store/ysc1zxldy0c416kdavv9lc1i1gzfsrrb-protonmail-bridge-1.1.6-1/lib/protonmail/bridge/lib/libicui18n.so.56 (0x00007ff7fcb76000) libicuuc.so.56 => /gnu/store/ysc1zxldy0c416kdavv9lc1i1gzfsrrb-protonmail-bridge-1.1.6-1/lib/protonmail/bridge/lib/libicuuc.so.56 (0x00007ff7fc7be000) libicudata.so.56 => /gnu/store/ysc1zxldy0c416kdavv9lc1i1gzfsrrb-protonmail-bridge-1.1.6-1/lib/protonmail/bridge/lib/libicudata.so.56 (0x00007ff7faddb000) libdl.so.2 => /home/gjohnson/.guix-profile/lib/libdl.so.2 (0x00007ff7fadd4000) libgthread-2.0.so.0 => /home/gjohnson/.guix-profile/lib/libgthread-2.0.so.0 (0x00007ff7fadcf000) /lib64/ld-linux-x86-64.so.2 => /gnu/store/c43rbmzv1laxgbnkvf76hx4305n4206a-glibc-2.28/lib/ld-linux-x86-64.so.2 (0x00007ff7ffc16000) libstdc++.so.6 => not found libgcc_s.so.1 => not found libglapi.so.0 => /home/gjohnson/.guix-profile/lib/libglapi.so.0 (0x00007ff7fad9a000) libdrm.so.2 => /home/gjohnson/.guix-profile/lib/libdrm.so.2 (0x00007ff7fad84000) libX11.so.6 => /home/gjohnson/.guix-profile/lib/libX11.so.6 (0x00007ff7fac43000) libxcb-glx.so.0 => /home/gjohnson/.guix-profile/lib/libxcb-glx.so.0 (0x00007ff7fac27000) libxcb.so.1 => /home/gjohnson/.guix-profile/lib/libxcb.so.1 (0x00007ff7fabff000) libX11-xcb.so.1 => /home/gjohnson/.guix-profile/lib/libX11-xcb.so.1 (0x00007ff7fabfa000) libxcb-dri2.so.0 => /home/gjohnson/.guix-profile/lib/libxcb-dri2.so.0 (0x00007ff7fabf4000) libXext.so.6 => /home/gjohnson/.guix-profile/lib/libXext.so.6 (0x00007ff7fabe0000) libXfixes.so.3 => /home/gjohnson/.guix-profile/lib/libXfixes.so.3 (0x00007ff7fabd6000) libXdamage.so.1 => /home/gjohnson/.guix-profile/lib/libXdamage.so.1 (0x00007ff7fabd1000) libXxf86vm.so.1 => /home/gjohnson/.guix-profile/lib/libXxf86vm.so.1 (0x00007ff7fabc9000) libxcb-dri3.so.0 => /home/gjohnson/.guix-profile/lib/libxcb-dri3.so.0 (0x00007ff7fabc3000) libxcb-present.so.0 => /home/gjohnson/.guix-profile/lib/libxcb-present.so.0 (0x00007ff7fabbe000) libxcb-sync.so.1 => /home/gjohnson/.guix-profile/lib/libxcb-sync.so.1 (0x00007ff7fabb5000) libxshmfence.so.1 => /home/gjohnson/.guix-profile/lib/libxshmfence.so.1 (0x00007ff7fabae000) libexpat.so.1 => /gnu/store/79a7p4fjh564czghfzfm1yn8b3r42rbi-expat-2.2.6/lib/libexpat.so.1 (0x00007ff7fab82000) libgcc_s.so.1 => /gnu/store/4sqps8dczv3g7rwbdibfz6rf5jlk7w90-gcc-5.5.0-lib/lib/libgcc_s.so.1 (0x00007ff7fab67000) libstdc++.so.6 => not found librt.so.1 => /home/gjohnson/.guix-profile/lib/librt.so.1 (0x00007ff7fab5d000) libstdc++.so.6 => not found libstdc++.so.6 => not found libgcrypt.so.20 => /gnu/store/87fdwmippyfs01870x5hq7v2lcyfczpi-libgcrypt-1.8.3/lib/libgcrypt.so.20 (0x00007ff7faa3e000) libgpg-error.so.0 => /gnu/store/p6pmv0r9q3cs172q9xjv87avsix26ddc-libgpg-error-1.32/lib/libgpg-error.so.0 (0x00007ff7faa1c000) libgmodule-2.0.so.0 => /home/gjohnson/.guix-profile/lib/libgmodule-2.0.so.0 (0x00007ff7faa15000) libresolv.so.2 => /home/gjohnson/.guix-profile/lib/libresolv.so.2 (0x00007ff7fa9fc000) libmount.so.1 => /gnu/store/8k4pnixpz73kxvxbjqajgbprjjmmgpxy-util-linux-2.32.1/lib/libmount.so.1 (0x00007ff7fa9a2000) libblkid.so.1 => /gnu/store/8k4pnixpz73kxvxbjqajgbprjjmmgpxy-util-linux-2.32.1/lib/libblkid.so.1 (0x00007ff7fa952000) libuuid.so.1 => /gnu/store/8k4pnixpz73kxvxbjqajgbprjjmmgpxy-util-linux-2.32.1/lib/libuuid.so.1 (0x00007ff7fa949000) libffi.so.6 => /gnu/store/vd35w7c44njixcagxqyqpd81frc3ngpz-libffi-3.2.1/lib/libffi.so.6 (0x00007ff7fa93c000) libpcre.so.1 => /home/gjohnson/.guix-profile/lib/libpcre.so.1 (0x00007ff7fa8c9000) libstdc++.so.6 => not found libstdc++.so.6 => not found libstdc++.so.6 => not found libXau.so.6 => /home/gjohnson/.guix-profile/lib/libXau.so.6 (0x00007ff7fa8c2000) libXdmcp.so.6 => /home/gjohnson/.guix-profile/lib/libXdmcp.so.6 (0x00007ff7fa8ba000) libbsd.so.0 => /gnu/store/6lwn8v33r2z2l2pgky2dnzim3696dwnn-libbsd-0.9.1/lib/libbsd.so.0 (0x00007ff7fa89f000) ;; == END SHELL =================================================== My questions to the mailing list then are these: 1. What should I change in my package definition (in propagated-inputs?) to eliminate these last two "not found" errors from ldd? 2. Do you folks see something obvious that I'm doing wrong here other than my ldd issue? It is my assumption that I cannot possibly be the only person out there that has tried to install a pre-compiled binary package onto Guix and slammed into this wall. I've done my best to RTFM my way through engineering the package statement built around trivial-build-system that I shared at the top of this message. If any of you Guix masters can lend me a hand in getting this thing over the finish line, I would be extremely grateful. Thanks in advance, Gary