3 | | Initial Page |
| 3 | Multilib Instructions |
| 4 | |
| 5 | 32 Bit |
| 6 | {{{ |
| 7 | Change [TARGET] to one of the following |
| 8 | linux-x86_64-32 for AMD 64 |
| 9 | linux-sparcv9 for Sparc |
| 10 | linux-mipsel for MIPS Little Endian |
| 11 | linux-mips for MIPS Big Endian |
| 12 | |
| 13 | If your architecture is not listed you can follow the standard BLFS instructions. |
| 14 | |
| 15 | patch -Np1 -i ../openssl-0.9.7i-fix_manpages-1.patch |
| 16 | patch -Np1 -i ../openssl-0.9.7i-mips_support-1.patch (Only need for MIPS) |
| 17 | ./Configure [TARGET] --openssldir=/etc/ssl --prefix=/usr shared |
| 18 | make MANDIR=/usr/share/man |
| 19 | make MANDIR=/usr/share/man install |
| 20 | }}} |
| 21 | |
| 22 | N32 - MIPS Only |
| 23 | |
| 24 | Patch to allow multilib installations |
| 25 | http://www.linuxfromscratch.org/patches/downloads/openssl/openssl-0.9.7i-allow_lib64-1.patch |
| 26 | |
| 27 | Patch for MIPS architecture Support |
| 28 | http://www.linuxfromscratch.org/patches/downloads/openssl/openssl-0.9.7i-mips_support-1.patch |
| 29 | |
| 30 | {{{ |
| 31 | Install OpenSSL by running the following commands |
| 32 | Change [TARGET] to one of the following |
| 33 | linux-mipsel-n32 for MIPS Little Endian |
| 34 | linux-mips-n32 for MIPS Big Endian |
| 35 | |
| 36 | patch -Np1 -i ../openssl-0.9.7i-fix_manpages-1.patch |
| 37 | patch -Np1 -i ../openssl-0.9.7i-allow_lib64-1.patch |
| 38 | patch -Np1 -i ../openssl-0.9.7i-mips_support-1.patch |
| 39 | ./Configure [TARGET] --openssldir=/etc/ssl --prefix=/usr shared |
| 40 | make MANDIR=/usr/share/man LIBDIR=lib32 |
| 41 | make MANDIR=/usr/share/man LIBDIR=lib32 install |
| 42 | }}} |
| 43 | |
| 44 | 64 Bit |
| 45 | |
| 46 | Patch to allow multilib installations |
| 47 | http://www.linuxfromscratch.org/patches/downloads/openssl/openssl-0.9.7i-allow_lib64-1.patch |
| 48 | |
| 49 | Patch for MIPS architecture Support |
| 50 | http://www.linuxfromscratch.org/patches/downloads/openssl/openssl-0.9.7i-mips_support-1.patch |
| 51 | |
| 52 | {{{ |
| 53 | Install OpenSSL by running the following commands |
| 54 | |
| 55 | Change [TARGET] to one of the following |
| 56 | linux-x86_64-64 for AMD 64 |
| 57 | linux64-sparcv9 for Sparc |
| 58 | linux-mips64el for MIPS Little Endian |
| 59 | linux-mips64 for MIPS Big Endian |
| 60 | |
| 61 | patch -Np1 -i ../openssl-0.9.7i-fix_manpages-1.patch |
| 62 | patch -Np1 -i ../openssl-0.9.7i-allow_lib64-1.patch |
| 63 | patch -Np1 -i ../openssl-0.9.7i-mips_support-1.patch (Only need for MIPS) |
| 64 | ./Configure [TARGET] --openssldir=/etc/ssl --prefix=/usr shared |
| 65 | make MANDIR=/usr/share/man LIBDIR=lib64 |
| 66 | make MANDIR=/usr/share/man LIBDIR=lib64 install |
| 67 | }}} |