I was just installing Linux-PAM when I noticed. Flex symlink libfl.so is wrong. And because flex is being used by Linux-PAM, which should work without /usr, Flex libraries should also reside an /lib if we don't want the static ones...
Index: chapter06/flex.xml
===================================================================
--- chapter06/flex.xml  (revision 1052)
+++ chapter06/flex.xml  (working copy)
@@ -56,8 +56,9 @@
 <screen role="aslr"><userinput>gcc -shared -Wl,-soname,libfl.so.&flex-version; 
\
     -o libfl.so.&flex-version; -fPIC libmain.o libyywrap.o
 rm -v /usr/lib/libfl.a
-install -v libfl.so.&flex-version; /usr/lib/libfl.so.&flex-version;
-ln -vs &flex-version; /usr/lib/libfl.so</userinput></screen>
+install -v libfl.so.&flex-version; /lib/libfl.so.&flex-version;
+ln -vs libfl.so.&flex-version; /lib/libfl.so
+ln -vs ../../lib/libfl.so /usr/lib/libfl.so</userinput></screen>
 
     <para role="aslr">There are some packages that expect to find the
     <filename class="libraryfile">lex</filename> library in <filename
-- 
http://linuxfromscratch.org/mailman/listinfo/hlfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to