Answer the question
In order to leave comments, you need to log in
Openwrt 14.07 and LD_LIBRARY_PATH?
Good evening.
Colleagues, can anyone tell me where did LD_LIBRARY_PATH from /etc/profile go in this (14.07) version? I would like to install programs on an external usb drive, but it is not clear how to set the path to the libraries.
Added /opt path to the executables themselves, but libraries, how?
[email protected]:~# cat /etc/profile
#!/bin/sh
[ -f /etc/banner ] && cat /etc/banner
export PATH=/usr/bin:/usr/sbin:/bin:/sbin: /opt/usr/bin:/opt/usr/sbin:/opt/bin:/opt/sbin
export HOME=$(grep -e "^${USER:-root}:" /etc/passwd | cut -d ":" -f 6)
export HOME=${HOME:-/root}
export PS1='\[email protected]\h:\w\$ '
[ -x /bin/more ] || alias more=less
[ -x /usr/bin/vim ] && alias vi=vim || alias vim=vi
[ -z "$KSH_VERSION" -o \! -s /etc/mkshrc ] || . /etc/mkshrc
[ -x /usr/bin/arp ] || arp() { cat /proc/net/arp; }
[ -x /usr/bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question