commande Debian pour obtenir un -rpath suffisamment bon (et portable)

Liste des GroupesRevenir à ldu french 
Sujet : commande Debian pour obtenir un -rpath suffisamment bon (et portable)
De : basile (at) *nospam* starynkevitch.net (Basile STARYNKEVITCH)
Groupes : linux.debian.user.french
Date : 18. Jun 2026, 14:00:01
Autres entêtes
Organisation : linux.* mail to news gateway
Message-ID : <N7kvD-dM23-7@gated-at.bofh.it>
User-Agent : Evolution 3.56.2-10
Bonjour la liste,


L'option -rpath passée à l'éditeur de lien (le plus souvent via le
compilateur /usr/bin/g++ ou /usr/bin/gcc ...) permet d'écrire dans le
binaire executable ELF l'information qui serait transmise par un
LD_LIBRARY_PATH (que je ne veux pas utiliser, mais ldconfig sous root).

Sur un Debian/Trixie ou Sid AMD64 je veux obtenir aussi bien
/lib/x86_64-linux-gnu que /usr/lib/x86_64-linux-gnu et donc la chaîne
de caractères (dans un GNU makefile un peu compliqué)


   /lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/

quelle est donc la commande qui me permet de construire cette chaîne
(dans un GNUmakefile)?

En lien avec cette question
   https://lists.gnu.org/archive/html/help-make/2026-06/msg00008.html
   https://lists.gnu.org/archive/html/lightning/2026-06/msg00006.html
   https://github.com/RefPerSys/RefPerSys/blob/master/GNUmakefile

et plusieurs autres fichiers (sous licence GPL/CeCILL) sur
github.com/RefPerSys/RefPerSys
et le site amateur refpersys.org

Je dispose aussi d'un raspberrypi sous Linux Debian aussi



Librement
--

Basile STARYNKEVITCH                          
<basile@starynkevitch.net>
8 rue de la Faïencerie                     
http://starynkevitch.net/Basile/ 
92340 Bourg-la-Reine                       
https://github.com/bstarynk
France                              
https://github.com/RefPerSys/RefPerSys
                  https://orcid.org/0000-0003-0908-5250

Date Sujet#  Auteur
18 Jun 26 * commande Debian pour obtenir un -rpath suffisamment bon (et portable)3Basile STARYNKEVITCH
18 Jun 26 +- Re: commande Debian pour obtenir un -rpath suffisamment bon (et portable)1didier gaumet
18 Jun 26 `- Re: commande Debian pour obtenir un -rpath suffisamment bon (et portable)1Étienne Mollier

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal