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

2014-12-13 Thread Sergei Golubchik
Hi! On Dec 10, grantksupp...@operamail.com 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 ... cmake .. \ ... -DCMAKE_C_FLAGS=...

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

2014-12-13 Thread Sergei Golubchik
Hi, grantksupport! On Dec 13, grantksupp...@operamail.com wrote: On Sat, Dec 13, 2014, at 12:45 PM, Sergei Golubchik wrote: Your command is almost correct. You only need to set CMAKE_EXE_LINKER_FLAGS, because CMAKE_SHARED_LINKER_FLAGS is used for linking shared libraries. Or you

[Maria-discuss] mariadb 10 build/link ignores specified linker path to specified lib (pcre). correct method?

2014-12-10 Thread grantksupport
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 reading Link MariaDB Client Library for C with specific external zlib and openssl

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

2014-12-10 Thread Quanah Gibson-Mount
--On Wednesday, December 10, 2014 7:59 AM -0800 grantksupp...@operamail.com 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 reading Link MariaDB Client Library for C with specific

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

2014-12-10 Thread grantksupport
On Wed, Dec 10, 2014, at 10:38 AM, Quanah Gibson-Mount wrote: 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: (...) There are SSL-specific flags in the MariaDB cmake build. This is the method, from a colleague, for

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

2014-12-10 Thread grantksupport
I'll try a variant of your approach above ... CPPFLAGS=-I/usr/local/pcre/include \ cmake .. \ ... -G Unix Makefiles \ -DBUILD_SHARED_LIBS=1 \ -DCMAKE_SKIP_BUILD_RPATH=0 \ -DCMAKE_BUILD_WITH_INSTALL_RPATH=0 \ -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=1 \