增加库搜索路径
2021-06-01 本文已影响0人
火星凯撒
#!/bin/bash
export LOGNAME=root
this_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export LD_LIBRARY_PATH=$this_dir";"$this_dir"/drvs"
echo "$LD_LIBRARY_PATH"
#!/bin/bash
export LOGNAME=root
this_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export LD_LIBRARY_PATH=$this_dir";"$this_dir"/drvs"
echo "$LD_LIBRARY_PATH"