[odb-users] Cannot Compile ODB Compiler on RHEL 8.5

Tyler Lytle tlytle123 at gmail.com
Tue Jun 14 13:14:13 EDT 2022

Thank you very much for your time, Boris. I believe that we are going to
pursue using ODB 2.5.0 as falling back to an older version of MySQL is not
desirable for us. We will seek out a proper GCC 8 Plugin RPM package so
that we can build the ODB 2.5.0 compiler.
One last question: does ODB support MariaDB in any capacity? I know it is
more-or-less a carbon copy of MySQL, but I presumed the libodb-mysql
configure tools isn't flexible enough to determine if MariaDB is installed
and to use its header files and libraries.

On Mon, Jun 13, 2022 at 9:50 AM Boris Kolpackov <boris at codesynthesis.com>

> Tyler Lytle <tlytle123 at gmail.com> writes:
> > I think I am going down a rabbit hole of RPM issues. The RHEL 8.5 ISO
> that
> > contains the RedHat provided repository does not seem to have a plugin
> > support package for GCC 8.
> Hm, that's strange. I did a bit of googling and at least CentOS seems
> to have it. It appears the package you are looking for should be called:
> gcc-plugin-devel-8.5.0-3.el8.x86_64.rpm
> > I instead downloaded the precompiled ODB 2.4.0 RPM from the Code
> > Synthesis website and installed that and I am now making headway.
> >
> > [...]
> >
> > After doing this, I can now get configure to work. However, when trying
> to
> > make the libodb-mysql runtime library, I get a mountain of errors.
> I took a look in the commit history[1] and it appears we've made a number
> of changes since the 2.4.0 release to make libodb-mysql compatible with
> newer versions of MySQL:
> I can try to look through the log and point you to the relevant patches
> that you could then try to apply to libodb-mysql-2.4.0, but I think you
> will have a much better experience going forward if you manage to get your
> GCC plugin support sorted and then build the latest 2.5.0 pre-release
> based on these instructions:
> https://codesynthesis.com/products/odb/doc/install-build2.xhtml
> [1] https://git.codesynthesis.com/cgit/odb/libodb-mysql/log/

Tyler Lytle
E-Mail: tlytle123 at gmail.com

More information about the odb-users mailing list