-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
After install/zenohc.pc.in is configured, the libname inside the zenohc.pc file is wrong:
Libs: -L${prefix}/lib -llibzenohc
It must be:
Libs: -L${prefix}/lib -lzenohc
Otherwise, the compiler would look for a liblibzenohc.so rather than libzenohc.so when linking.
To reproduce
- first, build the zenohc library
mkdir build && cd build
cmake .. -DCMAKE_INSTALL_PREFIX=~/.local
cmake --build . --target install
- then, try to use pkgconfig file:
arm-unknown-linux-gnueabihf/bin/ld.bfd: cannot find -llibzenohc: No such file or directory
System info
- Platform: ubuntu 24.04
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working