why are pkg-config .pc files missing?

Hi,

On a recent openSuse 11.0 installation, I try to ‘configure && make’ some stuff.
The configure fails with:
configure:19372: checking pkg-config is at least version 0.9.0
configure:19375: result: yes
configure:19386: checking for SNDFILE
configure:19393: $PKG_CONFIG --exists --print-errors “sndfile >= 1.0.2”
Package sndfile was not found in the pkg-config search path.
Perhaps you should add the directory containing `sndfile.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘sndfile’ found
configure:19396: $? = 1

I checked PKG_CONFIG_PATH, and indeed it is not set.
But even if set, it fails, because the required .pc file is not there.

YaST tells me it is installed already.
And indeed, it is there:
eddy@linux-j3d6:/usr/lib64> ls -dal libsnd*
lrwxrwxrwx 1 root root 20 sep 24 00:20 libsndfile.so.1 -> libsndfile.so.1.0.17
-rwxr-xr-x 1 root root 353296 jun 7 00:50 libsndfile.so.1.0.17

Removing it in YaST gives me a whole list of dependencies that would be broken. So didn’t do that…

The main question is: when should I use YaST, and when rpm. Can they be used mixed? I did already install some automake stuff with rpm. Should I have used YaST?

Yes… I’m puzzled. :\

Who can help me out?

Thanks & Regards,
Eddy

pkg-config files are development files… and so they are in -devel packages, libsndfile-devel in this case.
Up to where I know to separate development files in different packages is something common on any distro.

And yes, rpm and YaST “can be used mixed”… I don’t know what made you think something different.