Linux Emulation Docs

Siju George sgeorge.ml at gmail.com
Tue Oct 12 03:05:07 PDT 2010


On Tue, Oct 12, 2010 at 2:34 AM, Chris Turner
<c.turner at 199technologies.org> wrote:
>
>
> See the discussion thread on the docs@ list from 9/2010 entitled
>
> "Flash-related docs on the site"
>
> (created against 2.6 / i386 / ff 3.6 / pkgsrc Q1 / flash9)
>

Thanks :-)
I am following the steps

>So - step one: setup your linux emulation environment:
>
>- install multimedia/libflashsupport which should pull in the full
>  linux setup::
>
>
>      # cd /usr/pkgsrc/multimedia/libflashsupport
>      # bmake package clean
>

===> Building binary package for libflashsupport-1.0.2098nb1
=> Creating binary package
/usr/pkgsrc/packages/All/libflashsupport-1.0.2098nb1.tgz
===> Cleaning for libflashsupport-1.0.2098nb1
dfly-vmsrv# pkg_info | grep libflashsupport
libflashsupport-1.0.2098nb1 Additional Interface Support for Linux Flash Player
dfly-vmsrv#


>
>- configure DF for running linux binaries::
>
>   - load the linux emulator::
>      # kldload linux
>

# kldload linux
kldload: can't load linux: File exists

perhaps it is because I have

linux_enable=yes

in /etc/rc.conf


>      # kldload aac_linux # note - not sure if needed.. why not?
>

dfly-vmsrv# kldload aac_linux
dfly-vmsrv#

>    - mount linprocfs::
>      # mount -t linprocfs none /usr/pkg/emul/linux/proc
>

dfly-vmsrv# mount -t linprocfs none /usr/pkg/emul/linux/proc

yes in df -h i have

linprocfs                 4.0K   4.0K     0B   100%    /usr/pkg/emul/linux/proc

now :-)

BUT the next step fails :-(

>    - run linux ldconfig to setup the linux-side linker paths::
>     # /compat/linux/sbin/ldconfig -a
>

dfly-vmsrv# /compat/linux/sbin/ldconfig -a
/compat/linux/sbin/ldconfig: invalid option -- a
Try `ldconfig --help' or `ldconfig --usage' for more information.
dfly-vmsrv#

what could have gone wrong?

thanks :-)

--Siju





More information about the Users mailing list