<html><head></head><body><div class="ydp29349d11yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
        <div dir="ltr" data-setdir="false">I answered this question on Oct 28.  Simply use lazy binding as required by slurm.  See a copy below of my Oct 28 response to your original thread.</div><div dir="ltr" data-setdir="false">Just adjust the %build section of the rpm spec to ensure that -Wl,-z,-lazy appears at the end of LDFLAGS.  Problem solved.</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div><div dir="ltr" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><font>> You probably built slurm with immediate binding instead of lazy binding.  Check the tags in the plugin for BIND_NOW:</font></div><div dir="ltr" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><font><br clear="none"></font></div><div dir="ltr" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><font>> $ readelf -d /usr/lib64/slurm/select_cons_tres.so | grep BIND_NOW</font></div><div dir="ltr" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><font><br clear="none"></font></div><div dir="ltr" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><font>> If you find that tag, relink slurm with lazy binding instead, i.e. do not use any form of "now" linking, e.g. -Wl,-z,now.</font></div><div dir="ltr" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><font>> Note that the linker will honor the last directive seen on the command line, so simply appending -Wl,-z,lazy to the end</font></div><div dir="ltr" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif;"><font>> should suffice.</font></div></div><br></div><div><br></div>
        
        </div><div id="yahoo_quoted_5967918449" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Thursday, December 5, 2019, 12:36:52 PM EST, Brian Andrus <toomuchit@gmail.com> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div dir="ltr">Tim claims it works...<br clear="none"><br clear="none">I have compiled it, but when you try to run slurmd, it throws some <br clear="none">errors and will not start. From a previous thread:<br clear="none"><br clear="none">     While I can successfully build/run slurmctld, slurmd is failing because ALL of the SelectType libraries are missing symbols.<br clear="none">     Example from select_cons_tres.so:<br clear="none">     # slurmd<br clear="none">     slurmd: error: plugin_load_from_file: dlopen(/usr/lib64/slurm/select_cons_tres.so): /usr/lib64/slurm/select_cons_tres.so:<br clear="none">     undefined symbol: powercap_get_cluster_current_cap<br clear="none">     slurmd: error: Couldn't load specified plugin name for select/cons_tres: Dlopen of plugin file failed<br clear="none">     slurmd: fatal: Can't find plugin for select/cons_tres<br clear="none">     <br clear="none">     <br clear="none">     # nm -D /usr/lib64/slurm/libslurmfull.so|grep powercap_<br clear="none">     000000000010f7b8 T slurm_free_powercap_info_msg<br clear="none">     0000000000060060 T slurm_print_powercap_info_msg<br clear="none">   <br clear="none"><br clear="none">I am in the process of getting my client to purchase support so I can <br clear="none">have a ticket that gets attention :)<br clear="none"><br clear="none">Brian<br clear="none"><div class="yqt7486569669" id="yqtfd40059"><br clear="none">On 12/5/2019 4:17 AM, Shane Kelly wrote:<br clear="none">> Hi,<br clear="none">>     Is there anybody who has actually managed to compile from rpm<br clear="none">> on Centos 8?<br clear="none">>     And if so, could they share their recipe, please?<br clear="none">><br clear="none">> Thanks in anticipation :-)<br clear="none">><br clear="none">> Shane Kelly<br clear="none"><br clear="none"></div></div></div>
            </div>
        </div></body></html>