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 C0543A09EF for ; Tue, 22 Dec 2020 00:33:06 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 08EB3CA98; Tue, 22 Dec 2020 00:33:05 +0100 (CET) Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) by dpdk.org (Postfix) with ESMTP id 28A7CCA97 for ; Tue, 22 Dec 2020 00:33:03 +0100 (CET) Received: by mail-pg1-f174.google.com with SMTP id x1so1649774pgh.12 for ; Mon, 21 Dec 2020 15:33:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=hwpqwCeOnaeFmViZ3sOnwj23TAciD5NVABvOMqljHKk=; b=Ti9SPRm2Zi82VaMUZxkK8MAaqp9MOPGPljvcRc13fAKpxFnUBrp8HjgCW/0g2OF62n r8ceuDLEHI651dJR0DcZX8KjQvoI8sBNAcfcJwpDgU1H/iH5lr7G7/pVenkg5v+Vv4Zl 4A0RKsek5l0jdpuFVr0o2oIX1wEC373TZgv6dPbJkjfoe8pzRDP75DuXJybM98u9YptF 0/7BljpBHGtbbZ0Io2TBVdXGR+tV/opsk5fHzeS8EhJv5SddDQDpUa+VG6RiDx6tGn+u HmlBh654bvUygfBZsuvJKapbNq2jTddy6pkSLYSAotg4Xh4wnO8aacIBekXWxfgdUKS9 a9Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=hwpqwCeOnaeFmViZ3sOnwj23TAciD5NVABvOMqljHKk=; b=t5fScjqQ7QcX2RSLDiffPvgMWhgVXibW0Xq4nbqcCG43X6jMBteZE9fyDLq4RuSNgm 6h8bHdqXKy2Cu5flxEvDakuBLtgW7Sl0qsSa/lzrtuRaXGIT4/qs3sW45kt52tnSmvXg eG+FeFTDlO29pOmTQXn6xZVLuvfmbJMoOlrXL/bXTnMfuKEAEYDE+J3DDjmfJ7AqsAdQ lyJdaG5XNg4fEtNWl5WOXD6sKAjElUJzOgrA18IzJnSgqgAiUUPT8FC2cF1fIRfGkAEB gcNNo+yRy1+t839ADllnEbcYpFsJmlm+1JtVfPAziUbw92tXxJsmWec7jDrb6rviQDtB B8dg== X-Gm-Message-State: AOAM533N7LA//k11cK6gXJn6CLvN1Hwi/ssmtpZQmdPdZohe40mSygh/ 11lyYhZ++T8WmwLnU+bGoN4mwuXg2hbfRA== X-Google-Smtp-Source: ABdhPJyryDd0GqDR9Gxt9mzwW+Gypa7tn1j+phwagWGw82vKKGyPtb3diXxR8LFC+Yyu0zpid35W0g== X-Received: by 2002:a65:52c1:: with SMTP id z1mr17396897pgp.46.1608593581243; Mon, 21 Dec 2020 15:33:01 -0800 (PST) Received: from hermes.local (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id e13sm18619867pfj.63.2020.12.21.15.33.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Dec 2020 15:33:00 -0800 (PST) Date: Mon, 21 Dec 2020 15:32:50 -0800 From: Stephen Hemminger To: Justin Tallon Cc: users@dpdk.org Message-ID: <20201221153250.0979639b@hermes.local> In-Reply-To: References: <20201219112715.75924abe@hermes.local> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-users] using dpdk as a shared library X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" On Tue, 22 Dec 2020 00:20:51 +0100 Justin Tallon wrote: > Hey Stephen, > > Thanks for the response, I have passed the directory of the dpdk library as > you said with the -d flag. > > However, when I did this, I get the following error. > > libdpdk.so: invalid ELF header > > any help with this would be appreciated. > > Regards, > Justin > You need to pass the individual pmd library name. libdpdk.so is a linker script, not a real shared library. It disappeared in later versions.