Re: [lfs-dev] Very minor issue with bzip2 instructions

2020-08-23 Thread DJ Lucas via lfs-dev


On 8/23/2020 4:24 PM, Bruce Dubbs via lfs-dev wrote:

On 8/23/20 3:44 PM, DJ Lucas via lfs-dev wrote:
/lib/libbz2.so.1.0 is not a symlink but a hard link. In the grand 
scheme of things, it doesn't matter, any real difference (again, 
super minor) only shows up when packaging.


Suggest changing the following:

cp -av libbz2.so* /lib
ln -sv ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so

to

cp -av libbz2.so.1.0.8 /lib
ln -sv libbz2.so.1.0.8 /lib/libbz2.so.1.0
ln -sv ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so


Is this the wrong list?  bzip2 is in LFS.

Showed up in the correct list on my system, perhaps your filters picked 
up my dedicated email address?

In any case I have:

lrwxrwxrwx 1 root root    15 Aug 14 14:20 /lib/libbz2.so.1.0 -> 
libbz2.so.1.0.8

-rwxrwxr-x 1 root root 75056 Aug 14 18:27 /lib/libbz2.so.1.0.8

$ ll /usr/lib/libbz*
lrwxrwxrwx 1 root root 23 Aug 14 14:20 /usr/lib/libbz2.so -> 
../../lib/libbz2.so.1.0


I don't see a hard link.

But interesting, just doing a manual install it is indeed a symlink. I'm 
not sure what is causing this, but it is clearly a local issue, one for 
which I've had a workaround in place since at least 1.0.6 (and tried to 
remove today seeing the book did not have it). I'll need to look into it 
further. Regardless, the book is fine, it seems.


pkguser@lfsdt2 [ ~/Main/bzip2/bzip2-1.0.8/dest ]$ ls -li lib/
total 284
16122700 lrwxrwxrwx 1 pkguser pkguser 15 Aug 23 17:05 libbz2.so.1.0 
-> libbz2.so.1.0.8

16122701 -rwxr-xr-x 1 pkguser pkguser 286840 Aug 23 17:05 libbz2.so.1.0.8

My apologies for the noise and jumping to conclusions. I'll check it out 
on my next pass.


--DJ


--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Re: [lfs-dev] Very minor issue with bzip2 instructions

2020-08-23 Thread Bruce Dubbs via lfs-dev

On 8/23/20 3:44 PM, DJ Lucas via lfs-dev wrote:
/lib/libbz2.so.1.0 is not a symlink but a hard link. In the grand scheme 
of things, it doesn't matter, any real difference (again, super minor) 
only shows up when packaging.


Suggest changing the following:

cp -av libbz2.so* /lib
ln -sv ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so

to

cp -av libbz2.so.1.0.8 /lib
ln -sv libbz2.so.1.0.8 /lib/libbz2.so.1.0
ln -sv ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so


Is this the wrong list?  bzip2 is in LFS.

In any case I have:

lrwxrwxrwx 1 root root15 Aug 14 14:20 /lib/libbz2.so.1.0 -> 
libbz2.so.1.0.8

-rwxrwxr-x 1 root root 75056 Aug 14 18:27 /lib/libbz2.so.1.0.8

$ ll /usr/lib/libbz*
lrwxrwxrwx 1 root root 23 Aug 14 14:20 /usr/lib/libbz2.so -> 
../../lib/libbz2.so.1.0


I don't see a hard link.

  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

[lfs-dev] Very minor issue with bzip2 instructions

2020-08-23 Thread DJ Lucas via lfs-dev
/lib/libbz2.so.1.0 is not a symlink but a hard link. In the grand scheme 
of things, it doesn't matter, any real difference (again, super minor) 
only shows up when packaging.


Suggest changing the following:

cp -av libbz2.so* /lib
ln -sv ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so

to

cp -av libbz2.so.1.0.8 /lib
ln -sv libbz2.so.1.0.8 /lib/libbz2.so.1.0
ln -sv ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so

--DJ

--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page