Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Mar 2005 12:31:12 -0500
From:      "Michael W. Oliver" <michael@gargantuan.com>
To:        Jung-uk Kim <jkim@niksun.com>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: AMD64/rel 5.3 - setting up Linux compatibility
Message-ID:  <20050303173112.GA65467@gargantuan.com>
In-Reply-To: <200503031154.45046.jkim@niksun.com>
References:  <20050302100502.41535.qmail@web52303.mail.yahoo.com> <200503021627.14736.jkim@niksun.com> <20050303035313.GA30221@neo.redjade.org> <200503031154.45046.jkim@niksun.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--DocE+STaALJfprDB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On 2005-03-03T11:54:45-0500, Jung-uk Kim wrote:
> On Wednesday 02 March 2005 10:53 pm, Sangwoo Shim wrote:
>> On Wed, Mar 02, 2005 at 04:27:14PM -0500, Jung-uk Kim wrote:
>>> On Wednesday 02 March 2005 05:53 am, Sangwoo Shim wrote:
>>>> On Wed, Mar 02, 2005 at 02:05:02AM -0800, dR wrote:

>>>>   rpm2cpio *.rpm | tar xvf -

> Step 3 doesn't seem to work for me.  I just extracted individual RPMs. =
=20
> Maybe you have missed few RPMs?

I followed the following procedure, which is an off-shoot of Sangwoo's
procedure, and it worked great.  One note -- I also had to manually set
the JRE path, as it was not found automatically.


1. Rebuild and install kernel with following options.

options COMPAT_43
options LINPROCFS
options COMPAT_LINUX32

2. reboot
3. add the following to /etc/fstab

linprocfs /usr/compat/linux/proc linprocfs rw 0 0

4. mount /usr/compat/linux/proc
5. cd /usr/ports/emulators/linux_base && make install clean
6. cd /usr/ports/java/linux-sun-jdk14 && make install clean
7. cd /usr/local/src   # or where ever you want
8. fetch "http://openoffice.mirrors.pair.com/contrib/rc/2.0bc/OOo_2.0bc_Lin=
uxIntel_install.tar.gz"
9. tar -zxvf OOo_2.0bc_LinuxIntel_install.tar.gz
10. cd RPMS
11. mv openofficeorg* /usr/compat/linux   # (do this so that the extracted
    usr/bin and usr/share stuff are put in the right place later)
12. cd /usr/compat/linux
13. /bin/ls -1 openofficeorg*rpm | while read line; \
    do rpm2cpio $line | tar -xvf - ; done
14. rm openofficeorg*rpm
15. echo "/opt/openoffice.org1.9.79/program/filter" >>/usr/compat/linux/etc=
/ld.so.conf
16. /usr/compat/linux/sbin/ldconfig
17. Execute /compat/linux/opt/openoffice.org1.9.79/program/soffice


NOTE: failing to add "/opt/openoffice.org1.9.79/program/filter"
/usr/compat/linux/etc/ld.so.conf resulted in the following error when
trying to run soffice:

/usr/compat/linux/opt/openoffice.org1.9.79/program/soffice.bin: error
while loading shared libraries: libfreetype.so.6: cannot open shared
object file: No such file or directory

--=20
Mike Oliver
[see complete headers for contact information]

--DocE+STaALJfprDB
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCJ0ngsWv7q8X6o8kRAggIAJ9FzDssD0LPMMUi2IX4cfB7D22HHgCeMdjn
KBm3/XT7Z5vsKfbbY17g/XM=
=XF2F
-----END PGP SIGNATURE-----

--DocE+STaALJfprDB--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050303173112.GA65467>