Where is libmaodbc.so

I have reinstalled mariacb-connector-odbc but don’t seem to have the driver installed. It was working fine in Fedora 44.

✓  richard@andromeda-ascendant ~
>>> dnf repoquery --whatprovides libmaodbc.so                                                                
Updating and loading repositories:
Repositories loaded.
mariadb-connector-odbc-0:3.2.8-6.fc45.i686
✓  richard@andromeda-ascendant ~
>>> sudo dnf install mariadb-connector-odbc                                                                  
[sudo] password for richard: 
Updating and loading repositories:
 gitlab.com_paulcarroty_vscodium_repo                                 100% |  10.3 KiB/s |   3.8 KiB |  00m00s
Repositories loaded.
Package "mariadb-connector-odbc-3.2.8-6.fc45.x86_64" is already installed.

Nothing to do.
✓  richard@andromeda-ascendant ~
>>> locate libmaodbc.so                                                                                      
/usr/lib64/odbc/libmaodbc.so
✓  richard@andromeda-ascendant ~
>>> ls /usr/lib64/libmaodbc.so                                                                               
ls: cannot access '/usr/lib64/libmaodbc.so': No such file or directory
✗  richard@andromeda-ascendant ~

The path you’re lsing isn’t the one where locate says the file should be:

>>> locate libmaodbc.so                                                                                      
/usr/lib64/odbc/libmaodbc.so
✓  richard@andromeda-ascendant ~
>>> ls /usr/lib64/libmaodbc.so   

Ah. Don’t I feel stupid!

We’ve all been there for sure :grinning_face:

You can also ask rpm where it put things:
rpm -q --list mariadb-connector-odbc

The locate tip is also useful, but if memory serves it only updates its database daily, so probably won’t yield results directly after installing something new.