Package: libyajl-dev
Version: 2.1.0-2+b3
Severity: normal

When statically linking software which uses libyajl, the linker can’t find
libyajl as-is:

% ../configure LDFLAGS=-static
% make
[…]
/usr/bin/ld: cannot find -lyajl
[…]

Copying the file helps:
% sudo cp /usr/lib/x86_64-linux-gnu/libyajl_s.a 
/usr/lib/x86_64-linux-gnu/libyajl.a

Is there a reason for this file to be shipped under a different name? The
toolchain doesn’t seem to know about it :). If not, please rename the file.

Thanks!

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armel, mipsel, arm64

Kernel: Linux 4.12.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libyajl-dev depends on:
ii  libyajl2  2.1.0-2+b3

libyajl-dev recommends no packages.

libyajl-dev suggests no packages.

-- no debconf information

Reply via email to