File tree Expand file tree Collapse file tree 4 files changed +3
-19
lines changed
aws/security_plugins/db2-aws-iam Expand file tree Collapse file tree 4 files changed +3
-19
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ export INSTALLED_JSON_C=$(yum info installed json-c | grep Version | sed -e 's/V
3131make
3232```
3333
34+ There is also a script ` build.sh ` in the current directory which does all the above steps in one go.
35+
3436### Build steps for container build
3537
36381 . Create the build container
Original file line number Diff line number Diff line change 1717 sudo yum install -y openssl openssl-devel openssl-libs
1818fi
1919
20- if [[ " $ARCH " =~ " amzn2.x86_64" ]]; then
21-
22- # Remove json-c if the plugin is being built on Amazon Linux 2
23- sudo yum remove -y json-c
24-
25- # Build a newer version of json-c from source
26- git clone https://github.com/json-c/json-c -b json-c-0.13.1-20180305
27- cd json-c/
28- sudo yum install automake autoconf libtool
29- sh autogen.sh
30- ./configure
31- make
32- sudo make install
33- cd ..
34- rm -rf json-c
35-
36- fi
37-
3820if [[ ! -e /usr/lib64/libldap.so.2 ]]; then
3921 sudo ln -s " /usr/lib64/libldap.so" /usr/lib64/libldap.so.2
4022fi
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ unzip awscliv2.zip
1515sudo ./aws/install
1616```
1717
18- 2 . Install python package
18+ 2 . Install python package, if not already present. Tests are tested with python 2.7 as well as 3.11.
1919
2020``` shell
2121sudo yum install python3.11
You can’t perform that action at this time.
0 commit comments