Changeset 316 in flair-src for trunk/scripts


Ignore:
Timestamp:
Apr 9, 2019, 8:14:16 PM (6 years ago)
Author:
Bayard Gildas
Message:

multiple libraries problem with ldconfig -> grep libc6,x86_64 added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/distribution_specific_hack.sh

    r302 r316  
    5353        check_required_lib_ver $DRIVER_LIB GLIBC libm.so.6
    5454        if [ "$?" = "1" ]; then
    55                    ADDED_LIBS=$(ldconfig -p | grep libm.so.6 | cut -d'>' -f2)
     55                   ADDED_LIBS=$(ldconfig -p | grep libm.so.6 | grep libc6,x86-64 | cut -d'>' -f2)
    5656            fi
    5757
    5858        check_required_lib_ver $DRIVER_LIB CXXABI libstdc++.so.6
    5959        if [ "$?" = "1" ]; then
    60                    ADDED_LIBS="$ADDED_LIBS:$(ldconfig -p | grep libstdc++.so.6 | cut -d'>' -f2)"
     60                   ADDED_LIBS="$ADDED_LIBS:$(ldconfig -p | grep libstdc++.so.6 | grep libc6,x86-64 | cut -d'>' -f2)"
    6161            fi
    6262        #remove whitespace
Note: See TracChangeset for help on using the changeset viewer.