Details
-
Bug
-
Status: In Review (View Workflow)
-
Critical
-
Resolution: Unresolved
-
12.0(EOL)
-
Q4/2025 Server Maintenance
Description
Commit 3a33ae8 uses pkg-config to find the location of PCRE library.
However when a user installs the library in non-standard location
(/workspace/mylib for example), it's also recommended to use the
'-Wl,-rpath -Wl,LIBDIR' linker flag to point the build system to where
the library installed.
In the revision, it's now compatible when libpcre2-8.pc is not available. In this case PCRE_LIBRARY_DIRS is empty and it still relies on users to set the path correctly so CMake can find the shared object. If everything is in place, FIND_LIBRARY() macro should be able to find the library, and we can use the path to set the link directories.
Pull request: https://github.com/MariaDB/server/pull/3225
Attachments
Issue Links
- relates to
-
MDEV-29955 MariaDB does not make full use of pkgconfig
-
- Closed
-