From: Reinhard T. <sir...@gm...> - 2012-02-09 11:22:24
|
On Thu, Feb 9, 2012 at 12:08 PM, Dean Belfield <De...@vm...> wrote: > Hi, > > > > Got Xine-Lib 1.2.1 working fine with VDPAU support enabled; Getting very low > CPU usage (<5%) on an Atom / ION based board playing MP4 and silky-smooth > playback. Very impressed! > > > > Now that I’ve got it working with Xine-UI, I’m trying to use it with our > in-house media player that previously worked with earlier Xine libraries > (1.1.19 and below). > > > > The error message I’m getting from the player is “error while loading shared > libraries: libxine.so.1: cannot open shared object file: No such file or > directory”. The build of Xine-Lib has /usr/lib/libxine.so.2.1.0 and two > links (libxine.so and libxine.so.2) but no libxine.so.1. > > > > Question is, how do I build my code to reference the correct library (.so.2, > not .so.1)? You need to relink your application. Make sure that you have this symlink: /usr/lib/libxine.so -> libxine.so.2 On debian system, this symlink is in the libxine2-dev package. Note that this package conflicts with libxine-dev for exactly this reason, i.e., you have to choose between these two. -- regards, Reinhard |