# No package glib-2.0 found

**URL:** <https://forums.suse.com/t/no-package-glib-2-0-found/30678>\
**Category:** SLES Configure-Administer\
**Created:** [December 14, 2017, 7:09pm UTC](https://forums.suse.com/t/no-package-glib-2-0-found/30678 "2017-12-14T19:09:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mst\_koobp](https://avatars.discourse-cdn.com/v4/letter/m/3be4f8/32.png) [@mst\_koobp](https://forums.suse.com/u/mst_koobp)\
**Post date:** [December 14, 2017, 7:09pm UTC](https://forums.suse.com/t/no-package-glib-2-0-found/30678/1 "2017-12-14T19:09:09Z")

</div>

Running make I get his error.

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

As far as I can tell glib2 devel is not installed with other glib packages and it cannot be installed on SLES 12SP2.

How do I get this installed to satisfy the requirements of make?

---

<div class="post-metadata">

**Author:** ![ab1](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@ab1](https://forums.suse.com/u/ab1)\
**Post date:** [December 14, 2017, 7:42pm UTC](https://forums.suse.com/t/no-package-glib-2-0-found/30678/2 "2017-12-14T19:42:19Z")

</div>

I see both of the following on the SLE 12 SDK x86\_64 DVD1 media I  
downloaded just now and mounted to /mnt/tmp:

```auto
/mnt/tmp/suse/x86_64/glib2-devel-static-2.48.2-10.2.x86_64.rpm
/mnt/tmp/suse/x86_64/glib2-devel-2.48.2-10.2.x86_64.rpm
```

Download the SDK’s x86\_64 DVD 1 (the smaller of the two ISOs, as the other  
has the source code), install those files, and then give it a shot.

–  
Good luck.

If you find this post helpful and are logged into the web interface,  
show your appreciation and click on the star below.

If you want to send me a private message, please let me know in the  
forum as I do not use the web interface often.
