Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 703FF780DDC for <~alpine/devel@lists.alpinelinux.org>; Wed, 12 Jan 2022 23:30:22 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 7BB925C01F3 for <~alpine/devel@lists.alpinelinux.org>; Wed, 12 Jan 2022 18:30:21 -0500 (EST) Received: from imap44 ([10.202.2.94]) by compute3.internal (MEProxy); Wed, 12 Jan 2022 18:30:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= mime-version:message-id:date:from:to:subject:content-type; s= fm2; bh=FHzaOCknErV4g68aukDu0phScmeHdPp+DNKJnlkPUOs=; b=GqxQw7Re ATgK25LP7aP2s6b8mwfXgSexcoYEDamSduugjGGaZg/YuUHsh/rpODA7Xp4UaxLo f/oCs6pSXL5H5FpMV0BP6CnMUt5E8TNlKH7nfdqTB3vv88mn0NULPOxs6quIlp1L /MWNfL0B91jQtuUKlQ26N8sS6+bWQPj/zYxPVM81cIczkyykAP8cRoSh/A4I02+f dxihIVMtJgVN/uv1fBMmhOviViN/pk9LAVyRdmW6AZyCDVezRRmkoQk24JIf+15Z B743oSIoWrO8eUzG9jCIB5uC+MUfB62H+no279o6lIuf1YHbQ+6G8DSO7ygHTGQz OGNkJtrxX1y8Lw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=FHzaOCknErV4g68aukDu0phScmeHd Pp+DNKJnlkPUOs=; b=WTsClEBme7mQt5/mJcFpQRJ9ffR2n73Ny6jtArsYTBdAb t9ETXidDfv6AJRz40FAqgWZ8+7XBRSa1H+LrOUfU73H4pC6wkHGobXZfkArCBC9q b0SrY2I3MR8g/PbUjlYNLr8VDxvDmyBGAe7mfsWr2xZIy/uO8yjO8qCSzIrTjo4x H94k8Qp68lXYjeYYOeUTgyQ1/0fYVdbUrkp/ZtEWAKizc5AQAPCdixTH3Lps0ECh aXPIqxiZCr2M2VYNjtYolmMdqFlFEawqqMfV8p/fjhT8MLGn7PE9W6NH+7uZprrk 1u3/u0b6twiocoGpCemRS1ofJEiWoISA2dT9lGSiA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrtddvgddutdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkfffhvffutgesthdtredtre ertdenucfhrhhomhepfdeuvghnucghvghishhsfdcuoegsrdifvghishhssehfrghsthhm rghilhdrfhhmqeenucggtffrrghtthgvrhhnpeevueeihfevgeekkefhgfelfeehfedugf fgheekuddttddvieetkeffjeegvedtfeenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpegsrdifvghishhssehfrghsthhmrghilhdrfhhm X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 34FC6FA0AA6; Wed, 12 Jan 2022 18:30:21 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-4569-g891f756243-fm-20220111.001-g891f7562 Mime-Version: 1.0 Message-Id: Date: Wed, 12 Jan 2022 17:29:40 -0600 From: "Ben Weiss" To: ~alpine/devel@lists.alpinelinux.org Subject: ld cannot find library with .so.1 extension Content-Type: text/plain Hi all, I am working on my first Alpine package, the Softether VPN. Trying to build the package, ld complained "Cannot find -lz". Checking the ld man page, I see -lfile will search for (summarizing here) libfile.a and libfile.so . I checked all of the other -l parameters, they all end in .a or .so- only libz ends in .so.1 (which is a symlink to libz.so.1.2.11). I tried simply creating a libz.so -> libz.so.1.2.11 symlink, and my package happily compiled. So, my question is- Should libz have a libz.so -> libz.so.(version) symlink in addtion to the .so.1 symlink, or is there a parameter or something else I am unaware of that will make ld find the library with the .so* extension? Thanks! -- Ben Weiss b.weiss@fastmail.fm