how to execute with librcc

Hello,
I have compiled moc, librcc, libmad and libid3tag from sources, everything got built smoothly, but now when i try to start mocp it gives

root@thicky:/usr/src# mocp
Can't load plugin libmp3_decoder: librcc.so.0: cannot open shared object file: No such file or directory

FATAL_ERROR: No decoder plugins have been loaded!

i tried to do it with libtool but of no success:

root@thicky:/usr/local/lib# libtool -dlopen /usr/local/lib/librcc.so.0.2.3 --mode=execute mocp
libtool: execute: warning `-dlopen' is ignored for non-libtool libraries and objects
Can't load plugin libmp3_decoder: librcc.so.0: cannot open shared object file: No such file or directory

FATAL_ERROR: No decoder plugins have been loaded!

Before this i compiled it without librcc and it ran.
Need some help ..
Thanks.

Maybe running ldconfig would help?
is /usr/local/lib directory in your /etc/ld.so.conf file?

--
Damian Pietras - MOC developer

no it wasn't untill now, i put it in and mocp has started .. thanks!
but cyrillic letters are still not showing :( ... ?
its because i dont have windows-1251 charmap i guess ..

by the way does automake package has such a file ? when i aclocal'ed librcc i had to track down two directories containing some .m4's which were needed to do the job and add them with '-I' but it wasn't obvious where to find them.

What files?

--
Damian Pietras - MOC developer

like a config file for aclocal with directories where to look for .m4's .. and also where can i get windows-1251.gz charmap file ? have been searching for it for 2 hours of no result .. thanks !