From nobody Mon Mar 17 15:04:06 2025 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 4ZGdXn2nJ1z5qk0K for ; Mon, 17 Mar 2025 15:04:09 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZGdXm4kVQz3XHk; Mon, 17 Mar 2025 15:04:08 +0000 (UTC) (envelope-from bapt@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1742223848; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=6XkEGQS6K2+UAmZNVklDRYIc9IaX/niagUfBHgEo8xc=; b=OsRDJcsqp4/tmCQKo87eO7G5qvQRNkPMzGhN4MldYjkmKsv5f3DDLEpUxNW8SRPxzBIeNy wA2D8VJ3iptOEaOCxZTrPzhH1xiTqkc1fE9ie5BW9b3pIeCcMzTiQUxPKqmFxl3VC5TfG5 kphbe74AvKsQ8xQb2EbVFW6pw/T9N19XC2pLmc2h4JatEE7zpsS+/WApyL7mzv0of1OD33 d32zG+M0U1+PToR3Tq0RLADCipX6HQuLnaVYV+0JJRy8d0ueKppLNDhx0323XoWJbeTvtn obhbkbmH7apd0The6VJLUkr2DDsV5jJeyiv3cvung5AlLwTSo2O+cDMqz8AXdw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1742223848; a=rsa-sha256; cv=none; b=m4J/mlJRyG7IUy0A3YE2WLXPYj8V7IMHCigR2iboDaS43CXDOXIs0riIVxt37jmX7AvIx6 4bqAOwXKm3VdScwNvQxdV9AQ60MATRcW/3ajTTzEh6tNvvNOGp5T+Q8siyWJBHVWRua4fa 1ApKqfj3Tf63gq0FgAsVhSYM/29/NAkw+SaXB2NyF0YtheivSWNmWKnnzEIWASIxEymTbQ AeVndEkc6jAFJj1YFon+pwmy+c2iPjgROgkfE1ikcl7olFVMEHY2sd8XvElNJrzSWf6WEg aRnkp18Vtl1q/J5+mJYCdiOntyvOciMVh1mX1icRbkQNQn6LKtcNEGUuw1F8OQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1742223848; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=6XkEGQS6K2+UAmZNVklDRYIc9IaX/niagUfBHgEo8xc=; b=VL5mjuzmDfWc1eNtgbFpHkNwSjUMcevMeEqAmpkUf+3IixlrYKyz0cyzuCflkcztgX6Lsp mOR8DJYUfV+/hBEGNu6Quz+72+2sLdFONb9CGNgXGaGrxYMs/keLGmC3VmmXij6IOEArE+ 4/maXCaSdsbEZV+aw5baJUevNSfUWbqC/RusXeNbe9AJ434Kgk1Y0eqktNi1FW8QCYLBEm EGEkqXLFgbH1h3TLNsbNyvzZUjf9sfozilPLMGwSFe72hmYywZDFL+APJozfSyVbcnPGKK w5tOiO/DCECH+XiylWK7ze39rUlITnBBs0wRHdyK1cI7FArQ8QpTg60dBrw5Wg== Received: from b.nours.eu (b.nours.eu [54.38.177.57]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 4ZGdXm3MvxzNks; Mon, 17 Mar 2025 15:04:08 +0000 (UTC) (envelope-from bapt@freebsd.org) Received: by b.nours.eu (Postfix, from userid 1001) id 886211E774; Mon, 17 Mar 2025 16:04:06 +0100 (CET) Date: Mon, 17 Mar 2025 16:04:06 +0100 From: Baptiste Daroussin To: Rozhuk Ivan Cc: freebsd-hackers Subject: Re: Is any way to detect *'version '*'required by '*'not defined' ? Message-ID: References: <20250316231342.62fab6f8@rimwks.local> 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250316231342.62fab6f8@rimwks.local> On Sun 16 Mar 23:13, Rozhuk Ivan wrote: > Hi! > > I am looking for a way to find broken lib and apps that cause err messages like that: > % /usr/local/share/chromium/chrome > ld-elf.so.1: /usr/local/lib/libxkbcommon.so.0: version V_0.5.0 required by /usr/local/share/chromium/chrome not defined > > For libs this works fine (some times it coredump on some libs): > /libexec/ld-elf.so.1 -d ${LIB_NAME} > > But for executables - it run app: > % /libexec/ld-elf.so.1 -d /usr/local/bin/idn > libidn 1.42 > Copyright 2002-2024 Simon Josefsson. > GNU Libidn is free software with ABSOLUTELY NO WARRANTY. For more > information about these matters, see . > Type each input string on a line by itself, terminated by a newline character. > > idn: tld_check_4z: Missing input > Exit 1 > > > > Don't know if you got the details here, but the problem you face is that you do build locally with something on you local setup which makes the meson build script unhappy its thinks your toolchain does not support version script. Best regards, Bapt