Am 06.01.2013 18:46, schrieb Ken Moffat:
> On Sun, Jan 06, 2013 at 02:47:22PM +0100, Sven Bartscher wrote:
>> Hey guys!
>> I'm building LFS on Ubuntu 12.10 64bit and tried to compile gettext
>> in chapter 6.44 but got this error
>> /usr/lib/libncursesw.a: could not read symbols: Bad value
>> collect2: error: ld returned 1 exit status
>> make[4]: *** [libgettextlib.la] Error 1
>   This means that /usr/lib/libncursesw.so is broken.  Almost
> certainly, this is a broken symlink - we installed the library in
> /usr/lib and then moved it to /lib.
>
>>
>> what can i do?
>>
>   Use 'ls -l {/usr,}/lib/libncursesw.so*'
> to see which symlink(s) are missing or dangling.
>
>   You ought to see that /lib/libncursesw.so.5 symlinks to
> libncursesw.so.5.9, and that /usr/lib/libncursesw.so symlinks to
> ../../lib/libncursesw.so.5 : i.e. the link from .so in /usr/lib goes
> via /lib/libncursesw.so.5 to /lib/libncursesw.so.5.9
>
>   I'm guessing that the link in /usr/lib is broken.  Please take
> another look at the many instructions in section 6.21.1 - either you
> missed the instruction, or you mistyped it.
>
> ĸen
Yes it was right. i missed some of the instructions. I created the 
symlink from /usr/lib/libncursesw.so.5 to ../../lib/libncursesw.so.5. 
Thanks for your help.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to