pyperanger / fuptcha

fuptcha - CAPTCHA Fuzzer Image Recon
Apache License 2.0
5 stars 0 forks source link

Compiling issue with GCC #10

Open alonsolucas opened 4 years ago

alonsolucas commented 4 years ago

configure output:

Checking for Fuptcha dependencies...

☑️ GCC Compiler is installed in '/usr/bin/gcc'
☑️ Tesseract Lib is installed in '/usr/include/tesseract'
☑️ Leptonica Lib is installed in '/usr/include/leptonica'

All Fuptcha dependencies are Ok!

Output error:
cc -Wall -Wextra -O3 -march=native -llept -ltesseract -pthread  -o fuptcha src/fuptcha.o src/img.o src/pargs.o src/score.o src/tess.o src/util.o
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/libtesseract.so: referência indefinida a símbolo "pixRead"
/usr/lib/gcc/x86_64-linux-gnu/7/../../../x86_64-linux-gnu/liblept.so: erro ao adicionar símbolos: DSO em falta da linha de comandos
collect2: error: ld returned 1 exit status
Makefile:9: recipe for target 'fuptcha' failed
make: *** [fuptcha] Error 1

GCC Version and Distro:

gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
growlnx commented 4 years ago

Hi @alonsolucas,

This error appears to be related to the GCC compiler. As a temporary solution until we discover the error, you can use the Clang compiler.

https://travis-ci.org/github/pyperanger/fuptcha