I am getting following error when I am trying to compile the sample code with vddk api
:~/vddk/vmware-vix-disklib-distrib/doc/sample # make
g++ -o vix-disklib-sample `pkg-config --cflags --libs vix-disklib` vixDiskLibSample.cpp
Package vix-disklib was not found in the pkg-config search path.
Perhaps you should add the directory containing `vix-disklib.pc'
to the PKG_CONFIG_PATH environment variable
No package 'vix-disklib' found
/tmp/cceC4nxk.o: In function `DoRWBench(bool)':
vixDiskLibSample.cpp:(.text+0x273): undefined reference to `VixDiskLib_GetInfo'
vixDiskLibSample.cpp:(.text+0x35b): undefined reference to `VixDiskLib_FreeInfo'
vixDiskLibSample.cpp:(.text+0x3e9): undefined reference to `VixDiskLib_Read'
vixDiskLibSample.cpp:(.text+0x422): undefined reference to `VixDiskLib_Write'
/tmp/cceC4nxk.o: In function `DoClone()':
vixDiskLibSample.cpp:(.text+0x63c): undefined reference to `VixDiskLib_Connect'
vixDiskLibSample.cpp:(.text+0x726): undefined reference to `VixDiskLib_Clone'
vixDiskLibSample.cpp:(.text+0x733): undefined reference to `VixDiskLib_Disconnect'
/tmp/cceC4nxk.o: In function `DoDump()':
...
..
also when I check if the said ".pc" file exist I found it in following location
:~/vddk/vmware-vix-disklib-distrib/doc/sample # find / -name vix-disklib.pc
/usr/lib/pkgconfig/vix-disklib.pc
So it seems that the package is installed correctly. Can anybody help?