aroky
June 11th, 2012, 07:18 PM
Hi, all
By reading this post, http://askubuntu.com/questions/121073/why-bash-profile-is-not-getting-sourced-when-opening-a-terminal
i set all my lib and path info in ~/.profile file, and delete ~/.bash_profile.
but after i logout, i can get my 'path' value, but i can not get my 'ld_library_path' value. why ? should i do extra work here?
my sample .profile file :
export xxpath = /**/yy/zz
export path = ${xxpath}/bin:${path}
export LD_LIBRARY_PATH=${xxpath}/lib:${LD_LIBRARY_PATH}
also, if i set my ld_library_path in my ~/.bashrc, i can get value if i do echo ${ld_library_path}. but when i do the compilation in c++ eclipse, it still can not find the lib. How can i set the lib path for c++ eclipse environment ?
thanks
By reading this post, http://askubuntu.com/questions/121073/why-bash-profile-is-not-getting-sourced-when-opening-a-terminal
i set all my lib and path info in ~/.profile file, and delete ~/.bash_profile.
but after i logout, i can get my 'path' value, but i can not get my 'ld_library_path' value. why ? should i do extra work here?
my sample .profile file :
export xxpath = /**/yy/zz
export path = ${xxpath}/bin:${path}
export LD_LIBRARY_PATH=${xxpath}/lib:${LD_LIBRARY_PATH}
also, if i set my ld_library_path in my ~/.bashrc, i can get value if i do echo ${ld_library_path}. but when i do the compilation in c++ eclipse, it still can not find the lib. How can i set the lib path for c++ eclipse environment ?
thanks