Coder Social home page Coder Social logo

Comments (4)

dg0yt avatar dg0yt commented on August 25, 2024 1

Cf. "Called bin/pkg-config" lines in the config log:
Your build uses host (x86_64) pkgconfig files for the modules named "libpcre2-8" and "zlib", but correctly find vcpkg target (arm64) pkgconfig files for "libffi".
PKG_CONFIG_PATH is set correctly.

  • Do libpcre2-8.pc and zlib.pc exist in installed/arm64-linux[/debug]/lib/pkgconfig?
  • Is PKG_CONFIG_SYSROOT_DIR set? (It shouldn't be. It would modify pkg-config behavior.)

from vcpkg.

dg0yt avatar dg0yt commented on August 25, 2024
FAILED: glib/gtester 
/usr/bin/aarch64-linux-gnu-gcc -fPIC -g  -o glib/gtester glib/gtester.p/gtester.c.o -L/home/lcy/Library/vcpkg/installed/arm64-linux/debug/lib -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath,/usr/lib/x86_64-linux-gnu -Wl,-rpath-link,/usr/lib/x86_64-linux-gnu -Wl,--start-group glib/libglib-2.0.a glib/libcharset/libcharset.a glib/gnulib/libgnulib.a -lm /usr/lib/x86_64-linux-gnu/libpcre2-8.so -Wl,--end-group -pthread
/usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: /usr/lib/x86_64-linux-gnu/libpcre2-8.so: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status

Hm, this is not using vcpkg's pcre2:arm-linux. The rpath options also point into x86_64 host paths.

But I cannot reproduce it. config-arm64-linux-dbg-meson-log.txt.log might provide more information.

from vcpkg.

forallsunday avatar forallsunday commented on August 25, 2024
FAILED: glib/gtester 
/usr/bin/aarch64-linux-gnu-gcc -fPIC -g  -o glib/gtester glib/gtester.p/gtester.c.o -L/home/lcy/Library/vcpkg/installed/arm64-linux/debug/lib -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath,/usr/lib/x86_64-linux-gnu -Wl,-rpath-link,/usr/lib/x86_64-linux-gnu -Wl,--start-group glib/libglib-2.0.a glib/libcharset/libcharset.a glib/gnulib/libgnulib.a -lm /usr/lib/x86_64-linux-gnu/libpcre2-8.so -Wl,--end-group -pthread
/usr/lib/gcc-cross/aarch64-linux-gnu/11/../../../../aarch64-linux-gnu/bin/ld: /usr/lib/x86_64-linux-gnu/libpcre2-8.so: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status

Hm, this is not using vcpkg's pcre2:arm-linux. The rpath options also point into x86_64 host paths.嗯,这不是使用 vcpkg 的 pcre2:arm-linux。rpath 选项还指向x86_64主机路径。

But I cannot reproduce it. config-arm64-linux-dbg-meson-log.txt.log might provide more information.但我无法重现它。config-arm64-linux-dbg-meson-log.txt.log可能会提供更多信息。

config-arm64-linux-dbg-meson-log.txt.log

Thanks and plz see the attachment

from vcpkg.

forallsunday avatar forallsunday commented on August 25, 2024

Thanks. Problem solved after I removed and installed the zlib:arm64-linux.

from vcpkg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.