<div dir="ltr">I looked back in the list to November when I had the same problem problem building with MariaDB:<div>>>>> On 11-11-2019 21:23, William Brown wrote:<br>>>>>> I have in fact found the answer by looking harder.<br>>>>>><br>>>>>> The config.log clearly showed that the build of the test MySQL<br>>>>>> program failed, which is why it was set to be excluded.<br>>>>>><br>>>>>> It failed to link against '-lmariadb'.  It turns out that library is<br>>>>>> no longer in MariaDB or MariaDB-devel, it is separately packaged in<br>>>>>> MariaDB-shared.  That may of course be because I have built MariaDB<br>>>>>> 10.4 from the <a href="http://mariadb.org/" rel="noreferrer" target="_blank">mariadb.org</a> site, because CentOS 7 only ships with the<br>>>>>> extremely old version 5.5.<br>>>>>><br>>>>>> Once I installed the missing package it built the RPMs just fine. <br>>>>>> However it would be easier to use it linked to static MariaDB<br>>>>>> libraries, as I now have to installed MariaDB-shared on every server<br>>>>>> that will run slurmd, i.e. all compute nodes.  I expect that if I<br>>>>>> looked harder at the build options there may be a way to do this,<br>>>>>> perhaps with linker flags. </div><div><br></div><div>I think that even if you are building with MySQL on a clean VM you need to look at the detailed log of the build of the accounting components. <br></div><div><br></div><div>The configure looks and if it finds either mysql_config or mariadb_config commands it assumes that you need to build with MySQL support.  In your case you actually want it, where I really didn't as I use slurmdbd, not a direct connect to MySQL.  It was then a matter of having the right RPMs installed, and for MariaDB the missing bit was MariaDB-shared (this is for RHEL/CentOS).  As soon as I had installed that I was able to get the accounting_storage_mysql to build.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 12 Dec 2019 at 03:54, <<a href="mailto:dean.w.schulze@gmail.com">dean.w.schulze@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Is that logged somewhere or do I need to capture the output from the make<br>
command to a file?<br>
<br>
-----Original Message-----<br>
From: slurm-users <<a href="mailto:slurm-users-bounces@lists.schedmd.com" target="_blank">slurm-users-bounces@lists.schedmd.com</a>> On Behalf Of Kurt<br>
H Maier<br>
Sent: Wednesday, December 11, 2019 6:32 PM<br>
To: Slurm User Community List <<a href="mailto:slurm-users@lists.schedmd.com" target="_blank">slurm-users@lists.schedmd.com</a>><br>
Subject: Re: [slurm-users] Need help with controller issues<br>
<br>
On Wed, Dec 11, 2019 at 04:04:44PM -0700, Dean Schulze wrote:<br>
> I tried again with a completely new system (virtual machine).  I used <br>
> the latest source, I used mysql instead of mariadb, and I installed <br>
> all the client and dev libs (below).  I still get the same error.  It <br>
> doesn't build the /usr/lib/slurm/accounting_storage_mysql.so file.<br>
> <br>
> Could the ./configure command be the problem?  Here's how I run it:<br>
<br>
It's going to be extremely difficult to diagnose this without the output<br>
from the build process.  Perhaps you could attach this to the bug report you<br>
opened about this issue.<br>
<br>
khm<br>
<br>
<br>
<br>
</blockquote></div>