From nobody Wed Mar 2 15:32:12 2022 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id F35F719D815D for ; Wed, 2 Mar 2022 15:32:24 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-ua1-x934.google.com (mail-ua1-x934.google.com [IPv6:2607:f8b0:4864:20::934]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4K7ym82B8sz3H4W for ; Wed, 2 Mar 2022 15:32:24 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-ua1-x934.google.com with SMTP id 10so927462uar.9 for ; Wed, 02 Mar 2022 07:32:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nKtjPxkDlxu8kkAnsNYNacooEhf474GyIJhbqZj3MyY=; b=vvI2ooKMReCcjzUKohk/VBJyf4VShv1BrwUo8ZMKH9tGLFQppiMO4gBYg4y+EQTM4v INJHXYBMJT2IX5at4EhLh3VKY3Usw7/NE/omrV1I7HTQvRc5N35svI5f/c+DQflxf9yQ BUXGmbKZmK/f7szHVw0UzJAMG1cq3kzDKq9w1F3uQZ3JPHkMikm78ADEkoyg1BTbvh2a DhxFVSSPcfVxYKnuuhuJZvV1TWv6XcEFyCDavqw3t8WoYqbVREq/6NDtXZVguw99WZB3 dQD+186TqWhe4eOGPxNLJIgwGrPnOpWNtlRK0M1brqLW9zHiiDWMFDAyPSVb7xc+gG85 hkWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nKtjPxkDlxu8kkAnsNYNacooEhf474GyIJhbqZj3MyY=; b=EpCOTydq5YYtCmMbsns9fgFFP24oTndDF/cwwtfALY8P/8hor1YD2fA5kyk10ELDWy b+4fKzmSvmYnOiYZqqQed0G1Nq2xi5KqokcqvNV3pshHssfGl+s1nC8q+oAnpXfV8FHa PUYLfrKK82GAySsz0aggpr1G87ni71f/hzkM3yFm7vljhDsRN0a9+pRKxfz2O9Q18ZXg Q+jAGYxZTeU0Sz2NOwQGZ+PTM9DH5S7uUBvjDZYJdqOTIHuyAWqU9Rp1d1B3nXFhQbaR T8+S40eIGn1OAh/tuZR9/ZKBgUFSy8iONNCKHI91l8u5l0q8QvsmAZ76QQTkywtIys1V /6zA== X-Gm-Message-State: AOAM531LoJoOIGXtflSUL54rk9tSx1+ZIIlOSW6v3klST3VaKpBOf3rU uaFIHEykTVuVdGikRvRmhp/cvTJxWTEgvoYf1YgfwA== X-Google-Smtp-Source: ABdhPJzGcxJLMwF1j/2N//htDV+LCN3lojEOIJhEoBFCYOVRPfJzJLvROjbLVrLEoc8NGdePweJjfxXc5MIfti7ZikQ= X-Received: by 2002:ab0:13ad:0:b0:340:22f4:574d with SMTP id m42-20020ab013ad000000b0034022f4574dmr12663747uae.102.1646235143562; Wed, 02 Mar 2022 07:32:23 -0800 (PST) List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Wed, 2 Mar 2022 08:32:12 -0700 Message-ID: Subject: Re: Difference in shared object dependency To: Arka Sharma Cc: FreeBSD Hackers Content-Type: multipart/alternative; boundary="000000000000f2f92505d93dfcaa" X-Rspamd-Queue-Id: 4K7ym82B8sz3H4W X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20210112.gappssmtp.com header.s=20210112 header.b=vvI2ooKM; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::934) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-2.99 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20210112.gappssmtp.com:s=20210112]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-hackers@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20210112.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::934:from]; NEURAL_HAM_SHORT(-0.99)[-0.990]; MLMMJ_DEST(0.00)[freebsd-hackers]; FREEMAIL_TO(0.00)[gmail.com]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; R_SPF_NA(0.00)[no SPF record]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com] X-ThisMailContainsUnwantedMimeParts: N --000000000000f2f92505d93dfcaa Content-Type: text/plain; charset="UTF-8" On Wed, Mar 2, 2022 at 8:14 AM Arka Sharma wrote: > I am using 'ldd -a' to list the shared object dependencies of executable > as well as using 'procstat -v' to dump the mapping which also lists the > mapping of shared objects in process address space. I have noticed in some > cases 'procstat' lists some additional .so files (not counting the > ld-elf.so). Can somebody please tell me what's going on here ? > Are they repeats, but with different versions, of what ldd -a shows? If so, then you have a partially upgraded system and will likely be in a world of pain until you upgrade completely. Alternatively, you might be seeing a program that uses dlopen to map in other modules which is pulling in these libraries. In that case, it's normal. Warner --000000000000f2f92505d93dfcaa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable --000000000000f2f92505d93dfcaa--