Repository navigation
cmake : build static linked executable failed #118
Copy link
Copy link
Closed
Description
Activity
content of /lib/pkgconfig/libuv.pc is correct:
prefix=/home/vagrant/pkgsrc-packages exec_prefix=${prefix} libdir=${exec_prefix}/lib includedir=${prefix}/include Name: libuv Version: 1.44.2 Description: multi-platform support library with a focus on asynchronous I/O. URL: http://libuv.org/ Libs: -L${libdir} -luv -lkvm Cflags: -I${includedir}work around
ar x /usr/lib/libkvm.a ar x /home/vagrant/pkgsrc/devel/cmake/work/.buildlink/lib/libuv.a ar crs libuv.a *.o cp libuv.a /home/vagrant/pkgsrc/devel/cmake/work/.buildlink/lib/libuv.a bmake install- added a commit that references this issue
on Apr 5, 2023 - added a commit that references this issue
on Apr 16, 2023 - added a commit that references this issue
on Apr 27, 2023 - added 3 commits that reference this issue
on Jun 11, 2023 - added 2 commits that reference this issue
on Jul 5, 2023 - added a commit that references this issue
on Aug 17, 2023 - added 2 commits that reference this issue
on Aug 25, 2023 137 remaining items
- added 8 commits that reference this issue
on May 15, 2026 - added a commit that references this issue
on Jun 29, 2026 - added 2 commits that reference this issue
on Jul 14, 2026
Metadata
Metadata
Assignees
Labels
No labels
I add
/etc/mk.conftoLDFLAGS+= -static -pthreadto build static linked executable,but it failed and report following:The reason is
-lkvm -luvshould be changed to-luv -lkvm. how should I do?