LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   error trying to compile HandBrake (https://www.linuxquestions.org/questions/linux-newbie-8/error-trying-to-compile-handbrake-912275/)

Adol 11-07-2011 12:40 AM

error trying to compile HandBrake
 
Hello,

Im getting this error when trying to compile Handbrake.

Code:

g++: /usr/lib64/libgstbase-0.10.so: No such file or directory
g++: /usr/lib64/libgstreamer-0.10.so: No such file or directory
make[3]: *** [ghb] Error 1
make[3]: Leaving directory `/toinstall/HandBrake-0.9.5/build/gtk/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/toinstall/HandBrake-0.9.5/build/gtk'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/toinstall/HandBrake-0.9.5/build/gtk'
make: *** [gtk.build] Error 2

Looks like Im missing libgstbase and libgstreamer. Im using opensuse 11.4 and cant find libgstbase in the package manager. Any ideas?

weibullguy 11-07-2011 10:13 AM

Those are gstreamer libraries. I'd be surprised if you can't install them using your package manager.

arizonagroovejet 11-07-2011 11:32 AM

Code:

$ zypper in gstreamer-0_10-devel

arizonagroovejet 11-07-2011 11:40 AM

I found which package you needed because I had the files you mentioned on my machine so I could query which package they belong to with rpm

Code:

$ rpm -qf /path/to/file
I've been trying to figure out, without success, how you would work out which package those files were in if that package wasn't actually installed. I can't find a way to to it though. You'd think
Code:

$ zypper what-provides filename
Would do it but apparently it doesn't work on packages which are not already installed. There's an unfulfilled feature request at https://features.opensuse.org/308437

Adol 11-08-2011 06:41 AM

Quote:

Originally Posted by arizonagroovejet (Post 4518154)
I found which package you needed because I had the files you mentioned on my machine so I could query which package they belong to with rpm

Code:

$ rpm -qf /path/to/file
I've been trying to figure out, without success, how you would work out which package those files were in if that package wasn't actually installed. I can't find a way to to it though. You'd think
Code:

$ zypper what-provides filename
Would do it but apparently it doesn't work on packages which are not already installed. There's an unfulfilled feature request at https://features.opensuse.org/308437

Thank you but I have already installed gstreamer. Thats one of the reasons Im confused about my problem.

I get this output when I zypper in gstreamer*

Code:

'gstreamer-0_10-devel' is already installed.
No update candidate for 'gstreamer-0_10-devel-0.10.35-1.pm.59.1.x86_64'. The highest available version is already installed.
Resolving package dependencies...

Nothing to do.

any other ideas?

arizonagroovejet 11-08-2011 06:52 AM

OK, the files I was looking at are actually provided by the -devel package but they're symbolic links to files provided by libgstreamer-0_10-0 so try installing that.
Code:

me@mine:/usr/lib> rpm -qf libgstbase-0.10.so
gstreamer-0_10-devel-0.10.25-3.1.46
me@mine:/usr/lib> rpm -qf $(readlink libgstbase-0.10.so)
libgstreamer-0_10-0-0.10.25-3.1.46
me@mine:/usr/lib> rpm -qf libgstreamer-0.10.so
gstreamer-0_10-devel-0.10.25-3.1.46
me@mine:/usr/lib> rpm -qf $(readlink libgstreamer-0.10.so)
libgstreamer-0_10-0-0.10.25-3.1.46

The above is on a SLED box so the version numbers may be different to in openSUSE 11.4
There's no package called libgstbase or similar, but there is gstreamer-0_10-plugins-base and gstreamer-0_10-plugins-base-devel.

Adol 11-09-2011 04:31 PM

Quote:

Originally Posted by arizonagroovejet (Post 4518761)
OK, the files I was looking at are actually provided by the -devel package but they're symbolic links to files provided by libgstreamer-0_10-0 so try installing that.
Code:

me@mine:/usr/lib> rpm -qf libgstbase-0.10.so
gstreamer-0_10-devel-0.10.25-3.1.46
me@mine:/usr/lib> rpm -qf $(readlink libgstbase-0.10.so)
libgstreamer-0_10-0-0.10.25-3.1.46
me@mine:/usr/lib> rpm -qf libgstreamer-0.10.so
gstreamer-0_10-devel-0.10.25-3.1.46
me@mine:/usr/lib> rpm -qf $(readlink libgstreamer-0.10.so)
libgstreamer-0_10-0-0.10.25-3.1.46

The above is on a SLED box so the version numbers may be different to in openSUSE 11.4
There's no package called libgstbase or similar, but there is gstreamer-0_10-plugins-base and gstreamer-0_10-plugins-base-devel.

I have those packages installed also. For some reason they are not being used or found.

arizonagroovejet 11-10-2011 05:36 AM

Presumably you've checked that /usr/lib64/libgstbase-0.10.so and /usr/lib64/libgstreamer-0.10.so actually exist.

You could use
Code:

$ zypper verify
to make sure all the dependencies of installed packages are met.

Does
Code:

$ ldd /usr/lib64/libgstbase-0.10.so
$ ldd /usr/lib64/libgstreamer-0.10.so

indicate anything missing?

Adol 11-11-2011 12:26 AM

Quote:

Originally Posted by arizonagroovejet (Post 4520508)
Presumably you've checked that /usr/lib64/libgstbase-0.10.so and /usr/lib64/libgstreamer-0.10.so actually exist.

You could use
Code:

$ zypper verify
to make sure all the dependencies of installed packages are met.

Does
Code:

$ ldd /usr/lib64/libgstbase-0.10.so
$ ldd /usr/lib64/libgstreamer-0.10.so

indicate anything missing?

Thank you very much. Even though I had them installed with Yast(gui) after using
Code:

zypper verify
it found that some things were missing.

Code:

make && make install
work perfectly now.

Next Im going to try compiling the qt4 gui for HandBrake but thats another issue.

Thank you


All times are GMT -5. The time now is 02:57 AM.