From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 235D1A04F9; Fri, 10 Jan 2020 16:03:14 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 382C61EAC9; Fri, 10 Jan 2020 16:03:13 +0100 (CET) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) by dpdk.org (Postfix) with ESMTP id 9C5161EAC5 for ; Fri, 10 Jan 2020 16:03:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578668591; 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=jK4PqOPcr5LtV6A3GqF5+2IjPrLrK8OASo5drDMArxY=; b=Qfk95Zm2eNW8qHZQiClJ1P6JSuvWL4sjMHOLPjoo697uVWV1Cpb1wApL8YxvamzJmYjzsD n+dOGe4BguARvuGUrvmfOnqxmpbUkZpBZr0OuKQJAJsAX8zCSGsYJuxubccFo/pZXwlyVE kHJpQqGpVSWcenaMyLpB6zwsb3WVRjU= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-319-uqZHkuhQOdWftEnbJXazdA-1; Fri, 10 Jan 2020 10:03:10 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id CD81C107ACC4; Fri, 10 Jan 2020 15:03:08 +0000 (UTC) Received: from dhcp-25.97.bos.redhat.com (unknown [10.18.25.108]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 018F978E8E; Fri, 10 Jan 2020 15:03:04 +0000 (UTC) From: Aaron Conole To: Ruifeng Wang Cc: maicolgabriel@hotmail.com, thomas@monjalon.net, ferruh.yigit@intel.com, arybchenko@solarflare.com, dev@dpdk.org, david.marchand@redhat.com, gavin.hu@arm.com, honnappa.nagarahalli@arm.com, nd@arm.com References: <20191218053902.193417-1-ruifeng.wang@arm.com> <20200110095350.80925-1-ruifeng.wang@arm.com> <20200110095350.80925-2-ruifeng.wang@arm.com> Date: Fri, 10 Jan 2020 10:03:04 -0500 In-Reply-To: <20200110095350.80925-2-ruifeng.wang@arm.com> (Ruifeng Wang's message of "Fri, 10 Jan 2020 17:53:49 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-MC-Unique: uqZHkuhQOdWftEnbJXazdA-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH v4 1/2] devtools: add path to additional shared object files X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Ruifeng Wang writes: > Drivers librte_mempool_ring.so and librte_pmd_null.so are loaded by > librte_eal.so when running testpmd. > In Ubuntu Xenial, driver path is installed to RPATH on testpmd. This > allows librte_eal.so to find drivers by using the RPATH. > However, in Ubuntu Bionic, driver path is installed to RUNPATH instead. > The RUNPATH on testpmd is not available by librte_eal.so and therefore > lead to driver load failure: > > EAL: Detected 32 lcore(s) > EAL: Detected 1 NUMA nodes > EAL: librte_mempool_ring.so: cannot open shared object file: > =09=09=09=09=09No such file or directory > EAL: FATAL: Cannot init plugins > EAL: Cannot init plugins > > Add 'drivers' into LD_LIBRARY_PATH so that testpmd can find and make > use of these shared libraries. > > Signed-off-by: Ruifeng Wang > Reviewed-by: Gavin Hu > --- Acked-by: Aaron Conole