[odb-users] Debian upgrade

Boris Kolpackov boris at codesynthesis.com
Thu Aug 26 09:30:33 EDT 2021

luca paganotti <luca.paganotti at gmail.com> writes:

> Hi all, after debian upgrade from 10 to 11 odb is not working anymore.
> odb: error: no ODB plugin in GCC plugin directory
> '/usr/lib/gcc/x86_64-linux-gnu/10/plugin'
> I checked and odb.so is not present in the mentioned plugin folder.
> The upgrade went fine, but now odb refuses to work as before.

The version of GCC (g++) must have changed and so ODB is now looking
for the plugin for that version. There are two ways forward:

1. Rebuild/reinstall ODB for the new version of GCC.

2. Force ODB to use the old version of GCC if you still have it,
   for example:

   odb -x g++-9 ...

More information about the odb-users mailing list