Comments (3)
What arguments are being supplied to Cmake? by default libapib-parser.so and other internals should be statically linked.
$ mkdir build
$ cd build
$ cmake ..
$ make drafter-cli
...
[ 43%] Built target drafter-obj
[ 44%] Linking CXX static library libapib-parser.
...
$ ldd packages/drafter/drafter
linux-vdso.so.1 (0x00007ffc20fcc000)
libstdc++.so.6 => /nix/store/yazs3bdl481s2kyffgsa825ihy1adn8f-gcc-12.2.0-lib/lib/libstdc++.so.6 (0x00007fa08ee3e000)
libm.so.6 => /nix/store/yaz7pyf0ah88g2v505l38n0f3wg2vzdj-glibc-2.37-8/lib/libm.so.6 (0x00007fa08ed5e000)
libgcc_s.so.1 => /nix/store/yazs3bdl481s2kyffgsa825ihy1adn8f-gcc-12.2.0-lib/lib/libgcc_s.so.1 (0x00007fa08ed3d000)
libc.so.6 => /nix/store/yaz7pyf0ah88g2v505l38n0f3wg2vzdj-glibc-2.37-8/lib/libc.so.6 (0x00007fa08eb57000)
/nix/store/yaz7pyf0ah88g2v505l38n0f3wg2vzdj-glibc-2.37-8/lib/ld-linux-x86-64.so.2 => /nix/store/yaz7pyf0ah88g2v505l38n0f3wg2vzdj-glibc-2.37-8/lib64/ld-linux-x86-64.so.2 (0x00007fa08f066000)
from drafter.
Using %cmake -DBUILD_TESTING=OFF -DCMAKE_VERBOSE_MAKEFILE=ON
spec macro to build an RPM, which expands to the following:
/usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_TESTING=OFF -DCMAKE_VERBOSE_MAKEFILE=ON
/usr/bin/cmake --build redhat-linux-build -j2 --verbose
/usr/bin/cmake --install redhat-linux-build
from drafter.
LDD for the build on RHEL:
sean@phanpy:~$ ldd BUILDROOT/drafter-5.1.0-1.move.el9.x86_64/usr/bin/drafter
linux-vdso.so.1 (0x00007ffe5cb32000)
libapib-parser.so => not found
libapib.so => not found
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007f2c42600000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f2c4296c000)
libc.so.6 => /lib64/libc.so.6 (0x00007f2c42200000)
libm.so.6 => /lib64/libm.so.6 (0x00007f2c42891000)
/lib64/ld-linux-x86-64.so.2 (0x00007f2c42a37000)
from drafter.
Related Issues (20)
- Missing resource name renders incorrect output but it is validated
- Confusing AST for enum examples HOT 4
- Compatibility with MSVC 2019 HOT 1
- Building drafter-cli causes a link "warning" (macOS)
- Duplicit value in enumeration HOT 2
- Missing description after wrongly interpreted MSON `enum[string], fixed`
- PEGTL not fixed to specific version HOT 1
- Drafter backend crashes on unexpanded `Include (object)` HOT 1
- sigsegv
- Include Drafter version in ABI HOT 2
- Parser emits that `false` is not allowed boolean type for default HOT 1
- Ninja can no longer build due to cycling input HOT 2
- Drafter version does not work for CMake builds
- Docker hub entry outdated HOT 1
- Distinct OneOf gets parsed as single OneOf group in schema HOT 5
- Fixed array with a mixin inside produces incorrect json schema
- Building drafter is painfully slow. HOT 3
- Drafter for Java
- Compile error with newer gcc
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 drafter.