Posts

Showing posts with the label rfc

How To Build your Own Openshift Builder Images (saprfc extension for PHP 5.6)

Image
This post shows the steps required to build your own Openshift Builder images. This might be needed when you need to connect to Oracle database using PDO extension, or there is additional command you want to be available in your application pods. If you simply need additional extension that are readily available, there is an alternative simpler step involving the use of S2I assemble script (see  http://inventorsparadox.blogspot.com/2018/04/installing-apcu-extension-in-openshift.html ). But if the extension need nontrivial dependencies, please read the remaining of this blog post. Tools of the trade We are going to need Docker toolset available. For Mac users, you could use  Docker for Mac . For Windows users, there is Docker for Windows . I will show the screenshot from Docker running on CentOS Linux. You also going to need git (https://git-scm.com/download/win or  https://git-scm.com/download/mac).  Clone the source repository First clone the sour...

Installing Saprfc on CentOS 6

Our PHP web servers were powered by Linux, either Red Hat Enterprise Linux or CentOS Linux. Normally we use 5.x version of CentOS or RHEL, but after a few years running 5.x we decided that its now time to upgrade to 6.x. The first problem we encounter is that the SAPCAR utility shows loading shared libraries error. ./SAPCAR_1-20002087.EXE RFC_45-10003377.SAR ./SAPCAR_1-20002087.EXE: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory Checking the EXE file (actually is a Linux ELF binary but with misleading extension) with LDD, we find that : [root@myserver opt]# ldd SAPCAR_1-20002087.EXE         linux-gate.so.1 =>  (0x00e81000)         libdl.so.2 => /lib/libdl.so.2 (0x00d05000)         librt.so.1 => /lib/librt.so.1 (0x00317000)         libstdc++.so.6 => not f...