And the only IBConnectin component is locked to 2.5.1. Can't we apply the visual prgmg paradigm to picking the applicble version of FB?
It's not locked to 2.5.1. (and the fact it works now proves that)
Please note that it is only the error message that says 2.5.1.
It actually also searches for libfbclient.so.2 and libfbclient.so too.
And the last one should be present for Firebird 4 (and 5).
So it's only the error message which should be fixed.
And in my opinion the searching for libfbclient.so.2.5 and libfbclient.so.2 should be removed in favor of just using libfbclient.so and displaying that if it can't be found. There should always be a symlink to the correct library. Otherwise you are always chasing new version.
Adding a version option in the component is also not advisable because then your executable can only run with that fb version. Using the symlink it can work with multiple fb versions (if you don't use specific version features.)