Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error happened when I built zbar0.23.90 on arm-linux #270

Open
FengMu1995 opened this issue Nov 13, 2023 · 0 comments
Open

An error happened when I built zbar0.23.90 on arm-linux #270

FengMu1995 opened this issue Nov 13, 2023 · 0 comments

Comments

@FengMu1995
Copy link

The log is as follows:
/home/XXX/Software/gcc-sigmastar-9.1.0-2019.11-x86_64_arm-linux-gnueabihf/bin/../lib/gcc/arm-linux-gnueabihf/9.1.0/../../../../arm-linux-gnueabihf/bin/ld: cannot find -ldbus-1
collect2: error: ld returned 1 exit status
Makefile:761: recipe for target 'libzbar.la' failed
make[2]: *** [libzbar.la] Error 1
make[2]: Leaving directory '/media/wudi/BAK/package/zbar-0.23.90/zbar'
Makefile:1863: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/media/wudi/BAK/package/zbar-0.23.90'
Makefile:949: recipe for target 'all' failed
make: *** [all] Error 2

The following is my command:

export PATH="/home/xxx/Software/gcc-sigmastar-9.1.0-2019.11-x86_64_arm-linux-gnueabihf/bin:$PATH"
./configure --prefix=$(pwd)/output --host=arm-sigmastar-linux CC=arm-linux-gnueabihf-9.1.0-gcc NM=arm-linux-gnueabihf-9.1.0-gcc-nm --enable-shared --enable-static --without-imagemagick --without-jpeg --without-python --without-gtk --without-qt --disable-video
make

May I ask you for the solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant