how to find shared object files of a package which is installed by using sudo apt-get install command

StackOverflow https://stackoverflow.com/questions/20116784

문제

I installed a package in ubuntu 12.04 now I have to set the path to the shared object files of that package in g++ to compile my C++ project. I look at "/usr/local/lib" folder and do not find the so files of newly installed package. Please tell me how I could find it. Regards Mahdi

도움이 되었습니까?

해결책

You can use dpkg -L <package>

Fox example:

$ dpkg -L mc | grep mcdiff
/usr/bin/mcdiff
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top