Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Jun 2020 15:16:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 239238] ldd(1) showing dependencies for shared objects in same name in library paths instead of in current working directory
Message-ID:  <bug-239238-227-QQLRG85JLt@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-239238-227@https.bugs.freebsd.org/bugzilla/>

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

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239238

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markj@FreeBSD.org

--- Comment #1 from Mark Johnston <markj@FreeBSD.org> ---
Indeed, the handling of executables and shared libs is inconsistent.  The
current behaviour makes some sense since it matches the runtime linker's search
algorithm, but it is not really intuitive for a command-line program.  Our
behaviour is also incompatible with Linux's.  The main question would be
whether changing this breaks anything.  It might be reasonable to try searching
the current directory before falling back to the rtld search path.  That would
give more consistent behaviour and be less likely to break anything.

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239238-227-QQLRG85JLt>