Hello there friends.  We have recently moved our product to MariaDB 10.5.5, and someone on my team noticed an oddity that occurs in some build processes.


The product has a complicated make-based build system, and many phases including “make src” and “make build” which pre-req’s the “src” target, and includes packaging.  The dev work to integrate mariadb used “make build”, which works.  Someone found unexpectedly this morning, that if we perform a “make src ; make build” we get a different outcome.  There is a sym-link created by the install target


lrwxrwxrwx 1 cross2 5011 14 Sep 11 08:30 ./destdir/usr/bin/mariadb-config -> mariadb_config


that is _not_ created in the first build.  The first build, which given the dependencies of other parts of our product needing mariadb libraries to build, performs the destdir install (via “make install” in mariadb).  And, that includes mariadb_config, but _not_ mariadb-config.


Can someone help me figure out where that sym-link is created, and why it seems to only be created when maria’s “make install” is run twice?


                 - Chris


Cmake config:






        -DINSTALL_PLUGINDIR=lib64/plugin \





        -DWITH_PCRE=auto \

        -DWITH_SSL=system \

        -DWITH_ZLIB=system \













        -DPLUGIN_S3=NO \








Chris Ross

Software Engineering Manager – Eventing/Datastore Teams