libupb.a needed by anything using protobuf .cmake files
| Newsgroups | gmane.linux.lfs.beyond.devel |
|---|---|
| Message-ID | <[email protected]> |
/usr/lib/cmake/protobuf/protobuf-targets.cmake contains:
-----
add_library(protobuf::libupb STATIC IMPORTED)
-----
So if we remove libupb.a as done in protobuf instructions (since
protobuf-31), any CMakeLists.txt using this file will fail with:
----------
CMake Error at /usr/lib/cmake/protobuf/protobuf-targets.cmake:132
(message):
The imported target "protobuf::libupb" references the file
"/usr/lib/libupb.a"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib/cmake/protobuf/protobuf-targets.cmake"
but not all the files it references.
-----------
So I think we should remove the line "rm /usr/lib/libupb.a" when
installing protobuf. libupb.a is about 520KB in size...
Note that Qt-6.9.0 "configure" will fail with the above error if
protobuf-31 is installed and the removal of libupb.a had been done.
Pierre
--
http://lists.linuxfromscratch.org/sympa/info/blfs-dev
Unsubscribe: See the above information page