|
From: | galaxyking0419 at gmail dot com |
Subject: | [Bug ld/29288] Dependent libraries cannot be found if with default sysroot search dir |
Date: | Mon, 27 Jun 2022 14:49:24 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29288 --- Comment #2 from William Tang <galaxyking0419 at gmail dot com> --- Okay, it seems there is another issue. Although the ld is configured with --with-sysroot option. The -rpath values are still not used for shared library dependency resolution. This is against the behavior stated in the documentation (https://sourceware.org/binutils/docs-2.38/ld/Options.html#Options): "The -rpath option is also used when locating shared objects which are needed by shared objects explicitly included in the link; see the description of the -rpath-link option. Searching -rpath in this way is only supported by native linkers and cross linkers which have been configured with the --with-sysroot option." -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |