From: John Mudd <johnbmudd@gmail.com>
To: musl <musl@lists.openwall.com>
Cc: John Mudd <johnbmudd@gmail.com>
Subject: Re: musl xclock?
Date: Wed, 20 May 2015 16:47:45 -0400 [thread overview]
Message-ID: <CAGDMk9FkoWkbjmmRPPkefFN8LuJZxSmMGwfVyTCX4zORpXoksg@mail.gmail.com> (raw)
In-Reply-To: <CAGDMk9FmDYjePhArEH+BWNfRvh7ps8C2asamYqxz=QyChcNARw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 5627 bytes --]
>
>
> Yes, it's Ubuntu 14.04
>
> $ uname -a
> Linux john-Precision-WorkStation-T3400 3.13.0-49-generic #83-Ubuntu SMP
> Fri Apr 10 20:14:51 UTC 2015 i686 i686 i686 GNU/Linux
>
> I tried creating an empty ld-linux.so.2
> in /usr/lib/gcc/i686-linux-gnu/4.8/ and also
> in /home/mudd/musl/musl-1.1.8.install/lib/. I'm not sure if either is what
> Szabolcs Nagy suggested but neither seemed to make a difference.
>
>
I might be on to something...
I added --verbose to the collect2 command.
It listed this:
libz.so.1 needed by /home/mudd/musl/libXft-2.3.2.install/lib/libXft.so
found libz.so.1 at //lib/i386-linux-gnu/libz.so.1
libc.so.6 needed by //lib/i386-linux-gnu/libz.so.1
Back to libXft.so...
$ readelf -a ./libXft-2.3.2.install/lib/libXft.so | grep NEED
0x00000001 (NEEDED) Shared library:
[libfontconfig.so.1]
0x00000001 (NEEDED) Shared library: [libxml2.so.2]
0x00000001 (NEEDED) Shared library: [libfreetype.so.6]
0x00000001 (NEEDED) Shared library: [libz.so.1]
0x00000001 (NEEDED) Shared library: [libXrender.so.1]
0x00000001 (NEEDED) Shared library: [libX11.so.6]
0x00000001 (NEEDED) Shared library: [libxcb.so.1]
0x00000001 (NEEDED) Shared library: [libXau.so.6]
0x00000001 (NEEDED) Shared library: [libc.so]
$ /home/mudd/musl/lib/ld-musl-i386.so.1 --list
./libXft-2.3.2.install/lib/libXft.so
/home/mudd/musl/lib/ld-musl-i386.so.1 (0xb76b8000)
libfontconfig.so.1 =>
/home/mudd/musl/fontconfig-2.11.93.install/lib/libfontconfig.so.1
(0xb7650000)
libxml2.so.2 =>
/home/mudd/musl/libxml2-2.9.2.install/lib/libxml2.so.2 (0xb7492000)
libfreetype.so.6 =>
/home/mudd/musl/freetype-2.5.5.install/lib/libfreetype.so.6 (0xb73e1000)
libz.so.1 => /usr/rx30/musl/zlib-1.2.8.install/lib/libz.so.1
(0xb73c7000)
libXrender.so.1 =>
/home/mudd/musl/libXrender-0.9.8.install/lib/libXrender.so.1 (0xb73bc000)
libX11.so.6 => /home/mudd/musl/libX11-1.6.3.install/lib/libX11.so.6
(0xb727a000)
libxcb.so.1 => /home/mudd/musl/libxcb-1.11.install/lib/libxcb.so.1
(0xb7258000)
libXau.so.6 => /home/mudd/musl/libXau-1.0.8.install/lib/libXau.so.6
(0xb7254000)
libc.so => /home/mudd/musl/lib/ld-musl-i386.so.1 (0xb76b8000)
$
But... look at this....
$ ln -s /home/mudd/musl/lib/ld-musl-i386.so.1 musl_lib
$ musl_lib --list ./libXft-2.3.2.install/lib/libXft.so
musl_lib (0xb76d0000)
libfontconfig.so.1 =>
/home/mudd/musl/fontconfig-2.11.93.install/lib/libfontconfig.so.1
(0xb7668000)
libxml2.so.2 =>
/home/mudd/musl/libxml2-2.9.2.install/lib/libxml2.so.2 (0xb74aa000)
libfreetype.so.6 =>
/home/mudd/musl/freetype-2.5.5.install/lib/libfreetype.so.6 (0xb73f9000)
Error loading shared library libz.so.1: No such file or directory (needed
by ./libXft-2.3.2.install/lib/libXft.so)
libXrender.so.1 =>
/home/mudd/musl/libXrender-0.9.8.install/lib/libXrender.so.1 (0xb73ee000)
libX11.so.6 => /home/mudd/musl/libX11-1.6.3.install/lib/libX11.so.6
(0xb72ac000)
libxcb.so.1 => /home/mudd/musl/libxcb-1.11.install/lib/libxcb.so.1
(0xb728a000)
libXau.so.6 => /home/mudd/musl/libXau-1.0.8.install/lib/libXau.so.6
(0xb7286000)
libc.so => musl_lib (0xb76d0000)
Error loading shared library libz.so.1: No such file or directory (needed
by /home/mudd/musl/fontconfig-2.11.93.install/lib/lib
Error loading shared library libz.so.1: No such file or directory (needed
by /home/mudd/musl/libxml2-2.9.2.install/lib/libxml2.
Error loading shared library libz.so.1: No such file or directory (needed
by /home/mudd/musl/freetype-2.5.5.install/lib/libfree
Error relocating /home/mudd/musl/libxml2-2.9.2.install/lib/libxml2.so.2:
deflateEnd: symbol not found
Error relocating /home/mudd/musl/libxml2-2.9.2.install/lib/libxml2.so.2:
gzclose: symbol not found
Error relocating /home/mudd/musl/libxml2-2.9.2.install/lib/libxml2.so.2:
inflate: symbol not found
Error relocating /home/mudd/musl/libxml2-2.9.2.install/lib/libxml2.so.2:
inflateInit2_: symbol not found
Error relocating /home/mudd/musl/libxml2-2.9.2.install/lib/libxml2.so.2:
gzread: symbol not found
Error relocating /home/mudd/musl/libxml2-2.9.2.install/lib/libxml2.so.2:
gzdopen: symbol not found
Error relocating /home/mudd/musl/libxml2-2.9.2.install/lib/libxml2.so.2:
deflate: symbol not found
Error relocating /home/mudd/musl/libxml2-2.9.2.install/lib/libxml2.so.2:
gzdirect: symbol not found
Error relocating /home/mudd/musl/libxml2-2.9.2.install/lib/libxml2.so.2:
inflateEnd: symbol not found
Error relocating /home/mudd/musl/libxml2-2.9.2.install/lib/libxml2.so.2:
gzwrite: symbol not found
Error relocating /home/mudd/musl/libxml2-2.9.2.install/lib/libxml2.so.2:
crc32: symbol not found
Error relocating /home/mudd/musl/libxml2-2.9.2.install/lib/libxml2.so.2:
deflateInit2_: symbol not found
Error relocating /home/mudd/musl/libxml2-2.9.2.install/lib/libxml2.so.2:
gzopen: symbol not found
Error relocating
/home/mudd/musl/freetype-2.5.5.install/lib/libfreetype.so.6: inflate:
symbol not found
Error relocating
/home/mudd/musl/freetype-2.5.5.install/lib/libfreetype.so.6: inflateReset:
symbol not found
Error relocating
/home/mudd/musl/freetype-2.5.5.install/lib/libfreetype.so.6: inflateEnd:
symbol not found
Error relocating
/home/mudd/musl/freetype-2.5.5.install/lib/libfreetype.so.6: inflateInit2_:
symbol not found
$
This (getting errors when using link to ld-musl-i386.so.1 only happens
when on ths one X11 lib. Is it significant?
John
[-- Attachment #2: Type: text/html, Size: 7541 bytes --]
next prev parent reply other threads:[~2015-05-20 20:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-19 21:51 John Mudd
2015-05-19 22:13 ` Rich Felker
2015-05-20 15:28 ` John Mudd
2015-05-20 16:05 ` Rich Felker
2015-05-20 17:00 ` Szabolcs Nagy
2015-05-20 17:02 ` Szabolcs Nagy
2015-05-20 17:43 ` Rich Felker
2015-05-20 20:26 ` John Mudd
2015-05-20 20:47 ` John Mudd [this message]
2015-05-20 21:08 ` Szabolcs Nagy
2015-05-20 21:48 ` Szabolcs Nagy
2015-05-21 21:36 ` John Mudd
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAGDMk9FkoWkbjmmRPPkefFN8LuJZxSmMGwfVyTCX4zORpXoksg@mail.gmail.com \
--to=johnbmudd@gmail.com \
--cc=musl@lists.openwall.com \
/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.vuxu.org/mirror/musl/
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 NNTP newsgroup(s).