AMD64/rel 5.3 - setting up Linux compatibility

Sangwoo Shim ssw at neo.redjade.org
Wed Mar 2 10:53:42 GMT 2005


On Wed, Mar 02, 2005 at 02:05:02AM -0800, dR wrote:
[snip]

AFAIK, kernel modules for linux compatibility do not work yet.
You should include them directly in the kernel configuration file.

Well, I'll describe a little what I've done to use OOo for linux on FBSD/amd64.
FYI, I installed OOo 1.9.m79.

1. Rebuild and install kernel with following options.
  options 	LINPROCFS
  options 	COMPAT_43
  options 	COMPAT_LINUX32
2. After reboot, install emulators/linux_base.
3. Install java/linux-sun-jdk14.
3. Download OOo package for linux and expand it.
  Extract generated rpms using rpm2cpio, like
  rpm2cpio *.rpm | tar xvf -

  OOo files will be extracted into $PWD/opt.
4. Copy entire opt directory to /compat/linux/opt.
5. Add OOo shlib directory (/opt/openoffice.org1.9.79/program/filter) to
  /compat/linux/etc/ld.so.conf, and run /compat/linux/sbin/ldconfig.

And then you are all set.
Execute /compat/linux/opt/openoffice.org1.9.79/program/soffice. If you are not
using English-version of OOo, you might have to map some font files for your
language.
Hope these help.

Regards,
Sangwoo Shim


More information about the freebsd-amd64 mailing list