Friday, January 23, 2009

Results of installing Flash Media Server 3.5 on Debian Etch Linux

I've been trying to install Flash Media Server 3.5 on Debian Etch.

It works with some messing about.

Firstly you can download the software from Adobe's web site and then have it ready to install on your server, but you must first install some libraries, do the following:

aptitude update && aptitude install libstdc++2.10-glibc2.2 iceweasel

Yes install iceweasel! You'll see why in a sec. Now download the software and get it onto your server and follow the instructions to install it (by reading the file Install.htm with lynx).

Now on first start-up you should spot the error about the NSPR library:

NPTL 2.3.6
Starting Adobe Flash Media Server (please check /var/log/messages)
Error: Flash Media Server needs the NSPR library installed.

Now if you run the command 'ldd /opt/adobe/fms/fmsmaster' you'll get this:

linux-gate.so.1 => (0xffffe000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7f83000)
libnspr4.so => not found
libplc4.so => not found
libplds4.so => not found
libasneu.so.1 => not found
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7f43000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7f3f000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7e59000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7e34000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7e29000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7cf8000)
/lib/ld-linux.so.2 (0xb7f9f000)

We need to sort out those missing libraries, all except libasneu. So do this:

ln -s /usr/lib/iceweasel/libnspr4.so /usr/lib/
ln -s /usr/lib/iceweasel/libplc4.so /usr/lib/
ln -s /usr/lib/iceweasel/libplds4.so /usr/lib/
ln -s /usr/lib/libssl.so.0.9.7 /usr/lib/libssl.so.4 # (I'm not sure that that is necessary, so try without)

Now run the ldd command and you should get:
server:/opt/adobe/fms# ldd fmsmaster
linux-gate.so.1 => (0xffffe000)
libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7f51000)
libnspr4.so => /usr/lib/libnspr4.so (0xb7f20000)
libplc4.so => /usr/lib/libplc4.so (0xb7f1a000)
libplds4.so => /usr/lib/libplds4.so (0xb7f17000)
libasneu.so.1 => not found
librt.so.1 => /lib/tls/i686/cmov/librt.so.1 (0xb7f0e000)
libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7f0a000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7e25000)
libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7dff000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7df4000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7cc3000)
/lib/ld-linux.so.2 (0xb7f6d000)

Now try to start the server again. You can do this with the command:
/opt/adobe/fms/fmsmgr server fms start

The admin server can be started with:
/opt/adobe/fms/fmsmgr adminserver start

Finally you need to run the console, I'll put the instructions up for this soon.

Bristol Wireless News

People & Planet News Headlines

Followers