[OpenIndiana-discuss] gcc-7 and /usr/gcc/7/lib

Marcel Telka marcel at telka.sk
Sat Mar 22 22:37:07 UTC 2025


On Sat, Mar 22, 2025 at 10:50:22AM +0000, russell wrote:
> Is there a quick way to see if these files /usr/gcc/7/lib are required, are
> binaries dependant on these files? Is it safe to remove these files?

Are you looking for something like this?

# pkg search /usr/gcc/7/lib/libstdc++.so.6.0.24
INDEX      ACTION VALUE                             PACKAGE
path       file   usr/gcc/7/lib/libstdc++.so.6.0.24 pkg:/system/library/g++-7-runtime at 7.5.0-2024.0.0.10
# pkg uninstall pkg:/system/library/g++-7-runtime
Creating Plan (Solver setup): -
pkg uninstall: Unable to remove 'system/library/g++-7-runtime at 7.5.0-2024.0.0.10' due to the following packages that depend on it:
  audio/audacity at 2.3.2-2022.0.0.1
  desktop/remote-desktop/tigervnc at 1.8.0-2022.0.0.7
  developer/documentation-tool/openjade at 1.3.2-2023.0.0.6
  developer/gcc-7 at 7.5.0-2024.0.0.10
  emulators/fs-uae at 3.1.66-2022.0.0.0
  games/openttd/openttd-core at 1.9.3-2020.0.1.0
  library/ruby/augeas at 0.5.0-2020.0.1.2
  system/virtualization/open-vm-tools-desktop at 11.0.5-2020.0.1.1
  x11/server/xvnc at 1.8.0-2022.0.0.7
#

-- 
+-------------------------------------------+
| Marcel Telka   e-mail:   marcel at telka.sk  |
|                homepage: http://telka.sk/ |
+-------------------------------------------+



More information about the openindiana-discuss mailing list