Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 35 |
Nodes: | 6 (0 / 6) |
Uptime: | 29:09:03 |
Calls: | 322 |
Calls today: | 1 |
Files: | 959 |
Messages: | 81,833 |
Posted today: | 3 |
Hi,
I have many Firebird databases on my Gentoo server.
To compile PHP with Firebird support, I have the line
-firebird
in /etc/portage/profile/use.mask because the Firebird USE flag
of PHP was masked somewhen.
This worked without problems as long as Firebird (3.0) was in
the portage tree.
Now Firebird was completely removed from the portage tree.
So I installed Firebird (5.0) from its own homepage which
works without problems, too. I put the line
dev-db/firebird-5.0.1.1469
into /etc/portage/profile/package.provided. Not sure if this
was necessary, but apparently it doesn't harm...
...maybe except one point: Since then, revdep-rebuild always
reinstalls PHP (although it doesn't show any orphaned files).
The other/old revdep-rebuild.sh says, however,
"Dynamic linking on your system is consistent... All done."
I'd like to get the normal revdep-rebuild saying "everything
ok", too. So what's the correct way to deal with a manually
installed Firebird server while keeping the Firebird support
in PHP and not interfering with revdep-rebuild?
Thanks,
-Matt
Michael wrote:
According to http://gpo.zugaina.org/ firebird is provided by bgo-overlay.
I don't know if this overlay is checked by gentoo devs for the quality of its contents or not, but you could take a look. Using an overlay will allow your system to know what files were installed by emerge. I expect your 'revdep- rebuild' behaviour will correct itself thereafter.
Thanks for the hint, but according to http://gpo.zugaina.org/Overlays/bgo-overlay/dev-db/firebird there's just version 4.0 available; as I already installed version 5.0 from https://www.firebirdsql.org/en/firebird-5-0#linux-x64 I don't want to downgrade.
I guess I could put some kind of "exceptions" into /etc/revdep-rebuild, but
I don't know what to configure in LD_LIBRARY_MASK and/or SEARCH_DIRS_MASK
as revdep-rebuild doesn't show any files and/or directories - it just reinstalls PHP...
-Matt
According to http://gpo.zugaina.org/ firebird is provided by bgo-overlay. I don't know if this overlay is checked by gentoo devs for the quality of its contents or not, but you could take a look. Using an overlay will allow your system to know what files were installed by emerge. I expect your 'revdep- rebuild' behaviour will correct itself thereafter.
Did you try running revdep-rebuild with the --debug --verbose --pretend options to see if it reveals the specific library objects affected?
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
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.
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 :-)
I think you are going to be stuck with revdep-rebuild issues
otherwise.
Michael Orlitzky wrote:
I think you are going to be stuck with revdep-rebuild issues
otherwise.
I succeeded in creating a file /etc/revdep-rebuild/98-firebird
with the line
LD_LIBRARY_MASK="libfbclient.so.2"
in it.