It is expected that the list of libraries for static linking, returned
by 'pkg-config' and 'GraphicsMagick++-config', is the same. However, a
lot of libraries are missed in /usr/lib/pkgconfig/GraphicsMagick++.pc:
# pkg-config --static --libs GraphicsMagick++
-lGraphicsMagick++ -lGraphicsMagick
# GraphicsMagick++-config --libs
-lGraphicsMagick++ -lGraphicsMagick -llcms -ltiff -lfreetype -ljasper
-ljpeg -lpng -lwmflite -lXext -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lm
-lgomp -lpthread -lltdl
Expected: the lists are the same.