hreinecke / sg3_utils

Deprecated git-svn mirror for sg3_utils
http://sg.danny.cz/sg/sg3_utils.html
Other
155 stars 91 forks source link

Error while loading shared libraries: libsgutils2 #81

Closed turboboost55 closed 2 years ago

turboboost55 commented 2 years ago

I'm trying to build sg3_utils on my Raspberry Pi 4, with the Raspberry Pi OS (64bit). I cloned the repo, ran the usual ./configure, make, sudo make install, but every time I try to run one of the utilities I get the error sg_xxx: error while loading shared libraries: libsgutils2-1.47.so.2: cannot open shared object file: No such file or directory

I see various references to ligsgutils2 in the documentation, but I'm not sure if I need to build it, and if so, how? Any help would be appreciated.

turboboost55 commented 2 years ago

I managed to get it working by using the command sudo /sbin/ldconfig -v. Maybe a mention of it in the documentation would be good, no?