Building software - are those libs not available in OpenSuse?

Hello and good day to all!

I just recently switched to OpenSuse 15.3 Leap and want to build the following app:
When building I get to a stage where the following errors occur:

/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: cannot find -lX11/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: cannot find -lXrandr
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: cannot find -lXinerama
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: cannot find -lfontconfig

I googled to see if there are packages which contain them and I installed the ones which seemed sensible via Yast, but that didn’t solve my issue. Those packages are sadly not named the same anyway, but I hoped that they would still provide the missing libraries. My question now is if they aren’t available at all, and I should go back to Ubuntu or did I do a mistake somewhere?

Any help would be appriciated!


after almost giving up, I stumbled upon and was able to find the right packages. Are there other pages you can suggest specifically to identify packages for OpenSuse?

It is not very clear what you all installed and from where (please always provide details, never assume that people here can see over your shoulder what you do, nor can they read minds)

In any case, when you want to do development (or just building software) on openSUSE, you better install the Development Patterns you need (at least Basic Development).
In case you do not know how to see those patterns: YaST > Software > Software Management, then from the View menu >Patterns, scroll down at left to DEvelopment and check your choices, Accept lower right.

You need to install at least these development packages:

**#** zypper in libXrandr-devel fontconfig-devel libXinerama-devel