tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg-conf --libs x11

I'm looking at the (bulkbuild) log which you may find at

and, for example,  x11/xicc shows following line
   ERROR: bin/xicc: missing library:

This happens also when just a single make package as shown below log part in this mail.

And I suspect pkg-config  (say, x11.pc) may have problem.
I've checked some portion, but my knowledge is not enough 
to figure out what is going on:

Please guide me (or just fix the problem) thanks.

With my environment,
pkg-conf --libs x11 returns
Following string
  pkgsrc@root 22:31:13/190615(..x11/xicc)% pkg-config --libs  x11                                                     
  -Wl,-rpath,/usr/X11R7/lib -L/usr/X11R7/lib -lX11 
We have two x11.pc, but both are the same for the moment.

pkgsrc@root 22:32:15/190615(..x11/xicc)% diff -u   /usr/X11R7/lib/pkgconfig/x11.pc /usr/pkg/share/x11-links/lib/pkgconfig/x11.pc

And now both point X11R7 side

head -2 /usr/pkg/share/x11-links/lib/pkgconfig/x11.pc


cd /usr/pkgsrc/x11/xicc; make clean && make package
=> Generating pre-install file lists
=> Creating installation directories
/tmp/x11/xicc/work/.cwrapper/bin/libtool --tag=CC --mode=install /usr/bin/install -c -s -o root -g wheel -m 755 /tmp/x11/xicc/work/xicc-0.1/xicc /tmp/x11/xicc/work/.destdir/usr/pkg/bin/
libtool: install: /usr/bin/install -c -o root -g wheel -m 755 -s /tmp/x11/xicc/work/xicc-0.1/xicc /tmp/x11/xicc/work/.destdir/usr/pkg/bin/xicc
=> Automatic manual page handling
=> Generating post-install file lists
=> Checking file-check results for xicc-0.1nb4
=> Checking for non-existent script interpreters in xicc-0.1nb4
=> Checking file permissions in xicc-0.1nb4
=> Checking for missing run-time search paths in xicc-0.1nb4
ERROR: bin/xicc: missing library:
*** Error code 1

make[1]: stopped in /P/pkgsrc/x11/xicc
*** Error code 1

make: stopped in /P/pkgsrc/x11/xicc

pkgsrc@root 21:31:23/190615(..x11/xicc)% ls -l /usr/pkg/lib/libglib*
lrwxr-xr-x  1 root  wheel       16 Jun 15 21:20 /usr/pkg/lib/ ->
lrwxr-xr-x  1 root  wheel       23 Jun 15 21:20 /usr/pkg/lib/ ->
-rwxr-xr-x  1 root  wheel  1283296 Jun 15 21:20 /usr/pkg/lib/

pkgsrc@root 21:32:56/190615(..x11/xicc)% ls -l /tmp/x11/xicc/work/.destdir/usr/pkg/bin/xicc
-rwxr-xr-x  1 root  wheel  7408 Jun 15 21:31 /tmp/x11/xicc/work/.destdir/usr/pkg/bin/xicc

pkgsrc@root 21:33:01/190615(..x11/xicc)% ldd  /tmp/x11/xicc/work/.destdir/usr/pkg/bin/xicc
        -lX11.7 => /usr/X11R7/lib/
        -lxcb.2 => /usr/X11R7/lib/
        -lXau.7 => /usr/X11R7/lib/
        -lc.12 => /usr/lib/
        -lXdmcp.7 => /usr/X11R7/lib/
        -lintl.1 => /usr/lib/
        -lglib-2.0.0 => not found
pkgsrc@root 21:33:16/190615(..x11/xicc)%

Makoto Fujiwara
Key fingerprint = 0BFA FAEB EAD1 90BA 7498  8F85 6809 9E0B B7EF A12E

Home | Main Index | Thread Index | Old Index