mirror of
https://github.com/teddysun/across.git
synced 2025-01-31 12:19:35 +08:00
Fixed shared libraries error
This commit is contained in:
parent
a88801cbf0
commit
9e773c3571
9
l2tp.sh
9
l2tp.sh
@ -330,8 +330,13 @@ compile_install(){
|
|||||||
./configure
|
./configure
|
||||||
make && make install
|
make && make install
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib/libevent-2.0.so.5
|
if is_64bit;then
|
||||||
ln -s /usr/local/lib/libevent_pthreads-2.0.so.5 /usr/lib/libevent_pthreads-2.0.so.5
|
ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib64/libevent-2.0.so.5
|
||||||
|
ln -s /usr/local/lib/libevent_pthreads-2.0.so.5 /usr/lib64/libevent_pthreads-2.0.so.5
|
||||||
|
else
|
||||||
|
ln -s /usr/local/lib/libevent-2.0.so.5 /usr/lib/libevent-2.0.so.5
|
||||||
|
ln -s /usr/local/lib/libevent_pthreads-2.0.so.5 /usr/lib/libevent_pthreads-2.0.so.5
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
echo "libevent2 install failed..."
|
echo "libevent2 install failed..."
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user