all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to: How to wrap executablea?
@ 2024-11-19 18:24 Marius via
  2024-11-21 11:31 ` woshilapin
  2024-11-21 12:00 ` Dev@icepic
  0 siblings, 2 replies; 5+ messages in thread
From: Marius via @ 2024-11-19 18:24 UTC (permalink / raw)
  To: help-guix

Good evening,

I'm trying to execute a pre compiled program (on a Guix System) that I think is trying to call /lib64/ld-linux-x86-64.so.2 by its absolute path. Since Guix System does use the store and usually makes use of variables like "SHELL", "LIBRARY_PATH", etc. How do I wrap executables that technically are gnu-linux cross platform but use absolute paths that depend on distribution?

I've read the entire Guix Ref. Manual but I'm too scared to do anything and don't know exactly what to do.

Should I use "guix shell --container -S" and create a symbolic link in the virtual shell?

Or should I make a package definition?

I know this is not really a guix problem... More like the people that programmed the executable hardcoded everything to their distribution (I think they used Ubuntu)...


I would like to know how to deal with this kind of problem, because the majority of code is hardcoded like this (for example hardcoded call to /usr/bin/bash).


Thank you.

Best regards,
Marius.
-- 
Enviado desde mi dispositivo Android con K-9 Mail. Por favor, disculpa mi brevedad.

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

end of thread, other threads:[~2024-11-21 13:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-19 18:24 How to: How to wrap executablea? Marius via
2024-11-21 11:31 ` woshilapin
2024-11-21 13:31   ` Marius via
2024-11-21 12:00 ` Dev@icepic
2024-11-21 12:26   ` Andreas Enge

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.