Code: Select all
Welcome to Tnas!
ln: failed to create symbolic link '/usr/local/lib/lib': File exists
ln: failed to create symbolic link '/usr/local/lib64/lib64': File exists
Can anyone tell me if is having this issue and how to solve it?
Code: Select all
Welcome to Tnas!
ln: failed to create symbolic link '/usr/local/lib/lib': File exists
ln: failed to create symbolic link '/usr/local/lib64/lib64': File exists
Code: Select all
cat /etc/profile.d/buildtools.sh
#!/bin/bash
ROOT_PATH=$(dirname $(dirname $(dirname $(dirname $(readlink -f "${BASH_SOURCE[0]}")))))
# ln -s "$ROOT_PATH/lib" /usr/local/lib
# ln -s "$ROOT_PATH/lib64" /usr/local/lib64
export PATH=$PATH:$ROOT_PATH/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/lib