Armin K. wrote:
> On 12/13/2013 06:56 PM, Bruce Dubbs wrote:
>> xinglp wrote:
>>> diff -Naurz BOOK.0/chapter06/kmod.xml BOOK/chapter06/kmod.xml
>>> --- BOOK.0/chapter06/kmod.xml
>>> +++ BOOK/chapter06/kmod.xml
>>> @@ -95,7 +95,9 @@
>>>        <para> Make sure that all libraries are in the correct directory: 
>>> </para>
>>>
>>>    <screen><userinput remap="install">mv -v /usr/lib/libkmod.so.* /lib
>>> -ln -svf ../../lib/libkmod.so.2.2.5 /usr/lib/libkmod.so</userinput></screen>
>>> +pushd /usr/lib/
>>> +ln -svf ../../lib/libkmod.so.*.* libkmod.so
>>> +popd</userinput></screen>
>>
>> This could be a problem if the users is doing an upgrade in place and
>> libkmod.so.*.* matches more than one file.

> May I suggest using $(readlink ..) method for creating symlinks in
> procps-ng [1] and official method for creating symlinks for kmod [2]?
>
>
> [1] http://www.linuxfromscratch.org/blfs/view/svn/general/pcre.html
> (scroll down to install section)
> [2] http://www.linuxfromscratch.org/lfs/view/systemd/chapter06/kmod.html

I like the pcre solution.  I'll fix that up in a bit.  There are 
actually several places it's needed: kmod, procps-ng, zlib, and xz.

We also might want to look at readline and ncurses.

Thanks.

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

Reply via email to