Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1j6FHM-0003HZ-LE for pgsql-bugs@arkaria.postgresql.org; Mon, 24 Feb 2020 15:04:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j6FHK-0000VP-Vv for pgsql-bugs@arkaria.postgresql.org; Mon, 24 Feb 2020 15:04:14 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1j6FHK-0000VE-K9 for pgsql-bugs@lists.postgresql.org; Mon, 24 Feb 2020 15:04:14 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j6FHD-0001AW-W7 for pgsql-bugs@lists.postgresql.org; Mon, 24 Feb 2020 15:04:13 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id 01OF46WN017442; Mon, 24 Feb 2020 10:04:06 -0500 From: Tom Lane To: Daniel Gustafsson cc: krishnanunnir97@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16274: Repeated Libraries in Mac In-reply-to: <0766BB20-89C8-4EEA-ADF2-AF23AD8CB751@yesql.se> References: <16274-40bb1ad335087240@postgresql.org> <0766BB20-89C8-4EEA-ADF2-AF23AD8CB751@yesql.se> Comments: In-reply-to Daniel Gustafsson message dated "Mon, 24 Feb 2020 15:35:35 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <17440.1582556646.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 24 Feb 2020 10:04:06 -0500 Message-ID: <17441.1582556646@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Daniel Gustafsson writes: >> On 24 Feb 2020, at 13:12, PG Bug reporting form wrote: >> On running the md5 command in the pgsql/lib/ folder using the following >> command, >> ind . -name "*.dylib" -exec md5 {} \; | sort -g -k 4 >> I am getting this as the output >> MD5 (./libcrypto.1.1.dylib) =3D ebb2ebe266a6453b0cbd8b44a7fb64c5 >> MD5 (./libcrypto.dylib) =3D f2a42014ed6737d117c4732afffa783c >> MD5 (./libecpg.6.11.dylib) =3D eda61536e715b3d1465f1a607def4004 >> MD5 (./libecpg.6.dylib) =3D eda61536e715b3d1465f1a607def4004 >> MD5 (./libecpg.dylib) =3D eda61536e715b3d1465f1a607def4004 > If you inspect the directory I think you will find that these are links = to a > single file. Use "find -type f" instead to deduplicate your file check. Indeed. The more interesting question is why libcrypto.1.1.dylib and libcrypto.dylib appear *not* to be duplicates. The latter should be a symlink to the former, but seemingly it is not. regards, tom lane