help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to: How to wrap executablea?


From: Marius
Subject: How to: How to wrap executablea?
Date: Tue, 19 Nov 2024 18:24:47 +0000

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]