Why do I need a bunch of mappings for ld-elf.so in FreeBSD 8?

Ruben de Groot mail25 at bzerk.org
Tue Dec 8 10:05:11 UTC 2009


On Mon, Dec 07, 2009 at 05:35:47PM -0800, Paul Hoffman typed:
> Greetings. I upgraded a 7.2 system to 8.0 using 'freebsd-update install'. At some time during the process, I could no longer log in remotely because bash could not start due to /libexec/ld-elf.so not finding the right libraries. I added a bunch of lines to /etc/libmap.conf so that I could continue, and did a full 'portupgrade -af'. 'freebsd-update fetch' reports nothing to fetch, but I can't remove the lines from /etc/libmap.conf.
> 
> How do I get a /libexec/ld-elf.so that has up-to-date mappings internal to it?

These mappings are not internal to ld-elf.so.

Could you post the contents of your libmap.conf and the output of 
ldd /usr/local/bin/bash ?

Also the errors bash gives when started without the mappings in libmap.conf.

Ruben



More information about the freebsd-questions mailing list