← Back to team overview

maria-discuss team mailing list archive

Re: mariadb 10 build/link ignores specified linker path to specified lib (pcre). correct method?


--On Wednesday, December 10, 2014 7:59 AM -0800 grantksupport@xxxxxxxxxxxxx wrote:

building mariadb 10.0.15 on linux/64

i have a non-system instance of (lib)pcre, installed in
/usr/local/test/pcre, that i need to build/link against


 Link MariaDB Client Library for C with specific external zlib and openssl


Hi Grant,

I don't know if this will help, but this is what I had to do to get MariaDB to link to Zimbra's OpenSSL in /opt/zimbra:

       CPPFLAGS="-I/opt/zimbra/openssl-$(OPENSSL_VERSION)/include" \
       /usr/bin/cmake . -DCMAKE_SKIP_BUILD_RPATH=FALSE \

-DCMAKE_INSTALL_RPATH="/opt/zimbra/openssl-$(OPENSSL_VERSION)/lib" \



Quanah Gibson-Mount
Platform Architect
Zimbra, Inc.
Zimbra ::  the leader in open source messaging and collaboration

Follow ups