LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-07-2011, 12:40 AM   #1
Adol
Member
 
Registered: Feb 2011
Location: Osaka, Japan
Distribution: Gentoo, Opensuse
Posts: 264

Rep: Reputation: 5
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?
 
Old 11-07-2011, 10:13 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
Those are gstreamer libraries. I'd be surprised if you can't install them using your package manager.
 
Old 11-07-2011, 11:32 AM   #3
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,093

Rep: Reputation: 197Reputation: 197
Code:
$ zypper in gstreamer-0_10-devel
 
Old 11-07-2011, 11:40 AM   #4
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,093

Rep: Reputation: 197Reputation: 197
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
 
Old 11-08-2011, 06:41 AM   #5
Adol
Member
 
Registered: Feb 2011
Location: Osaka, Japan
Distribution: Gentoo, Opensuse
Posts: 264

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by arizonagroovejet View Post
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?
 
Old 11-08-2011, 06:52 AM   #6
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,093

Rep: Reputation: 197Reputation: 197
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.
 
Old 11-09-2011, 04:31 PM   #7
Adol
Member
 
Registered: Feb 2011
Location: Osaka, Japan
Distribution: Gentoo, Opensuse
Posts: 264

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by arizonagroovejet View Post
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.
 
Old 11-10-2011, 05:36 AM   #8
arizonagroovejet
Senior Member
 
Registered: Jun 2005
Location: England
Distribution: openSUSE, Fedora, CentOS
Posts: 1,093

Rep: Reputation: 197Reputation: 197
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?
 
Old 11-11-2011, 12:26 AM   #9
Adol
Member
 
Registered: Feb 2011
Location: Osaka, Japan
Distribution: Gentoo, Opensuse
Posts: 264

Original Poster
Rep: Reputation: 5
Quote:
Originally Posted by arizonagroovejet View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Handbrake Install CincinnatiKid Mandriva 14 11-29-2012 04:53 AM
The error compile C/C++ in linux (but it does compile on Win) hikaru1505 Programming 2 12-30-2010 09:11 AM
handbrake or others mhg Ubuntu 1 11-26-2010 11:02 AM
installing handbrake clifford227 Slackware 5 08-25-2010 07:04 PM
Slackbuild handbrake error-[gtk.install] Error 2 Swift&Smart Slackware 8 08-17-2010 03:42 PM


All times are GMT -5. The time now is 09:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration