LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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


Closed Thread
  Search this Thread
Old 04-04-2019, 01:31 PM   #1
AnneRanch
Member
 
Registered: Oct 2018
Posts: 198

Rep: Reputation: 12
Package glib-2.0 ?


I am getting an error, from "configure" script , indicating wrong version of "glib-2.0".

Quote:
configure error

configure_DEBUG:13213: checking for GLIB
configure_DEBUG:13268: $PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.28"
Package glib-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `glib-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'glib-2.0' found




I am not sure how to interpret both dpkg and apt-get install glib-2.0 outputs.

It looks conflicting - I do not have glib-2.0 but have no need to install it .

Any help in solving this issue would be greatly appreciated.



Quote:

$ dpkg -l "glib*"
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-============-============-=================================
ii glib-networkin 2.48.2-1~ubu amd64 network-related giomodules for GL
ii glib-networkin 2.48.2-1~ubu all network-related giomodules for GL
ii glib-networkin 2.48.2-1~ubu amd64 network-related giomodules for GL
un glibc-doc <none> <none> (no description available)









jim@jim-desktop:~$ sudo apt-get install glib-2.0
[sudo] password for jim:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libspice-client-glib-2.0-dev' for regex 'glib-2.0'
Note, selecting 'libqt5glib-2.0-0' for regex 'glib-2.0'
Note, selecting 'gir1.2-spice-client-glib-2.0' for regex 'glib-2.0'
Note, selecting 'gir1.2-glib-2.0' for regex 'glib-2.0'
Note, selecting 'libspice-client-glib-2.0-1' for regex 'glib-2.0'
Note, selecting 'libspice-client-glib-2.0-8' for regex 'glib-2.0'
Note, selecting 'libqtglib-2.0-0' for regex 'glib-2.0'
gir1.2-glib-2.0 is already the newest version (1.46.0-3ubuntu1).
gir1.2-spice-client-glib-2.0 is already the newest version (0.30-1).
libqt5glib-2.0-0 is already the newest version (1.2.0-3).
libqtglib-2.0-0 is already the newest version (1.2.0-3).
libspice-client-glib-2.0-8 is already the newest version (0.30-1).
libspice-client-glib-2.0-dev is already the newest version (0.30-1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


[/QUOTE]

Last edited by AnneRanch; 04-04-2019 at 01:32 PM.
 
Old 04-04-2019, 02:32 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
(duplicate post)

Last edited by Didier Spaier; 04-04-2019 at 02:34 PM.
 
Old 04-04-2019, 02:33 PM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Hello,

of course you need glib2. More accurately, the software you are trying to build (which one is it, by the way?) needs it as a dependency. But its name is glib2, not glib-2.

According to this page in Ubuntu (which I do not run) the package is named libglib2, so try this

Code:
sudo apt-get install libglib2.0
or maybe just:
Code:
sudo apt-get install libglib2
PS The error message does not indicate a wrong version, rather no glib2 found for at all.

Last edited by Didier Spaier; 04-04-2019 at 02:47 PM.
 
1 members found this post helpful.
  


Closed Thread

Tags
glib



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] No package 'x11' found No package 'xext' found No package 'xdamage' found No package 'xfixes' found No package 'x11-xcb' found Jigsaw Linux From Scratch 14 02-23-2021 08:35 PM
conflicting glib versions and glib-config scius Linux - Software 5 06-03-2008 02:35 AM
can't install gtk 2.4.4: "Requested 'glib-2.0 >= 2.4.0' but version of GLib is 2.2.3 webazoid Linux - Software 0 07-15-2004 06:07 PM
Compiling GAIM says i need GLib 2.0, yet i have GLib 2.4 MadSkillzMan Linux - Newbie 3 07-10-2004 04:10 AM
Problems relating to glib 1.2.10 and glib 1.2.9 p3ngu!n Mandriva 10 05-23-2004 09:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:41 AM.

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
Open Source Consulting | Domain Registration