← Back to team overview

maria-discuss team mailing list archive

Re: Specifying install libdir when building from source

 

Hi, Chris!

On Jul 06, Chris Ross (cross2) wrote:
> Good morning.  I have a simple question, but haven’t been able to find
> the answer searching or in cmake -LH output.  How do I configure the
> install paths for libraries?  By default, as expected, it installs
> into /usr/lib, but I want to install into /usr/lib64.  Assuming there
> isn’t an easy “just do that” flag, can I set the library path used to
> install?

-DINSTALL_LIBDIR=/usr/lib64

Are you building a binary tarball?
RPM/DEB packages automatically use /usr/lib64 if needed.

see cmake/install_layout.cmake - may be rpm or deb layout will work
better for you.

Regards,
Sergei
VP of MariaDB Server Engineering
and security@xxxxxxxxxxx


Follow ups

References