On July 24, 2016 6:03:20 PM CDT, Chris Staub <[email protected]> wrote: >On 07/23/2016 05:25 PM, Bruce Dubbs wrote: >> DJ Lucas wrote: >> >>> That symlink dates back to when 64bit Linux was first introduced to >>> LFS, and made a good deal of sense at the time. The toolchain used >to >>> be a PITA WRT changing the default lib search paths. Not so much >>> anymore. We should probably take a look at that on next release >cycle, >>> make sure lib is preferred, maybe even drop /lib64 completely, even >if >>> we don't kill the compatibility symlink (which I'd personally like >to >>> see go). >> >> I wouldn't mind seeing the /lib64 symliks go, but I'm not sure >packages >> would install properly. I think thy would just create the lib64 >> directories and lead to some files in /lib and others in /lib64 even >> though all the libraries are for 64-bit systems. This would need to >be >> tested. >> >> Note that we create similar symlinks in /opt/xorg. >> >> -- Bruce >> >For CLFS Pure64, we don't use the symlinks, and most packages install >just fine into {/usr,}/lib without trying to create a "lib64" >directory. >They usually don't try installing anything into "lib64" unless >specifically told to, so it mostly just depends on how GCC is built - >CLFS includes a "Pure64" patch for GCC which changes the path it uses >for the dynamic linker. I've built a working LFS system with the >changes >in the attached patch. Beyond a base system, the only issues I've seen >were with some packages that use cmake which need >"-DLIB_INSTALL_DIR=/usr/lib" or something similar on the cmake command, > >and clang, which (like GCC, as it is a compiler) needs to be edited to >link to /lib instead of /lib64.
Sounds good to me, only problem is LSB. Need to have /lib64, whether a symlink to /lib or with just a single file (or symlink). I just finished testing tools for an updated packaged build, and that is rebuilding itself now. I'm going to go ahead and adjust for this while updating the scripts for my bootstrap environment (basically LFS + BLFS to the rebuild of systemd), will report any issues, but don't expect many. -- DJ -- Sent from my Android device with K-9 Mail. Please excuse my brevity. -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
