Ecommerce

Getting St George bank's WebPay library working under FreeBSD

St George supply a shared library for RedHat Linux 9 at https://www.ipg.stgeorge.com.au We want it to run it using FreeBSD for various reasons, the least of which is that RH9 hasn't been supported for more than a year. (Actually, the real reason is that we have a client using FreeBSD that doesn't want to use the Java API.)

The current version (released Jan 2004) will work under FreeBSD 4 with a few steps:

  1. Install the linux emulation ports:

    emulators/linux_base-rh-9
    devel/linux_devtools
    devel/linux-glib2

  2. Install the kerberos5 and openssl libaries using RPMs.

    RPMFLAGS="--root /compat/linux --dbpath /var/lib/rpm --nodeps --replacepkgs --ignoreos --ignorearch"
    rpm -U $RPMFLAGS krb5-libs-1.2.7-10.i386.rpm
    rpm -U $RPMFLAGS openssl-0.9.7a-20.2.i386.rpm

  3. Copy the webpay library to both usr/lib directories:
Syndicate content