---
name: "yaz-config"
section: "1"
platform: "linux"
package: "yaz"
version: "5.38.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/yaz-config"
---

# yaz-config(1)

Script to get information about YAZ.

## NAME

yaz-config - Script to get information about YAZ.

## SYNOPSIS

**yaz-config** \[**--prefix\[=***DIR***\]**\] \[**--version**\] \[**--libs**\] \[**--lalibs**\] \[**--cflags**\] \[**--include**\] \[**--comp**\] \[**-V**\] \[libraries...\]

## DESCRIPTION

**yaz-config** is a script that returns information that your own software should use to build software that uses YAZ.

The following libraries are supported:

threads

Use the threaded version of YAZ.

## OPTIONS

- \--prefix\[=*DIR*\]

  Returns prefix of YAZ or assume a different one if DIR is specified.

- \--version

  Returns version of YAZ.

- \--libs

  Library specification be used when using YAZ.

- \--lalibs

  Return library specification.

- \--cflags

  Return C Compiler flags.

- \--include

  Return C compiler includes for YAZ header files (-Ipath).

- \--comp

  Returns full path to YAZ' ASN.1 compiler: yaz-asncomp.

- \-V

  Returns YAZ SHA1 ID (from Git) and version.

## FILES

/usr/bin/yaz-config

/usr/lib/libyaz\*.a

/usr/include/yaz/\*.h

## SEE ALSO

[yaz(7)](/yaz/7.md)

Section "How to make apps using YAZ on UNIX" in the YAZ manual.

## AUTHORS

**Index Data**
