From YiPs Wiki (i powered)

PASE: Open Source Binaries

OPS product - chroot compile gcc environment (latest)

OPS product chroot scripts — beta chroot based gcc development environment compile c extensions for PHP, ruby, etc. (at your risk) This is open development of new LPP OPS GCC option. The idea is to be able to set up a “safe” way to do open source development, by downloading various perzl RPMs into a chroot location, aka, “safe” GCC comiple environment (and more). This is similar to below, except all RPM dependencies, additions, have already been tested and packed to drive download and install per topic, aka, run ptython 2.6 or 2.7 … or … run gcc compiler 4.6.2 or 4.8.3 … or … load basic utilites like zip/unzip, etc.

Binary fixes (GCC OPS):

Perzl RPMs (replaced by OPS product)

Most IBM i folks are now using binaries from Perzl site (, therefore a new script was created to web download and/or install rpms and dependencies from Perzl site. Perzl site provides handy list of dependencies for rpms you may download ( deplists), below creates a local copy of Perzl *.deps tree for use with This information and scripts are offered “as is”, please check ( License link for additional details.



1) Download (laptop):
unzip  (will create download-2.0.tar)

2) FTP 
ftp myibmi
> cd /QOpenSys
> bin
> put download-2.0.tar

2) Setup rpm and perzl *.deps (local copy)
call qp2term (or ssh uid@myibmi)
> cd /QOpenSys
> tar -xf download-2.0.tar
> cd /QOpenSys/download
> ./
  (a) setup installs rpm.rte
  (b) setup rpm install wget
  (c) setup untar perzl deplists  (,aix61)
      Note: (c) can take significant time (setting up prezl depend tree ...)

call qp2term (or ssh uid@myibmi)
> cd /QOpenSys/download
> ./ help
-------------- aix53|aix61 option [scan]
 option [scan]
 help          - help customer
 admin         - admin help, PASE releases, perzl site copy functions, etc.
 list   [scan] - list possible downloads
 count  [scan] - count list possible downloads
 wget1  [scan] - wget from perzl
 wget   [scan] - wget plus depends from perzl
 wgetv  [scan] - wget plus depends from perzl (view action only)
 rpm1   [scan] - rpm install local (post wget)
 rpm    [scan] - rpm install plus depends (post wget)
 rpmv   [scan] - rpm install plus depends (view action only)
                (*)[scan] - wild card rpm scan [gcc*]

pase->aix release:
 V5R3 -> aix52
 V5R4 -> aix53
 V6R1 -> aix53
 V7R1 -> aix61

> ./ aix53 list curl             -- list curl versions
> ./ aix53 wgetv curl-7.27.0-1   -- view only rpm web get (no action)
> ./ aix53 wget curl-7.27.0-1    -- rpm web get list
> ./ aix53 rpmv curl-7.27.0-1    -- view only rpms install (no action)
> ./ aix53 rpm curl-7.27.0-1     -- rpms install

Having PHP ssl trouble (ar trick)?

bash-4.2$ php -v
Could not load program php:
        Dependent module /usr/local/lib/libssl.a( could not be loaded.
        Member is not found in archive 
bash-4.2$ mkdir libssl
bash-4.2$ cd libssl/
bash-4.2$ ar -x /usr/local/lib/libssl.a
bash-4.2$ ls
bash-4.2$ cp    
bash-4.2$ ar -ruv /usr/local/lib/libssl.a
a -
bash-4.2$ php -v
Could not load program php:
        Dependent module /usr/local/lib/libcrypto.a( could not be loaded.
        Member is not found in archive 
bash-4.2$ ar -x /usr/local/lib/libcrypto.a
bash-4.2$ ls
bash-4.2$ cp    
bash-4.2$ ar -ruv /usr/local/lib/libcrypto.a
a -
bash-4.2$ php -v
PHP 5.3.6 (cli) (built: Apr  7 2011 09:37:14) 

AIX Toolbox RPMs (replaced OPS product)

This section of the wiki is dedicated to showing you “How to download and install” pre-compiled Open Source binaries hosted on the IBM AIX Toolbox for Linux Applications web site. This information is offered “as is”, please check this License link for additional details.

Note: replaces, allowing for newer versions from aix toolbox site.

Not all RPMs work …

Not all RPM binaries from Perzl/AIX Toolbox will run on IBM i PASE, often best stay with AIX 5.3 versions. Chart from

Release GA Date (AIX<>PASE age roughly 1–2 year prior GA)
IBM i V5R3 (AIX 5.2 or lower) 06/11/2004
IBM i V5R4 (AIX 5.3 or lower) 02/14/2006
IBM i V6R1 (AIX 6.1 or lower) 03/21/2008
IBM i V7R1 (AIX 6.1 or lower) 04/23/2010
IBM i V7R2 (AIX 7.1 or lower) 05/02/2014

People tried …

Two sites:

Useful links (if bit old):

  1. RPMScripts to install scripts and (obsolete, use or
  2. PackageManager to install the RPM package manager (obsolete, use or below, but manual rpm commands are useful)
  3. Archive where is old (obsolete, but if you are still using old …)
  4. CCSID Have CCSID issues? Junk characters? Nothing works? (save you an afternoon)


Tony “Ranger” Cairns - IBM i PHP / PASE

Retrieved from
Page last modified on April 18, 2017, at 09:35 AM EST