Hi Ken,

Sorry for bothering you. I found out that the symlink was broken from
/lib/libz.so.1.2.8 to /usr/lib/libz.so

Sorry!

Douglas Reno


On Mon, Jan 6, 2014 at 4:56 PM, Ken Moffat <[email protected]> wrote:

> On Mon, Jan 06, 2014 at 04:09:25PM -0600, Douglas R. Reno wrote:
> > Hello,
> >
> > LFS Version: 7.3
> > BLFS Version: 7.4 Stable
> > Brief Hardware Description: 256mb RAM, Intel Pentium III 800Mhz (Dell
> > Latitude C800)
> >
> > I am having issues compiling Cmake. No special environmental variables or
> > anything. Running a by-the-book install. I get the following error:
> >
> >
> > [ 93% ] Building CXX object
> > Source/CMakeFiles/ccmake.dir/CursesDialog/ccmake.cxx.o
> > make[2]: *** No rule to make target '/usr/lib/libz.so', needed by
> > 'bin/ccmake'.
> > Stop.
>
>  Seems fairly obvious - it apparently wants to link to libz.so but
> cannot find it in /usr/lib.  Probably it found the headers in /usr
> and was satisfied with those, or maybe it tested that libz existed
> by using -lz and linked to the static libz.a.
>
>  Probably you did something wrong when installing zlib in LFS : we
> move the .so.1 and .so.1.2.x [ 1.2.7 in LFS-7.3 ] to /lib, and make
> /usr/lib/libz.so as a symlink to 1.2.x.  I guess you moved the
> libraries but perhaps created a broken symlink, e.g. to ../../lib/
> i.e. to the non-existent ../../lib/libz.so instead of to the fully
> versioned solib.
>
>  'file /usr/lib/lib/libz.so' and 'ls -l {,/usr}/lib/libz.*' might
> show you the details.
>
> ĸen
> --
> das eine Mal als Tragödie, dieses Mal als Farce
> --
> http://linuxfromscratch.org/mailman/listinfo/blfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to