From owner-freebsd-python@freebsd.org Mon Sep 10 17:00:08 2018 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D771A1095F06 for ; Mon, 10 Sep 2018 17:00:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 747C78B95C for ; Mon, 10 Sep 2018 17:00:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 391461095F03; Mon, 10 Sep 2018 17:00:07 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 27BF21095F02 for ; Mon, 10 Sep 2018 17:00:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BC79C8B958 for ; Mon, 10 Sep 2018 17:00:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 101401A7EC for ; Mon, 10 Sep 2018 17:00:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w8AH05bW055013 for ; Mon, 10 Sep 2018 17:00:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w8AH05eF055005 for python@FreeBSD.org; Mon, 10 Sep 2018 17:00:05 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 227939] devel/boost-python-libs vs ctypes.util.find_library Date: Mon, 10 Sep 2018 17:00:02 +0000 X-Bugzilla-Reason: AssignedTo CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: bsd@vink.pl X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ maintainer-feedback+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Sep 2018 17:00:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227939 --- Comment #9 from Wiktor Niesiobedzki --- (In reply to Jan Beich from comment #6) > For one, find_library() works fine on CentOS 7 without .so.X.Y.Z -> .so.X= symlink. Probably because find_library has another strategy available on Linux - invoking gcc in trace mode and extracting library path from there. Maybe it's the way to go to implement the same behaviour for FreeBSD (though use clang instead of gcc). For libraries that do not provide ABI compatibility, either they need to install .so.XYZ link to satisfy ldconfig requirements or ldconfig needs to = be fixed to look for so.X.Y.Z. Security note in ldconfig(8) man page specifies that library is missing from hints file it will not be loaded by setuid bin= ary. So if I'll have setuid binary linked with boost-python it will fail to run,= as the linker will refuse to load boost-python as non-safe lib? --=20 You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.=