From: Andreas Enge <andreas@enge.fr>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: Qt
Date: Sat, 12 Oct 2013 15:08:04 +0200 [thread overview]
Message-ID: <20131012130804.GA4092@debian> (raw)
In-Reply-To: <20131010200038.GA16170@debian>
So I added Qt 4.8.5, after disabling a few tests requiring an X server -
adding xorg-server as an input was not enough, as the server would not be
started by the tests, but supposed to be already running. Two "hello world"
programs I found in a tutorial compile.
The gui program complains about a missing icui18n library. Strace shows the
following:
open("/nix/store/z70fv39wa8yrvvqq9zfidsh86z72p4gr-qt-4.8.5/lib/libicui18n.so.50", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/shamfhyg9hcac63y3bll9p50ixxid8vb-glibc-2.18/lib/libicui18n.so.50", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/52998i0m4gr7k35lni8fmg591zsyqamv-gcc-4.7.3/lib/libicui18n.so.50", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/g4cs0ssg7ry4da1615947ild5l4wv6ba-zlib-1.2.7/lib/libicui18n.so.50", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/dly2cqqprdsb4fqabrw0bxm1n42vpi6w-glib-2.38.0/lib/libicui18n.so.50", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/etc/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/shamfhyg9hcac63y3bll9p50ixxid8vb-glibc-2.18/lib/libicui18n.so.50", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/z70fv39wa8yrvvqq9zfidsh86z72p4gr-qt-4.8.5/lib/libicui18n", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/shamfhyg9hcac63y3bll9p50ixxid8vb-glibc-2.18/lib/libicui18n", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/52998i0m4gr7k35lni8fmg591zsyqamv-gcc-4.7.3/lib/libicui18n", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/g4cs0ssg7ry4da1615947ild5l4wv6ba-zlib-1.2.7/lib/libicui18n", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/dly2cqqprdsb4fqabrw0bxm1n42vpi6w-glib-2.38.0/lib/libicui18n", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/shamfhyg9hcac63y3bll9p50ixxid8vb-glibc-2.18/lib/libicui18n", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/z70fv39wa8yrvvqq9zfidsh86z72p4gr-qt-4.8.5/lib/icui18n.so.50", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/shamfhyg9hcac63y3bll9p50ixxid8vb-glibc-2.18/lib/icui18n.so.50", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/52998i0m4gr7k35lni8fmg591zsyqamv-gcc-4.7.3/lib/icui18n.so.50", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/g4cs0ssg7ry4da1615947ild5l4wv6ba-zlib-1.2.7/lib/icui18n.so.50", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/dly2cqqprdsb4fqabrw0bxm1n42vpi6w-glib-2.38.0/lib/icui18n.so.50", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/shamfhyg9hcac63y3bll9p50ixxid8vb-glibc-2.18/lib/icui18n.so.50", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/z70fv39wa8yrvvqq9zfidsh86z72p4gr-qt-4.8.5/lib/icui18n", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/shamfhyg9hcac63y3bll9p50ixxid8vb-glibc-2.18/lib/icui18n", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/52998i0m4gr7k35lni8fmg591zsyqamv-gcc-4.7.3/lib/icui18n", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/g4cs0ssg7ry4da1615947ild5l4wv6ba-zlib-1.2.7/lib/icui18n", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/dly2cqqprdsb4fqabrw0bxm1n42vpi6w-glib-2.38.0/lib/icui18n", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/shamfhyg9hcac63y3bll9p50ixxid8vb-glibc-2.18/lib/icui18n", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/nix/store/shamfhyg9hcac63y3bll9p50ixxid8vb-glibc-2.18/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 4
icu4c was present at the time of compilation, but is not listed as a reference:
$$ ./pre-inst-env guix gc --references /nix/store/z70fv39wa8yrvvqq9zfidsh86z72p4gr-qt-4.8.5
/nix/store/2332f9jmabldwz08lqj9yd8znrx9z125-libpng-1.5.17
/nix/store/3xkdzldlqm4sa2p4czjbnybdwq47qlw2-fontconfig-2.10.93
/nix/store/52998i0m4gr7k35lni8fmg591zsyqamv-gcc-4.7.3
/nix/store/8cpwgsdx2njpkdj20i963zfxs0fyqkvi-libjpeg-8d
/nix/store/arsxjcl3kdxxjxf7s1nsvfczis6pckm3-libxrender-0.9.7
/nix/store/asmki6g7ca64sdlcf6ahnjxvxg2x6sgv-libx11-1.5.0
/nix/store/b3c1z47c201gz8gnx5553kw2qb4qdq3b-freetype-2.4.11
/nix/store/dly2cqqprdsb4fqabrw0bxm1n42vpi6w-glib-2.38.0
/nix/store/g4cs0ssg7ry4da1615947ild5l4wv6ba-zlib-1.2.7
/nix/store/i9b6q8wciapn69wifmb1xgpikj4ljjzy-alsa-lib-1.0.27.1
/nix/store/l8bnfq6n6hb2wvx0kxdy141jna8mkns3-mysql-5.1.54
/nix/store/lhb68hrv6hcris5bbr7y894c9g8fj558-libxext-1.3.1
/nix/store/shamfhyg9hcac63y3bll9p50ixxid8vb-glibc-2.18
/nix/store/vmajpkk5ih03g0wik16693fkc638if8k-mesa-8.0.5
/nix/store/z70fv39wa8yrvvqq9zfidsh86z72p4gr-qt-4.8.5
ldd on the offending binary shows no dependency on anything icu related,
and installing icu4c in the user profile does not have any effect.
If I add $HOME/.guix-profile/lib to LD_LIBRARY_PATH, the problem disappears.
I wonder if some dlopen magic is involved. Do you see a solution from
this description?
Andreas
next prev parent reply other threads:[~2013-10-12 13:08 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-08 19:05 Qt Andreas Enge
2013-10-08 21:05 ` Qt Ludovic Courtès
2013-10-10 12:59 ` Qt Andreas Enge
2013-10-10 13:09 ` Qt Ludovic Courtès
2013-10-10 20:00 ` Qt Andreas Enge
2013-10-10 22:19 ` Qt Mark H Weaver
2013-10-31 15:35 ` Qt Andreas Enge
2013-10-12 13:08 ` Andreas Enge [this message]
2013-10-12 19:38 ` Qt Ludovic Courtès
2013-10-12 21:25 ` Qt Andreas Enge
2013-10-12 21:39 ` Qt Andreas Enge
2013-10-13 13:54 ` Qt Ludovic Courtès
2013-10-13 14:18 ` Qt Andreas Enge
2013-10-13 20:46 ` Qt Ludovic Courtès
2013-11-11 20:19 ` Qt Andreas Enge
2013-11-11 20:36 ` Qt Ludovic Courtès
2014-09-29 8:06 ` Qt Andreas Enge
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20131012130804.GA4092@debian \
--to=andreas@enge.fr \
--cc=guix-devel@gnu.org \
--cc=ludo@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).