0

Which package provides lgtk-3 on Ubuntu 18.04? Trying to compile c program "Hello World" :

>> gcc -Wall -g helloworld.c -o helloworld `pkg-config --cflags gtk+-3.0` \
   `pkg-config --libs gtk+-3.0`
gcc: error:  -lgtk-3: No such file or directory

gtk+-3.0.pc contains line:

I have tried all ubuntu searches as others suggested but I have gotten no matches. Can not find lgtk-3! Libs: -L${libdir} -lgtk-3

causing the error. Obvious I have not downloaded all GTK libraries required. What am I missing?


Went back and downloaded gtk+3.0_3.22.30.orig.tar.xz and performed a re-install. This cleared up the missing library problem.

0 Answers0