Automic Workload Automation

 View Only

 V21 Linux Agent - Issue with LD_LIBRARY_PATH ?

Colin Willis's profile image
Colin Willis posted Feb 17, 2023 05:05 AM

Hi All.. Hope you're all doing well?

We have just installed V21 (yesterday patched to 21.0.5).

When we run jobs via Linux agent we get the below error:

/linux_shared/aua/Agents/linux_21.0.4/bin/ucxjlx6m: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /linux_shared/aua/Agents/linux_21.0.4/bin/ucxjlx6m)
/linux_shared/aua/Agents/linux_21.0.4/bin/ucxjlx6m: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /linux_shared/aua/Agents/linux_21.0.4/bin/ucxjlx6m)
/linux_shared/aua/Agents/linux_21.0.4/bin/ucxjlx6m: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /linux_shared/aua/Agents/linux_21.0.4/bin/ucxjlx6m)
/linux_shared/aua/Agents/linux_21.0.4/bin/ucxjlx6m: /lib64/libstdc++.so.6: version `CXXABI_1.3.11' not found (required by /linux_shared/aua/Agents/linux_21.0.4/bin/ucxjlx6m)
/linux_shared/aua/Agents/linux_21.0.4/bin/ucxjlx6m: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /linux_shared/aua/Agents/linux_21.0.4/bin/ucxjlx6m)

Broadcom support seems to suggest it's an issue because LD_LIBRARY_PATH is used within the agent service account .bash_profile.

A linux job works fine when LD_LIBRARY_PATH is not used in the agent users .bash_profile

But how do we get around this issue?

We have a lot of linux agents in our existing V12 environment that use the same user accounts. So we do not want to have to go through every service account & modify .bash_profile, as this will impact our applications!

Anyone else come across this issue?

Regards,

Colin.