Public IP change leads to symbol lookup error (cardano-node: undefined symbol: crypto_vrf_publickeybytes)

Hi Community,
I am following stake pool school . Every time my public IP changes I got an error when starting testnet node .
Error is: cardano-node: symbol lookup error: cardano-node: undefined symbol: crypto_vrf_publickeybytes
I tried to change the public IP in the cardano node run commands. But still got the same error what am I missing?

Hello,
did you install the libsodium library?

Yes I did. And after editing .bashrc with
export
LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH" and
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"

Now It works fine.