Need to install liblz4-dev

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Need to install liblz4-dev
Date: 2026-03-04 05:50:24
Message-ID: aafIINtXYAu8T_N7@momjian.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

FYI, a few hours ago I started getting build errors on master due to
a missing liblz4 library error:

--> checking for liblz4... no
--> configure: error: Package requirements (liblz4) were not met:

--> Package 'liblz4', required by 'virtual:world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LZ4_CFLAGS
and LZ4_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
make: *** [../../../src/Makefile.global:870: ../../../config.status] Error 1

However, I had /usr/lib/x86_64-linux-gnu/liblz4.so.1 installed on Debian
13. I had to install liblz4-dev ("dev") to allow the configure/compile
to succeed.

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com

Do not let urgent matters crowd out time for investment in the future.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Corey Huinker 2026-03-04 06:06:17 Re: Add expressions to pg_restore_extended_stats()
Previous Message Soumya S Murali 2026-03-04 05:43:33 Re: support create index on virtual generated column.