OpenPrinting / ps-printer-app

PostScript Printer Application
Apache License 2.0
37 stars 13 forks source link

ps printer app snap is failing #1

Closed kavinsivak closed 3 years ago

kavinsivak commented 3 years ago

OS - Ubuntu 20.04

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.

Screenshot 2020-12-06 222705

tillkamppeter commented 3 years ago

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.