Re: Help in removing Oprofile

William Cohen <[email protected]>
Newsgroups gmane.linux.oprofile
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.