Re: Help in removing Oprofile
William Cohen <[email protected]>
| Newsgroups | gmane.linux.oprofile |
|---|---|
| Message-ID | <[email protected]> |
On 02/01/2017 12:04 PM, Shiva M wrote: > Hi William, > > Thanks a ton for your response. I have found the cause of my issue, after adding -ldl to other packages, build went through fine. I tried doing make uninstall to give a try to uninstall Oprofile and re-install but its not working. I have deleted Oprofile package directory after building, I downloaded again and tried make uninstall but that not worked. > > Thanks, > Shiva Hi Shiva, How exactly did "make uninstall" no work? Keep in mind that oprofile needs to be configured for "make uninstall" to work. -Will > > On Tue, Jan 31, 2017 at 10:07 PM, William Cohen <[email protected] <mailto:[email protected]>> wrote: > > On 01/31/2017 05:58 AM, Shiva M wrote: > > Hi All, > > > > I have build Oprofile from source on my system. Oprofile is workng fine. I have not specified any installation directory while building Oprofile, it installed to default directories. > > > > > > We have one ts/ package which was building fine before. Atter installign Oprofile on my system, I see > > > > [0m/usr/bin/ld: ../libscul.a(scul_sslcompat.c.o): undefined reference to symbol 'dlsym@@GLIBC_2.2.5' > > > > /lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line > > > > collect2: ld returned 1 exit status > > > > make[2]: *** [source/scul/selftests/scul_asn1_test] Error 1 > > > > make[1]: *** [source/scul/selftests/CMakeFiles/scul_asn1_test.dir/all] Error 2 > > > > make: *** [all] Error 2 > > > > > > Any help would be appreciated. > > > > > > I want to remove Oprofile and re-install on specific install directory > > > > > > Thanks, > > > > Shiva > > > Hi Shiva, > > It is unlikely that oprofile is causing the build with the other package. Was there anything else changed in the sources or system? OProfile does install some additional librarys, but it is unlikely to significantly affect libraries for other things. If the software that is having this problem is in a git repository you might try to check out earlier versions and see if a specific patch is causing this problem. > > By default oprofile should install things in /usr/local/bin/ (o* commands), /usr/local/share/oprofile/, and /usr/local/lib/oprofile. If you still have the oprofile build directory that installed them, then you should as root be able to the following as root to remove the oprofile installed files: > > make uninstall > > -Will ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot