← Back to team overview

maria-discuss team mailing list archive

Re: MDB 10.4+Galera build's wsrep-lib/.../*.so libs are built, but not installed? what step's missing?


hi serg

On 8/1/19 12:40 AM, Sergei Golubchik wrote:
> How did you build, I mean, exact commands?
> I used `cmake . && make` as the page above says, and I didn't get this
> error.

Of course you didn't! ;-)

Atm, I've got a fairly 'verbose' config -- I'll try some cleanup and see if I can find any specific config item that causes the problem.

fyi, a quick check in the build dir with my currently, problematic, build:

ldd ./sql/mysqld | grep -i wsrep
        linux-vdso.so.1 (0x00007ffdfcd71000)
        libpcre.so.1 => /usr/local/lib64/libpcre.so.1 (0x00007f0041552000)
        libpcrecpp.so.0 => /usr/local/lib64/libpcrecpp.so.0 (0x00007f0041347000)
        libssl.so.1.1 => /usr/local/openssl11/lib64/libssl.so.1.1 (0x00007f00410ab000)
        libcrypto.so.1.1 => /usr/local/openssl11/lib64/libcrypto.so.1.1 (0x00007f0040bad000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f004098f000)
        liblz4.so.1 => /usr/lib64/liblz4.so.1 (0x00007f0040770000)
        liblzo2.so.2 => /usr/lib64/liblzo2.so.2 (0x00007f004054e000)
        liblzma.so.5 => /usr/lib64/liblzma.so.5 (0x00007f0040314000)
        libbz2.so.1 => /usr/lib64/libbz2.so.1 (0x00007f00400f7000)
        libsnappy.so.1 => /usr/lib64/libsnappy.so.1 (0x00007f003feee000)
        libaio.so.1 => /lib64/libaio.so.1 (0x00007f003fcec000)
        libz.so.1 => /lib64/libz.so.1 (0x00007f003fad5000)
        libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007f003f89a000)
        libsystemd.so.0 => /usr/lib64/libsystemd.so.0 (0x00007f003f605000)
        libwsrep-lib.so => /usr/local/src/mariadb104/build/wsrep-lib/src/libwsrep-lib.so (0x00007f003f3cf000)
        libwsrep_api_v26.so => /usr/local/src/mariadb104/build/wsrep-lib/wsrep-API/libwsrep_api_v26.so (0x00007f003f1ca000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007f003efc6000)
        libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f003ebe6000)
        libm.so.6 => /lib64/libm.so.6 (0x00007f003e8ae000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f003e696000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f003e2dc000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f004380a000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007f003e0c5000)
        libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f003de9c000)
        libcap.so.2 => /usr/lib64/libcap.so.2 (0x00007f003dc97000)
        librt.so.1 => /lib64/librt.so.1 (0x00007f003da8f000)
        libgcrypt.so.20 => /usr/lib64/libgcrypt.so.20 (0x00007f003d772000)
        libgpg-error.so.0 => /usr/lib64/libgpg-error.so.0 (0x00007f003d551000)

note the /usr/local/src/ paths for the libwsrep*.  certainly doesn't look right ... 

I'll poke at my build; I suspect maybe rpath issue?

Follow ups