Flash Media Server (FMS) and libasneu.so.1 issue

Today I was working with Flash Media Server (FMS). Everything went accordingly except libasneu.so.1. This file is needed for FMS which is included with FMS archive. We just need to link it correctly.You may check the shared library dependencies by the following command:

# ldd fmscore

In my case, everything was found except libasneu.so.1. It was showing not found. I have started googling. Got a lots of tips. However, none worked. Some sites suggested to create a soft link to this file in /lib (ln -s /opt/adobe/fms/libasneu.so.1 /lib/libasneu.so.1) . Some suggested to do same in /usr/lib ((ln -s /opt/adobe/fms/libasneu.so.1 /usr/lib/libasneu.so.1). Another site suggested to add fms path in a config file (/etc/ld.so.conf.d/). I tried everything without any luck.

Once I have deleted all links and directly copied the libasneu.so.1 file to /lib. Then I hit the ldd fmscore command again.

libpthread.so.0 => /lib/libpthread.so.0 (0xb7f77000)
libnspr4.so => /usr/lib/libnspr4.so (0xb7f3e000)
libplc4.so => /usr/lib/libplc4.so (0xb7f3a000)
libplds4.so => /usr/lib/libplds4.so (0xb7f37000)
libasneu.so.1 => /lib/libasneu.so.1 (0xb7f2e000)
librt.so.1 => /lib/librt.so.1 (0xb7f25000)
libdl.so.2 => /lib/libdl.so.2 (0xb7f21000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb7e37000)
libm.so.6 => /lib/libm.so.6 (0xb7e10000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7e04000)
libc.so.6 => /lib/libc.so.6 (0xb7cc0000)

Wow, everything now working.

Then I could start/stop server using:

# ./adminserver start

# ./adminserver stop

It can also be done using: service fms start  or service fms stop.