View Issue Details

IDProjectCategoryView StatusLast Update
0005681GNUnetbuild processpublic2019-05-12 13:29
Reporterng0Assigned Tong0 
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version 
Target VersionFixed in Version0.11.4 
Summary0005681: gnunet-qr linking
Descriptionmight need either build-system work or fix on my system. please don't close this with "works for me".

    -lzbar.0 => /usr/pkg/lib/
    -lSM.7 => /usr/X11R7/lib/
    -lICE.7 => /usr/X11R7/lib/
    -lc.12 => /usr/lib/
    -lX11.7 => /usr/X11R7/lib/
    -lxcb.2 => /usr/X11R7/lib/
    -lXau.7 => /usr/X11R7/lib/
    -lXdmcp.7 => /usr/X11R7/lib/
    -lXv.2 => /usr/X11R7/lib/
    -lXext.7 => /usr/X11R7/lib/
    -ljpeg.9 => /usr/pkg/lib/
    -lpthread.1 => /usr/lib/
    -lX11.7 => not found
    -lSM.7 => not found
    -lICE.7 => not found
    -lX11.6 => /usr/pkg/lib/
    -lxcb.2 => not found
    -lXv.2 => not found
    -lgnunetutil.13 => /usr/pkg/lib/
    -lgcrypt.20 => /usr/pkg/lib/
    -lgpg-error.0 => /usr/pkg/lib/
    -lintl.1 => /usr/lib/
    -lltdl.7 => /usr/pkg/lib/
    -lidn2.0 => /usr/pkg/lib/
    -lunistring.2 => /usr/pkg/lib/
    -lz.1 => /usr/lib/
    -lm.0 => /usr/lib/
    -lintl.8 => /usr/pkg/lib/
TagsNo tags attached.


Christian Grothoff

2019-04-20 12:00

manager   ~0014308

Very strange, you first list some of the libraries as 'found', and then below the same ones as not found.

In any case, if your platform has 'ldd', you should use it on the various libraries to see which one is badly linked.

This is almost certainly an issue with libzbar or one of its dependencies, or with your linker/loader configuration.


2019-04-20 12:46

developer   ~0014313

In my experience this is a problem on platforms or systems which do not care about ldd config
or treat it differently than expected (Guix, Nix, pkgsrc on NetBSD, probably more).

So while the individual platforms could catch this, we should do something.

Reading this now again, this is because I need to include the X11R7 installation directory
which probably includes the missing stuff (can't check right now).

Conclusion once I have time to test this on my platform will be to point out that we need to link against a couple more dependencies. Well also I don't have libzbar, so there's that. Let me tinker with the correct solution until I resolve this.

Christian Grothoff

2019-04-20 18:06

manager   ~0014320

This is very certainly not a case where we can do anything. We link against libzbar, and everything else depends on zbar. zbar depends on X11, we shouldn't care (or be aware, or do something special about X11, as long as we don't directly use X11 ourselves). So the moment we did something here, I would have to consider that a bug.


2019-04-24 13:36

developer   ~0014338

Agreed. If there will be a problem it can be fixed, right now it doesn't look like one (and just my
absence of libzbar being one).

Issue History

Date Modified Username Field Change
2019-04-06 23:30 ng0 New Issue
2019-04-06 23:30 ng0 Status new => assigned
2019-04-06 23:30 ng0 Assigned To => ng0
2019-04-20 12:00 Christian Grothoff Note Added: 0014308
2019-04-20 12:46 ng0 Note Added: 0014313
2019-04-20 18:06 Christian Grothoff Note Added: 0014320
2019-04-24 13:36 ng0 Status assigned => resolved
2019-04-24 13:36 ng0 Resolution open => fixed
2019-04-24 13:36 ng0 Fixed in Version => 0.11.4
2019-04-24 13:36 ng0 Note Added: 0014338
2019-05-12 13:29 Christian Grothoff Status resolved => closed