OpenMandrivaAssociation / distribution

OpenMandriva Lx is an exciting free Desktop Operating System that aims to cater to and interest first time and advanced users alike. It has the breadth and depth of an advanced system but is designed to be simple and straightforward in use.
https://openmandriva.org
7 stars 2 forks source link

MariaDB #2933

Closed jpietarinen closed 10 months ago

jpietarinen commented 1 year ago

OpenMandriva version: 23.08 ROME

Describe the bug: /usr/bin/mariadb-config --libs : typo in path

benbullard79 commented 1 year ago
$ /usr/bin/mariadb_config --libs
-L/usr//usr/lib64/ -lmariadb

You could create a symbolic link if you need /usr/bin/mariadb-config instead of /usr/bin/mariadb_config.

We need a developer to weigh in on whether this is or is not a bug. I do not know.

benbullard79 commented 1 year ago

I asked this of OM devs and got:

Yes, just not a very important one. Note the -L/usr//usr/lib64/ in the output. That's clearly wrong (but not very relevant because stuff in /usr/lib64 is found anyway, even without any -L)

Confirming as bug. This should be fixed next time devs touch this package.

tpgxyz commented 12 months ago

This is fixed [tpg@omv-rockpro64 mariadb]$ file mariadb-common-11.2.1-1-omv2390.aarch64.rpm mariadb-common-11.2.1-1-omv2390.aarch64.rpm: RPM v3.0 bin mariadb-common-11.2.1-1

[tpg@omv-rockpro64 mariadb]$ ./mysql_config --libs -L/usr/lib64 -lmariadb -lz -ldl -lm -lssl -lcrypto