add ldconfig file and command
This commit is contained in:
parent
27739261fd
commit
90a6560e6a
2
maxscale.conf
Normal file
2
maxscale.conf
Normal file
@ -0,0 +1,2 @@
|
||||
/usr/local/sbin/MaxScale/modules
|
||||
/usr/local/sbin/lib
|
@ -32,10 +32,12 @@ make DEST=`pwd`/binaries ROOT_PATH=`pwd` HOME="" ERRMSG="/usr/share/mysql/englis
|
||||
|
||||
%post
|
||||
ln -s /lib64/libaio.so.1 /lib64/libaio.so
|
||||
/sbin/ldconfig
|
||||
|
||||
%install
|
||||
mkdir -p $RPM_BUILD_ROOT%{install_path}
|
||||
cp -r binaries/* $RPM_BUILD_ROOT%{install_path}
|
||||
cp maxscale.conf /etc/ld.so.conf.d/
|
||||
|
||||
%clean
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user