I am getting below error while running snapcraft snap --use-lxd --debug
make -j2
cc -isystem/root/stage/usr/include `pkg-config --cflags pappl` `pkg-config --cflags libppd` `pkg-config --cflags libcupsfilters` -Os -g -c -o ps-printer-app.o ps-printer-app.c
cc -L/root/stage/lib -L/root/stage/usr/lib -L/root/stage/lib/x86_64-linux-gnu -L/root/stage/usr/lib/x86_64-linux-gnu -Os -g -o ps-printer-app ps-printer-app.o `pkg-config --libs pappl` `pkg-config --libs libppd` `pkg-config --libs libcupsfilters`
/usr/bin/ld: ps-printer-app.o: undefined reference to symbol 'cupsRasterInitPWGHeader'
/root/stage/usr/lib/x86_64-linux-gnu/libcupsimage.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:62: recipe for target 'ps-printer-app' failed
make: *** [ps-printer-app] Error 1
Failed to run 'make -j2' for 'ps-printer-app': Exited with code 2.
Verify that the part is using the correct parameters and try again.
Congratulations, you have posted the very first issue in the PostScript Printer Application!
Should be fixed now as I have added libcups in the Makeflle in commit efa06ddf4.
Thank you very much.
OS - Ubuntu 20.04
I am getting below error while running snapcraft snap --use-lxd --debug