From: Reed Meyerson <reed.meyerson@gmail.com>
To: 64409@debbugs.gnu.org
Subject: bug#64409: libusb shared object file paths
Date: Sat, 1 Jul 2023 19:08:37 -0400 [thread overview]
Message-ID: <CANv=NwEow7wjaZu5yySTBuB=p7CkiSvcdCwpHX1hNvUJp=b95A@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1121 bytes --]
Hello,
I have been trying to get the teensy-loader-cli package working on my
machine and I am running into shared object file related errors.
explanation of bug:
running "teensy_loader_cli" (from the "teensy-loader-cli" package) gives
the following error:
teensy_loader_cli: error while loading libusb-1.0.so.0 from
libusb-0.1.so.4: libusb-1.0.so.0: cannot open shared object file: No such
file or directory
How to reproduce the bug:
$ guix shell --container teensy_loader_cli
[env]$ teensy_loader_cli
In the guix shell container, it does seem that there is no file for
libusb-1.0.so.0. In particular $GUIX_ENVIRONMENT/lib doesn't exist. I can
include the file in the environment by adding the libusb package:
$ guix shell --container teensy_loader_cli libusb coreutils
[env]$ ls $GUIX_ENVIRONMENT/lib
libusb-1.0.a libusb-1.0.so libusb-1.0.so.0.3.0
libusb-1.0.la libusb-1.0.so.0 pkgconfig
However,
[env]$ teensy_loader_cli
still gives the same error as before.
I can get it to run by manually setting the $LD_LIBRARY_PATH variable:
[env]$ LD_LIBRARY_PATH=$GUIX_ENVIRONMENT/lib teensy_loader_cli
Best,
Reed
[-- Attachment #2: Type: text/html, Size: 1620 bytes --]
next reply other threads:[~2023-07-02 13:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-01 23:08 Reed Meyerson [this message]
2023-08-18 15:49 ` bug#64409: libusb shared object file paths Garek Dyszel via Bug reports for GNU Guix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CANv=NwEow7wjaZu5yySTBuB=p7CkiSvcdCwpHX1hNvUJp=b95A@mail.gmail.com' \
--to=reed.meyerson@gmail.com \
--cc=64409@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).