Comments (4)
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
andzlib.pc
exist ininstalled/arm64-linux[/debug]/lib/pkgconfig
? - Is
PKG_CONFIG_SYSROOT_DIR
set? (It shouldn't be. It would modifypkg-config
behavior.)
from vcpkg.
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.
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.
Thanks. Problem solved after I removed and installed the zlib:arm64-linux.
from vcpkg.
Related Issues (20)
- The `VCPKG_LOAD_VCVARS_ENV` option cannot be used to disable vcvars loading
- [#5] error: building bzip2:x64-windows failed with: BUILD_FAILED HOT 5
- Ignore this one HOT 2
- [boost-integer] Build error HOT 2
- [boost-chrono] Build error HOT 1
- [folly] build failure HOT 6
- [microsoft-signalr] build failure HOT 3
- [pkgconf] Build error on x64-windows HOT 2
- [vulkan-headers] Build error on x64-linux HOT 2
- [bzip2] Build error on x64-linux HOT 2
- [libmysql] Build error on x64-windows HOT 2
- [qt] Querying qmake for QT_INSTALL_TRANSLATIONS returns an incorrect path HOT 1
- [double-conversion] Build error on arm-neon-android (with r27) HOT 2
- [libstemmer] update to 2.2.0
- [fastgltf] update to 0.8.0
- [pcl] Build error on x64-windows HOT 1
- [physx] Include error when compiling HOT 1
- [vtk] build failure HOT 1
- ci is green on POST_BUILD_CHECKS_FAILED HOT 3
- Please, don't deprecate `vcpkg_apply_patches()` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vcpkg.