notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photos
All times are UTC
Ukraine
The recently imposed "must be logged in" restriction is a response to increased bot traffic on the site. This affects search, commits, and vuxml pages.
Search engines are not blocked. Try using "site:www.freshports.org" and your search terms.
Port details on branch 2025Q3
liblz4 LZ4 compression library, lossless and very fast
1.10.0_2,1 archivers on this many watch lists=42 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.10.0_2,1Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2014-10-26 00:14:22
Last Update: 2025-11-07 17:11:51
Commit Hash: 3373fa5
People watching this port, also watch:: pkg, indexinfo, readline, libffi, libiconv
License: BSD2CLAUSE GPLv2
WWW:
https://lz4.org/
https://github.com/lz4/lz4
Description:
LZ4 is lossless compression algorithm, providing compression speed > 500 MB/s per core, scalable with multi-cores CPU. It features an extremely fast decoder, with speed in multiple GB/s per core, typically reaching RAM speed limits on multi-core systems. Speed can be tuned dynamically, selecting an "acceleration" factor which trades compression ratio for faster speed. On the other end, a high compression derivative, LZ4_HC, is also provided, trading CPU time for improved compression ratio. All versions feature the same decompression speed. LZ4 is also compatible with dictionary compression, both at API and CLI levels. It can ingest any input file as dictionary, though only the final 64KB are used. This capability can be combined with the Zstandard Dictionary Builder, in order to drastically improve compression performance on small files.
HomepageHomepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (26 items)
Collapse this list.
  1. @ldconfig
  2. /usr/local/share/licenses/liblz4-1.10.0_2,1/catalog.mk
  3. /usr/local/share/licenses/liblz4-1.10.0_2,1/LICENSE
  4. /usr/local/share/licenses/liblz4-1.10.0_2,1/BSD2CLAUSE
  5. /usr/local/share/licenses/liblz4-1.10.0_2,1/GPLv2
  6. bin/lz4
  7. bin/lz4c
  8. bin/lz4cat
  9. bin/unlz4
  10. include/lz4.h
  11. include/lz4file.h
  12. include/lz4frame.h
  13. include/lz4frame_static.h
  14. include/lz4hc.h
  15. lib/liblz4.a
  16. lib/liblz4.so
  17. lib/liblz4.so.1
  18. lib/liblz4.so.1.10.0
  19. libdata/pkgconfig/liblz4.pc
  20. share/man/man1/lz4.1.gz
  21. share/man/man1/lz4c.1.gz
  22. share/man/man1/lz4cat.1.gz
  23. share/man/man1/unlz4.1.gz
  24. @owner
  25. @group
  26. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • liblz4>0:archivers/liblz4
To install the port:
cd /usr/ports/archivers/liblz4/ && make install clean
To add the package, run one of these commands:
  • pkg install archivers/liblz4
  • pkg install liblz4
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: liblz4
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1721710218 SHA256 (lz4-1.10.0.tar.gz) = 537512904744b35e232912055ccf8ec66d768639ff3abe5788d90d792ec5f48b SIZE (lz4-1.10.0.tar.gz) = 387114

Packages (timestamps in pop-ups are UTC):
liblz4
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.10.0_2,11.10.0_2,11.9.3,11.10.0,11.10.0_2,1n/an/an/a
FreeBSD:13:quarterly1.10.0_2,11.10.0_2,11.9.4,11.10.0,11.10.0_2,1n/an/an/a
FreeBSD:14:latest1.10.0_2,11.10.0_2,11.9.4,11.10.0,11.10.0_2,11.9.4,1-1.9.4,1
FreeBSD:14:quarterly1.10.0_2,11.10.0_2,1-1.10.0,11.10.0_2,11.9.4,11.9.4,11.9.4,1
FreeBSD:15:latest1.10.0_2,11.10.0_2,1n/a1.10.0,1n/an/a1.9.4_1,11.9.4_1,1
FreeBSD:15:quarterly1.10.0_2,11.10.0_2,1n/a-n/an/a--
FreeBSD:16:latest1.10.0_2,11.10.0_2,1n/a-n/an/a--
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gmake>=4.4.1 : devel/gmake
  2. pkgconf>=1.3.0_1 : devel/pkgconf
This port is required by:
for Build
  1. archivers/py-lz4
  2. astro/libosmium
  3. databases/mysql80-client
  4. databases/mysql80-server
  5. databases/mysql84-client
  6. databases/mysql84-server
  7. databases/mysql96-client
Expand this list (19 items / 12 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. databases/mysql96-server
  3. games/NBlood
  4. x11-fonts/ots
  5. Collapse this list.

Deleted ports which required this port:

Expand this list of 9 deleted ports
  1. databases/mysql81-client*
  2. databases/mysql81-server*
  3. databases/mysql90-client*
  4. databases/mysql90-server*
  5. databases/mysql91-client*
  6. databases/mysql91-server*
  7. databases/mysql94-client*
  8. databases/mysql94-server*
  9. devel/subversion-static*
  10. Collapse this list of deleted ports.
for Libraries
  1. archivers/c-blosc
  2. archivers/c-blosc2
  3. archivers/libarchive
  4. archivers/lrzip
  5. archivers/lz4json
  6. archivers/maxcso
  7. archivers/openzl
Expand this list (173 items / 166 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. archivers/php-horde_lz4
  3. archivers/php-lz4
  4. archivers/py-borgbackup
  5. archivers/py-lz4
  6. astro/opencpn
  7. astro/osmium-tool
  8. cad/brlcad
  9. cad/camotics
  10. databases/arrow
  11. databases/clickhouse-cpp
  12. databases/keydb
  13. databases/ladybug
  14. databases/mariadb1011-client
  15. databases/mariadb1011-server
  16. databases/mariadb114-client
  17. databases/mariadb114-server
  18. databases/mariadb118-client
  19. databases/mariadb118-server
  20. databases/mysql-connector-c++
  21. databases/mysql80-client
  22. databases/mysql80-server
  23. databases/mysql84-client
  24. databases/mysql84-server
  25. databases/mysql96-client
  26. databases/mysql96-server
  27. databases/mysql97-client
  28. databases/mysql97-server
  29. databases/pecl-redis
  30. databases/pg_citus
  31. databases/pgagroal
  32. databases/pgbackrest
  33. databases/postgresql14-server
  34. databases/postgresql15-server
  35. databases/postgresql16-server
  36. databases/postgresql17-server
  37. databases/postgresql18-server
  38. databases/rocksdb
  39. databases/rocksdb9
  40. databases/tiledb
  41. databases/tkrzw
  42. deskutils/spice-gtk
  43. devel/android-tools
  44. devel/apache-orc
  45. devel/bitkeeper
  46. devel/cbang
  47. devel/fbthrift
  48. devel/folly
  49. devel/kronosnet
  50. devel/libspice-server
  51. devel/mtbl
  52. devel/p5-subversion
  53. devel/py-subversion
  54. devel/root
  55. devel/ruby-subversion
  56. devel/subversion
  57. devel/subversion-lts
  58. devel/xmake-io
  59. dns/dnscap
  60. dns/dnsjit
  61. editors/imhex
  62. emulators/Ymir
  63. emulators/dolphin-emu
  64. emulators/pcsx2
  65. emulators/yuzu
  66. filesystems/sasquatch
  67. filesystems/squashfs-tools
  68. filesystems/squashfs-tools-ng
  69. filesystems/squashfuse
  70. games/openmw
  71. graphics/appleseed
  72. graphics/aseprite
  73. graphics/gdal
  74. graphics/hugin
  75. graphics/librasterlite2
  76. graphics/libxisf
  77. graphics/pcl-pointclouds
  78. graphics/py-imagecodecs
  79. graphics/simpleviewer
  80. java/java-subversion
  81. lang/racket
  82. lang/racket-minimal
  83. lang/rizin
  84. math/flann
  85. math/labplot
  86. misc/adios2
  87. misc/dartsim
  88. misc/openmvg
  89. multimedia/opentoonz
  90. net/fb303
  91. net/kcat
  92. net/lavinmq
  93. net/librdkafka
  94. net/mvfst
  95. net/ocserv
  96. net/rsync
  97. net/wangle
  98. net/waypipe
  99. net/wireshark
  100. net-im/telegram-desktop
  101. net-mgmt/ipfixcol2
  102. net-mgmt/libfds
  103. net-mgmt/netdata
  104. science/paraview
  105. security/fizz
  106. security/openvpn
  107. security/openvpn-devel
  108. security/subversion-gnome-keyring
  109. security/suricata
  110. shells/schemesh
  111. sysutils/dar
  112. sysutils/osquery
  113. sysutils/slurm-wlm
  114. textproc/ugrep
  115. www/mod_dav_svn
  116. www/proxygen
  117. x11/gromit-mpx
  118. x11/swww
  119. x11/xpra
  120. x11-fonts/ots
  121. x11-toolkits/pangolin
  122. x11-toolkits/vte3
  123. Collapse this list.

Deleted ports which required this port:

Expand this list of 45 deleted ports
  1. archivers/py-borgbackup11*
  2. archivers/py-borgbackup12*
  3. archivers/py-borgbackup125*
  4. databases/mariadb114-connector-c*
  5. databases/mongodb34-rocks*
  6. databases/mysql56-client*
  7. databases/mysql56-server*
  8. databases/mysql57-client*
  9. databases/mysql57-server*
  10. databases/mysql81-client*
  11. databases/mysql81-server*
  12. databases/mysql90-client*
  13. databases/mysql90-server*
  14. databases/mysql91-client*
  15. databases/mysql91-server*
  16. databases/mysql94-client*
  17. databases/mysql94-server*
  18. databases/mysqlwsrep56-server*
  19. databases/mysqlwsrep57-server*
  20. databases/percona-pam-for-mysql*
  21. databases/percona57-client*
  22. databases/percona57-pam-for-mysql*
  23. databases/percona57-server*
  24. databases/redisdesktopmanager*
  25. databases/rocksdb-lite*
  26. emulators/yuzu-qt5*
  27. multimedia/kodi-addon-vfs.libarchive-devel*
  28. net/ceph*
  29. net/ceph-devel*
  30. net/ceph12*
  31. net/ceph13*
  32. net/ceph14*
  33. net/fbzmq*
  34. net/rsocket-cpp*
  35. net/tshark*
  36. net/tshark-lite*
  37. net/wireshark-lite*
  38. net/wireshark-qt5*
  39. security/openvpn-mbedtls*
  40. security/openvpn25*
  41. security/subversion-kwallet*
  42. security/suricata5*
  43. sysutils/fusefs-squashfuse*
  44. sysutils/squashfs-tools*
  45. sysutils/squashfs-tools-ng*
  46. Collapse this list of deleted ports.
for Run
  1. biology/mca-calling

Configuration Options:
===> The following configuration options are available for liblz4-1.10.0_2,1: TEST=off: Run extensive tests ===> Use 'make config' to modify these settings
Options name:
archivers_liblz4
USES:
cpe gmake pkgconfig
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://github.com/lz4/lz4/releases/download/v1.10.0/
Collapse this list.

There are no commits on branch 2025Q3 for this port