Bryan Kadzban wrote: > Bruce Dubbs wrote: >> Ken Moffat wrote: >>> On Fri, Feb 07, 2014 at 03:06:52PM -0600, Bruce Dubbs wrote: >>>> BTW, without the above, we do have /usr/lib/libncurses.a. Shouldn't >>>> shouldn't that be picked up? >> >>> You should know me by now - disable static libs when I can, and hide the >>> rest of them ;-) > > Well, even if you didn't disable static libs -- the dynamically-linked binary > that you're running ldd against won't pick up any .a files. You'd have to be > able to relink it for that file to help. Since the existing instructions for > re-pointing the compiler at the lib*w.* files didn't help you, I assume this > program must be binary-only, and not built from source. > > Same reason that copying /usr/lib/libncurses.so to a different file didn't > help -- the .so and .a files are both used only by ld, at build time, not by > /lib/ld-linux.so.2 (for 32-bit) or by /lib64/ld-linux-x86_64.so.2 (for > 64-bit), at runtime. (Those don't accept linker scripts, for one, only ELF > files, and the filenames they look for are determined by the various DT_NEEDED > sections in the binary or other libraries.)
Bryan, I think Ken was talking about build time, but I could have been mistaken. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page