iw_socket_open not found in conky1.8

I’m trying to install conky 1.8.1 from source as such :
./configure --enable-wlan --enable-argb.
I keep getting a config error that iw_sockets_open not found.

snippet below:

checking if libtool supports shared libraries… yes
checking whether to build shared libraries… yes
checking whether to build static libraries… yes
checking whether gcc and cc understand -c and -o together… yes
checking for pkg-config… yes
checking for pkg-config… /usr/bin/pkg-config
checking pkg-config is at least version 0.19… yes
checking for fopencookie… yes
checking for funopen… no
checking for X11… yes
checking for LUA… yes
checking iwlib.h usability… yes
checking iwlib.h presence… yes
checking for iwlib.h… yes
checking for iw_sockets_open in -liw… no
configure: error: iw_sockets_open not found

A snip of my config.

I have wireless-tools installed. As you can see iwlib.h is found. A net search doesn’t really give me to much info. Ayone know how to solve this besides not configuring with wlan support?


If your openSUSE version is less that 11.1 it’s wireless-tools else it’s libiw-devel you need to have installed.

Here is the spec file I use;

Just what I was needing. Not only for conky but for future reference.