bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ncurses-5.5 misc/shlib bug?


From: Thomas Dickey
Subject: Re: ncurses-5.5 misc/shlib bug?
Date: Thu, 11 Jan 2007 19:19:15 -0500 (EST)

On Thu, 11 Jan 2007, Paul Novak wrote:

I'm building my first Linux From Scratch system.
I'm build the packages as login root with /root as the base,
and using DESTDIR=/install for package management reasons.
Because I'm building from scratch, I do not (yet) have
a /lib/libncursesw.so.5 library installed: it will be installed
when ncurses is installed.

For ncurses 5.5, the tarball is unpacked into /root/ncurses-5.5.
It compiles fine, but when I try to install it
(running "make DESTDIR=/install install" while in the
/root/ncurses-5.5 directory), I get this error:

   tic: error while loading shared libraries: libncursesw.so.5: cannot open 
shared object file: No such file or directory

ok... (and the only reason for shlib there is that tic's usually built
without rpath ;-)

I think there should be a 'break' after the first valid lib directory is found,
like this:

   q=`cd $p; pwd` && break

But I'm not sure what the possible ramifications are, I'm just reporting
possible problem.

thanks - I see (will see what a good fix is). I haven't changed that script since mid-2005...

This problem wouldn't occur if I were building in a lower directory (eg, root/build). But it still seems like a problem with the shlib script. I should be able to build in /root if I want to, shouldn't I?

You should - I don't recall anyone trying. Usually it's a level or two down at least.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

[Prev in Thread] Current Thread [Next in Thread]