Troubleshooting:cannot open shared object file: No such file or directory
From MythTV
This advice applies to those people running an SVN version of myth, not the tarball or packaged versions.If you see this:
/usr/local/bin/mythbackend: error while loading shared libraries: libmyth-0.20.so.0.20.0: cannot open shared object file: No such file or directoryafter updating myth, then you probably need to do the following:
sudo locate -u locate libmyth-0.20.so.0.20.0That will return something like
/home/mythtv/compile/svn/mythtv/libs/libmyth/libmyth-0.20.so.0.20.0 /usr/local/lib/libmyth-0.20.so.0.20.0The first one (for me) was the path to the folder I compiled MythTV in. The 2nd line is the installed location of libmyth. I need to add the folder its in (in this case /usr/local/lib/). You need to append that to the end of /etc/ld.so.conf. For me, I would now execute as root
echo "/usr/local/lib" >> /etc/ld.so.conf /sbin/ldconfigIf that doesn't work try make distclean, then configure, then make and make install.
If that all fails, try a fresh checkout of the svn repository, after deleting or moving your current checkout:
svn co http://svn.mythtv.org/svn/trunk/mythtv svn co http://svn.mythtv.org/svn/trunk/mythplugins svn co http://svn.mythtv.org/svn/trunk/myththemesThen go through the usual build process (configure && make && make install).
Reference: http://www.mythtv.org/wiki/Troubleshooting:cannot_open_shared_object_file:_No_such_file_or_directory