unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#64409: libusb shared object file paths
@ 2023-07-01 23:08 Reed Meyerson
  2023-08-18 15:49 ` Garek Dyszel via Bug reports for GNU Guix
  0 siblings, 1 reply; 2+ messages in thread
From: Reed Meyerson @ 2023-07-01 23:08 UTC (permalink / raw)
  To: 64409

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-08-21  6:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-01 23:08 bug#64409: libusb shared object file paths Reed Meyerson
2023-08-18 15:49 ` Garek Dyszel via Bug reports for GNU Guix

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).