瀏覽代碼

write about LD_LIBRARY_PATH

pull/1/head
10sr 12 年之前
父節點
當前提交
1524e5b48a
共有 1 個文件被更改,包括 7 次插入4 次删除
  1. +7
    -4
      profile

+ 7
- 4
profile 查看文件

@@ -31,11 +31,14 @@ __add_to_path(){
# export PATH="${PATH}:${HOME}/bin"
__add_to_path ${HOME}/.local/bin /c/mingw/bin /c/mingw/msys/1.0/bin

# it is not so good
# http://archive.linux.or.jp/JF/JFdocs/Program-Library-HOWTO/shared-libraries.html
# # it is not so good
# # http://archive.linux.or.jp/JF/JFdocs/Program-Library-HOWTO/shared-libraries.html
# # http://superuser.com/questions/324613/installing-a-library-locally-in-home-directory-but-program-doesnt-recognize-it
# without this ENV i cannot run tmux. another way is to use --disable-shared
# when building tmux
export LD_LIBRARY_PATH="$HOME/.local/lib:$LD_LIBRARY_PATH"
# or LDFLAGS
export CPPFLAGS="$CFLAGS -I$HOME/.local/include"
# this should be used when ./configure
#export CFLAGS="$CFLAGS -I$HOME/.local/include"

type setterm >/dev/null 2>&1 && setterm -blank 30 -powersave on # -powerdown 10
# in my environment powerdown does not work


Loading…
取消
儲存