Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-2171

make uninstall leaves cmake & static symlink files behind

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.7.0
    • Affects Version/s: 1.7.0
    • Component/s: None
    • None

       bjori@TaylorSwift  ~/Sources/libbson   master  find /usr/local/lib/ -name \*bson\*                                                    
       bjori@TaylorSwift  ~/Sources/libbson   master  sudo make install                                                                      
      make[1]: Entering directory '/home/bjori/Sources/libbson'
       /bin/mkdir -p '/usr/local/lib'
       /bin/bash ./libtool   --mode=install /usr/bin/install -c   libbson-1.0.la '/usr/local/lib'
      libtool: install: /usr/bin/install -c .libs/libbson-1.0.so.0.0.0 /usr/local/lib/libbson-1.0.so.0.0.0
      libtool: install: (cd /usr/local/lib && { ln -s -f libbson-1.0.so.0.0.0 libbson-1.0.so.0 || { rm -f libbson-1.0.so.0 && ln -s libbson-1.0.so.0.0.0 libbson-1.0.so.0; }; })
      libtool: install: (cd /usr/local/lib && { ln -s -f libbson-1.0.so.0.0.0 libbson-1.0.so || { rm -f libbson-1.0.so && ln -s libbson-1.0.so.0.0.0 libbson-1.0.so; }; })
      libtool: install: /usr/bin/install -c .libs/libbson-1.0.lai /usr/local/lib/libbson-1.0.la
      libtool: install: /usr/bin/install -c .libs/libbson-1.0.a /usr/local/lib/libbson-1.0.a
      libtool: install: chmod 644 /usr/local/lib/libbson-1.0.a
      libtool: install: ranlib /usr/local/lib/libbson-1.0.a
      libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/local/lib
      ----------------------------------------------------------------------
      Libraries have been installed in:
         /usr/local/lib
      
      If you ever happen to want to link against installed libraries
      in a given directory, LIBDIR, you must either use libtool, and
      specify the full pathname of the library, or use the '-LLIBDIR'
      flag during linking and do at least one of the following:
         - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
           during execution
         - add LIBDIR to the 'LD_RUN_PATH' environment variable
           during linking
         - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
         - have your system administrator add LIBDIR to '/etc/ld.so.conf'
      
      See any operating system documentation about shared libraries for
      more information, such as the ld(1) and ld.so(8) manual pages.
      ----------------------------------------------------------------------
      make  install-exec-hook
      make[2]: Entering directory '/home/bjori/Sources/libbson'
      /bin/mkdir -p /usr/local/lib/cmake/libbson-1.0
      cp -f build/cmake/libbson-1.0-config.cmake /usr/local/lib/cmake/libbson-1.0
      cp -f build/cmake/libbson-1.0-config-version.cmake /usr/local/lib/cmake/libbson-1.0
      if [ ! -z "1" ]; then                                                                  \
        rm -rf /usr/local/lib/cmake/libbson-static-1.0;                                                \
        /bin/mkdir -p /usr/local/lib/cmake/libbson-static-1.0;                                            \
        cd /usr/local/lib;                                                                             \
        rm -f libbson-static-1.0.a;                                                                         \
        ln -s libbson-1.0.a libbson-static-1.0.a;                                                         \
        cp -f /home/bjori/Sources/libbson/build/cmake/libbson-static-1.0-config.cmake cmake/libbson-static-1.0;         \
        cp -f /home/bjori/Sources/libbson/build/cmake/libbson-static-1.0-config-version.cmake cmake/libbson-static-1.0; \
      fi
      make[2]: Leaving directory '/home/bjori/Sources/libbson'
       /bin/mkdir -p '/usr/local/share/doc/libbson'
       /usr/bin/install -c -m 644 COPYING NEWS README THIRD_PARTY_NOTICES '/usr/local/share/doc/libbson'
       /bin/mkdir -p '/usr/local/include/libbson-1.0'
       /usr/bin/install -c -m 644 src/bson/bcon.h src/bson/bson.h src/bson/bson-atomic.h src/bson/bson-clock.h src/bson/bson-compat.h src/bson/bson-context.h src/bson/bson-decimal128.h src/bson/bson-endian.h src/bson/bson-error.h src/bson/bson-iter.h src/bson/bson-json.h src/bson/bson-keys.h src/bson/bson-macros.h src/bson/bson-md5.h src/bson/bson-memory.h src/bson/bson-oid.h src/bson/bson-reader.h src/bson/bson-string.h src/bson/bson-types.h src/bson/bson-utf8.h src/bson/bson-value.h src/bson/bson-version.h src/bson/bson-version-functions.h src/bson/bson-writer.h src/bson/bson-stdint.h src/bson/bson-config.h '/usr/local/include/libbson-1.0'
       /bin/mkdir -p '/usr/local/lib/pkgconfig'
       /usr/bin/install -c -m 644 ./src/libbson-1.0.pc ./src/libbson-static-1.0.pc '/usr/local/lib/pkgconfig'
      make[1]: Leaving directory '/home/bjori/Sources/libbson'
       bjori@TaylorSwift  ~/Sources/libbson   master  sudo make uninstall
       ( cd '/usr/local/share/doc/libbson' && rm -f COPYING NEWS README THIRD_PARTY_NOTICES )
       ( cd '/usr/local/include/libbson-1.0' && rm -f bcon.h bson.h bson-atomic.h bson-clock.h bson-compat.h bson-context.h bson-decimal128.h bson-endian.h bson-error.h bson-iter.h bson-json.h bson-keys.h bson-macros.h bson-md5.h bson-memory.h bson-oid.h bson-reader.h bson-string.h bson-types.h bson-utf8.h bson-value.h bson-version.h bson-version-functions.h bson-writer.h bson-stdint.h bson-config.h )
       /bin/bash ./libtool   --mode=uninstall rm -f '/usr/local/lib/libbson-1.0.la'
      libtool: uninstall: rm -f /usr/local/lib/libbson-1.0.la /usr/local/lib/libbson-1.0.so.0.0.0 /usr/local/lib/libbson-1.0.so.0 /usr/local/lib/libbson-1.0.so /usr/local/lib/libbson-1.0.a
      rmdir /usr/local/share/doc/libbson/doc /usr/local/share/doc/libbson/html
      rmdir: failed to remove '/usr/local/share/doc/libbson/doc': No such file or directory
      rmdir: failed to remove '/usr/local/share/doc/libbson/html': No such file or directory
      Makefile:2444: recipe for target 'uninstall-local' failed
      make: [uninstall-local] Error 1 (ignored)
      rm -r /usr/local/share/doc/libbson
      rm -rf /usr/local/lib/cmake/libbson-1.0
      rm -rf /usr/local/lib/cmake/libbson-1.0-static
       ( cd '/usr/local/lib/pkgconfig' && rm -f libbson-1.0.pc libbson-static-1.0.pc )
       bjori@TaylorSwift  ~/Sources/libbson   master  find /usr/local/lib/ -name \*bson\*
      /usr/local/lib/cmake/libbson-static-1.0
      /usr/local/lib/cmake/libbson-static-1.0/libbson-static-1.0-config.cmake
      /usr/local/lib/cmake/libbson-static-1.0/libbson-static-1.0-config-version.cmake
      /usr/local/lib/libbson-static-1.0.a
      

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: