Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Dec 2017 16:32:37 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Willem Jan Withagen <wjw@digiware.nl>
Cc:        FreeBSD Filesystems <freebsd-fs@freebsd.org>
Subject:   Re: Wierd 'No such file' behaviour
Message-ID:  <B394EB5A-D27E-4AD3-9326-FE0C2BD80875@FreeBSD.org>
In-Reply-To: <2609c91e-58a0-d2d8-215d-6f47c314242f@digiware.nl>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 31 Dec 2017, at 15:56, Willem Jan Withagen <wjw@digiware.nl> wrote:
> 
> During some work with ld versus lld if ran into:
> 
> wjw@freetest.digiware.nl> ls -asl jails/ceph12/usr/bin/*ld*
>   21 -r-xr-xr-x  1 root  wheel     37304 Jul 17 18:19 jails/ceph12/usr/bin/colldef*
>    6 -r-xr-xr-x  1 root  wheel     10312 Jul 17 18:19 jails/ceph12/usr/bin/fold*
>  970 -r-xr-xr-x  2 root  wheel   1862200 Jul 17 18:18 jails/ceph12/usr/bin/ld*
>  970 -r-xr-xr-x  2 root  wheel   1862200 Jul 17 18:18 jails/ceph12/usr/bin/ld.bfd*
> 17090 -r-xr-xr-x  1 root  wheel  32911632 Jul 17 18:19 jails/ceph12/usr/bin/ld.lld*
>    7 -r-xr-xr-x  1 root  wheel     11480 Jul 17 18:19 jails/ceph12/usr/bin/ldd*
>   13 -r-xr-xr-x  1 root  wheel     18844 Jul 17 18:20 jails/ceph12/usr/bin/ldd32*
> 26384 -r-xr-xr-x  1 root  wheel  51137920 Jul 17 18:19 jails/ceph12/usr/bin/lldb*
> 
> So jails/ceph12/usr/bin/lld is found in ls...
> 
> But:
> wjw@freetest.digiware.nl> file jails/ceph12/usr/bin/lld
> jails/ceph12/usr/bin/lld: cannot open `jails/ceph12/usr/bin/lld' (No such file or directory)
> 
> The same error for strings.
> 
> So why is this file not available?

Because it's either "ld.lld", or "ldd", but not "lld". :)

-Dimitry


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCWkkDFQAKCRCwXqMKLiCW
o9m4AJ9TEMKkHkTqmg7IHXh7Si36npQEfwCgoyaH+Powlqjym6usEx20I7xoFj4=
=vlVN
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B394EB5A-D27E-4AD3-9326-FE0C2BD80875>