Troubleshooting:cannot open shared object file: No such file or directory

From MythTV Official Wiki
Revision as of 22:54, 19 June 2006 by Fishter (talk | contribs) (info on /sbin/ldconfig and getting a fresh svn checkout)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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:
libmythupnp-0.19.so.0: cannot open shared object file: No such file or directory

after updating myth, then you probably need to do the following:

sudo /sbin/ldconfig

If 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/myththemes

Then go through the usual build process (configure && qmake mythtv.pro && make && make install).