Date: Sun, 01 Mar 2009 06:55:25 -0500 From: Michael Powell <nightrecon@verizon.net> To: freebsd-questions@freebsd.org Subject: Re: libpthread not found Message-ID: <godt1p$vhs$1@ger.gmane.org> References: <3B419C0DD853DC47AA4FA65D0FC92B5FE5C8FC@FBCMST11V01.fbc.local>
next in thread | previous in thread | raw e-mail | index | archive | help
m.borsatino@alice.it wrote: [snip] >> thanks ... but ... how? >> now I don't get the first message; but the second tells me that a library >> is missing, but it is present. anyway I' prepared a very simple >> /etc/libmap.conf like this: >> >> # /etc/libmap.conf >> # >> # candidate mapping >> # >> libc.so.6 /usr/compat/linux/lib/libc.so.6 > > Change to: > > libc.so.6 libc.so.7 > >> but clearly this is not enough. should I restart the system or use a >> program to make the change accepted? >> > > No need, it is picked up the next time the libmap.conf file is parsed. > > What is occurring is the java binary was built against libc.so.6, which is > what you would find on a FreeBSD 6.x box. > >> amm ... when I change the 'candidate' something strange begins to happen: >> bash doesn't work anymore, saying that it does not find the library. this >> happens as soon as I do the change, showing what you've explained to me. I am beginning to wonder if the problem isn't a little more involved. Did you upgrade the machine from FreeBSD 6.x to 7.x without rebuilding all your ports? With bash breaking it sounds like it was built for a 6.x box as well, which leads me to wonder how many other ports are the same way. What you also might look into is installing the misc/compat6x port. However, in any event, we need to get down to the bottom of what happened to create the situation. The most obvious thing I can think of is an upgrade of the system from 6 to 7 without a corresponding rebuild or reinstall of all ports. -Mike
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?godt1p$vhs$1>
