From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6BF511582EF for ; Tue, 11 Feb 2025 16:31:31 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 53A03343314 for ; Tue, 11 Feb 2025 16:31:31 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id E070711047E; Tue, 11 Feb 2025 16:30:24 +0000 (UTC) Received: from n.hanft.de (n.hanft.de [IPv6:2001:780:125:1::e4]) (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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id A86D011042D for ; Tue, 11 Feb 2025 16:30:23 +0000 (UTC) Received: from home01.hanft.de (home01.hanft.de [IPv6:2003:a:1137:e000:a:f:5:15]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by n.hanft.de (Postfix) with ESMTPS id 8606F966FF7; Tue, 11 Feb 2025 17:30:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=hanft.de; s=231024; t=1739291421; bh=seBNj8u2ApCZgepGvVN7yUZp+xnG3/VmTOnI2S+Kh5o=; h=Subject:To:References:From:Date:In-Reply-To:From; b=ugtPNGKy+imCMom3zMWzspwhze76XfYEuMP/jjIWWGUgbU0ta1644VWHu0ZyaDJP3 MMz5o4MuyzQX8rfKsXMg+01b8pClSgTViVxuCb1hizD8uGm8SRDUnEUJ8y4nfUtJLU 4xhngWLt8a3/M+5puM3ypTEHZ/MA9GK/8kDRynaHBkEFaz1/WGhSXO7Sn2NKg61YQQ 3OtnelNmsfD3h7wHJDP1k1OUJ7cK2XTq8TzhCHe42u8J/9x3SwtsegxbkkAQdy30AJ CO6TpuJIdV1TaGlRkY2OhJJ4YiHe0ht9Re8CxIpfUtj13xnaO8IZ6Qd4Me423ps6iN BZ25YtdfFwCAw== Received: from mh.hanft.de (mh.hanft.de [IPv6:2003:a:1137:e000:a:f:5:33]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: mh) by home01.hanft.de (Postfix) with ESMTPSA id 71DB72000B0E8E; Tue, 11 Feb 2025 17:30:20 +0100 (CET) Subject: Re: [gentoo-user] How to handle Firebird with PHP now To: gentoo-user@lists.gentoo.org References: <27416a10-0532-32df-df43-7e51841c29bf@hanft.de> <4989515.31r3eYUQgx@rogueboard> <353023c3-0b5c-fe58-07ab-1ce07f92b72d@hanft.de> <10610138.nUPlyArG6x@rogueboard> From: Matthias Hanft Message-ID: Date: Tue, 11 Feb 2025 17:30:00 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0 SeaMonkey/2.53.20 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: <10610138.nUPlyArG6x@rogueboard> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 113bd29a-4812-4fee-96ca-1c5bb0777709 X-Archives-Hash: 8555bc747724f559ae25f04c0c440054 Michael wrote: > > Did you try running revdep-rebuild with the --debug --verbose --pretend > options to see if it reveals the specific library objects affected? Good idea: [...] * Checking dynamic linking consistency analyse(), Searching for 15578 libs, bins within 17138 libraries and links LibCheck.__init__(), new searchlibs: ['32', '64'] LibCheck.search(), Checking for broken 32 bit libs LibCheck.search(), Checking for broken 64 bit libs LibCheck.search(); FOUND: 64bit, libfbclient.so.2, /usr/lib64/php8.2/apache2/libphp8.so LibCheck.search(); FOUND: 64bit, libfbclient.so.2, /usr/lib64/php8.2/bin/php LibCheck.search(); Total found: 1 libs, 2 files in 791 milliseconds * Broken files that require: libfbclient.so.2 (64 bits) * /usr/lib64/php8.2/apache2/libphp8.so * /usr/lib64/php8.2/bin/php LibCheck.process_results(); total filepaths found: 2 in 1 milliseconds * Assign files to packages * /usr/lib64/php8.2/apache2/libphp8.so -> dev-lang/php-8.2.24 * /usr/lib64/php8.2/bin/php -> dev-lang/php-8.2.24 assign_packages(); assigned 1 packages, 0 orphans in 6469 milliseconds As I understand it, both "libphp8.so" and "php" itself need "libfbclient.so.2". But that does exist: home01 /usr/lib64 # ls -l libfb* lrwxrwxrwx 1 root root 32 Feb 9 11:11 libfbclient.so -> /opt/firebird/lib/libfbclient.so lrwxrwxrwx 1 root root 34 Feb 9 11:11 libfbclient.so.2 -> /opt/firebird/lib/libfbclient.so.2 lrwxrwxrwx 1 root root 38 Feb 9 11:11 libfbclient.so.5.0.1 -> /opt/firebird/lib/libfbclient.so.5.0.1 home01 /usr/lib64 # ls -l /opt/firebird/lib lrwxrwxrwx 1 root root 16 Aug 2 2024 libfbclient.so -> libfbclient.so.2 lrwxrwxrwx 1 root root 20 Aug 2 2024 libfbclient.so.2 -> libfbclient.so.5.0.1 -rwxr-xr-x 1 root root 2973336 Aug 2 2024 libfbclient.so.5.0.1 So, after re-emerging PHP, everything should be fine?! home01 /usr/lib64/php8.2/apache2 # ldd libphp8.so | grep libfb libfbclient.so.2 => /usr/lib64/libfbclient.so.2 (0x00007f434c0d3000) home01 /usr/lib64/php8.2/bin # ldd php | grep libfb libfbclient.so.2 => /usr/lib64/libfbclient.so.2 (0x00007fe65f5ac000) and actually PHP *does* wotk with Firebird. I guess revdep-rebuild thinks "no portage ebuild contains libfbclient.so.2 which is needed by PHP, so let's just re-install PHP and hope for the best". (Whereas the old "revdep-rebuild.sh" doesn't think so - strange, isn't it?) I don't know portage (or revdep-rebuild) well enough to be able to say 'libfbclient.so.2 *is* available after all!'. > Either way, since you probably intend to continue using firebird I suggest you > consider if it is feasible to set up a local overlay to experiment with it. > You could copy the ebuild for version 4.0 from the bgo-overlay, or the last > firebird from portage attic and tweak it to make it compile and install on > your system. > https://gitweb.gentoo.org/repo/gentoo.git/log/?qt=grep&q=firebird Hmmm... could be a solution indeed, but as long as it's just revdep-rebuild, the pain threshold for an overlay and tinkering with the ebuild has not yet been reached :-) > Firebird was dropped from portage recently due to a lack of maintainer. I > appreciate it doesn't have the simplest of ebuilds, but if you become > proficient in looking after your own ebuild, potentially with some advice from > Gentoo devs, you could contribute your work for Firebird to return back to > portage. Unfortunately, I haven't got any clue how to build ebuilds - I'm just writing application software. Regarding standard system software packages like Apache, PHP, Firebird and all that, I'm just a dumb user as everyone else. Sorry! -Matt