From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 53C90A00C2; Wed, 28 Sep 2022 13:12:58 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DA3434113D; Wed, 28 Sep 2022 13:12:57 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 344BE4113C for ; Wed, 28 Sep 2022 13:12:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1664363575; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2JZTBGgpKS5TX2z9KLUTn44pfLnVA8JrLJgVvkZXp3Y=; b=HcPfus/OmZXRy2T+1QOP8V2xTrSmR/gdeESo17gebsGBumLXNQANXRfKhJ76xysIllemTX OCHfdv5aU9IsWdQx6w/8rPDRQt5yRb32eNAlyREQ6ROaQBUhdWkOPR5TVrKK7w23w7B9/l vAksSLKf1swAS3moMwtDrMcyUJEZDRY= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-397-kzpEDb9HP-GHtzpoeuURdQ-1; Wed, 28 Sep 2022 07:12:54 -0400 X-MC-Unique: kzpEDb9HP-GHtzpoeuURdQ-1 Received: by mail-wm1-f71.google.com with SMTP id d5-20020a05600c34c500b003b4fb42ccdeso1012685wmq.8 for ; Wed, 28 Sep 2022 04:12:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:references:from:subject:cc:to:message-id:date :content-transfer-encoding:mime-version:x-gm-message-state:from:to :cc:subject:date; bh=2JZTBGgpKS5TX2z9KLUTn44pfLnVA8JrLJgVvkZXp3Y=; b=eF0JTr6idAG69r9OS5f2ioeRaMRBrN+iwMCt+N9zJ4fisO4emPPZcChhiFZcdGITm7 83yAatkbOSFl8KLDIDili80q0XPiCz9ZuAejjW+MK1sCUNInANDUvwr2UuFT7o/bCcE6 kjPseHUPJzdPxueT1v1zHoG6h9xyjBdzQapXvtAd1ivif2anZ4Me4HOuKq5OztTp5Bf7 AZGS5D0BEJczwiXdNmSCkFiYLJmfqtNJeB8Vuy4E+nNYQgOBDEwcX6T3LAPRcaL2j2qq zL6l6mqzj9xoc2CRknaKjDMiz7q8KcX2TRR7q6U9rt2IK3Ic6BOG0aU7JGreP9skQBoZ C7Bw== X-Gm-Message-State: ACrzQf0xJ4x2j6RFww5bwdywYv+HDsT1z//Mqxm4MBSHUedzbJv6/RAv OqdxIfqQmAVfy9SLf4I+ntRiPbj3NXUa5RFTZfvHFvWFKF3a+/DYH6pmmt7WwRIzqP5Bdvpfphp L7Dw= X-Received: by 2002:a05:600c:254e:b0:3b4:9398:49d0 with SMTP id e14-20020a05600c254e00b003b4939849d0mr6050661wma.126.1664363573517; Wed, 28 Sep 2022 04:12:53 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6mJDvjYInD/ncfWhuZ5ilSTWvbhHgAkM2n1uzxzsNMf3fKxq3DFwf7Y2RLifQDr9OT++C7DA== X-Received: by 2002:a05:600c:254e:b0:3b4:9398:49d0 with SMTP id e14-20020a05600c254e00b003b4939849d0mr6050652wma.126.1664363573335; Wed, 28 Sep 2022 04:12:53 -0700 (PDT) Received: from localhost (2a01cb000f483e0055ae3800781b5cbc.ipv6.abo.wanadoo.fr. [2a01:cb00:f48:3e00:55ae:3800:781b:5cbc]) by smtp.gmail.com with ESMTPSA id c3-20020a5d63c3000000b00228da396f9dsm4081721wrw.84.2022.09.28.04.12.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 28 Sep 2022 04:12:52 -0700 (PDT) Mime-Version: 1.0 Date: Wed, 28 Sep 2022 13:12:52 +0200 Message-Id: To: "Bruce Richardson" Cc: , "Olivier Matz" , "Ferruh Yigit" Subject: Re: [PATCH v6] usertools: rewrite pmdinfo From: "Robin Jarry" X-Mailer: aerc/0.12.0-59-g748afee4b660 References: <20220913105811.84384-1-robin@jarry.cc> <20220926134438.10906-1-rjarry@redhat.com> In-Reply-To: X-Mimecast-Spam-Score: 1 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Bruce Richardson, Sep 28, 2022 at 12:53: > How about "ldconfig -p" and just using the list of libraries given to > match against those requested in the elf file, rather than worrying > about directories at all? I could do that but then, the DT_RUNPATH and LD_LIBRARY_PATH directories must be searched at runtime anyways. It seems more consistent to use a single method to resolve dynamic libraries.