Comments (3)
} Fixed by adding
} sudo ln -s /var/lib/libprofiler.so.0.0.0 /var/lib/libprofiler.so
Actually, it looks to me like we're doing the right thing already by
providing libprofiler.so.0 and libprofiler.so.0.0.0. This is what the
deb-packaging tool does; many packages provide just those two names.
To take a random example, when I do an ls /usr/lib on my Ubunbu
machine, I see
libcairo.so.2.2.4
libcairo.so.2@
but no libcairo.so.
I don't know much about shared library versioning, but this suggests
to me that the dl resolver should be able to find libprofiler.so.0,
and not need libprofiler.so. As another test, when I run ldd on a
binary I've linked with libprofiler, it talks about
"/usr/lib/libprofiler.so.0", not "/usr/lib/libprofiler.so".
I'll see if I can figure out more about shared library naming, but in
the meantime maybe you can look to see if there's something unique
about your system that may be accounting for this.
Can you add to the bug report the exact commands you ran, and the
exact output you got from g++?
Original comment by [email protected]
on 26 May 2007 at 11:00
from gperftools.
Usually .so files are provided by -devel packages (at least on my Fedora
distribution):
(#:~)- rpm -qf /usr/lib64/libk5crypto.so
krb5-devel-1.5-7
(#:~)- rpm -qf /usr/lib64/libk5crypto.so.3
krb5-libs-1.5-7
(#:~)- objdump -p /usr/lib64/libk5crypto.so.3.0 | grep SONAME
SONAME libk5crypto.so.3
Original comment by [email protected]
on 28 May 2007 at 5:05
from gperftools.
That's true, and we do have libprofile.so in our -devel package. That makes
sense --
if you're compiling an application using our libraries, then you should be
using the
-devel version of the library. The non-devel library is useful if you're
installing
another project that depends on, say libtcmalloc -- then that other library will
depend on the non-devel google-perftools package. If you're installing this
package
to work with it yourself, you'll probably need the -devel version.
Original comment by [email protected]
on 29 May 2007 at 4:18
- Changed state: Invalid
from gperftools.
Related Issues (20)
- Dead-lock in PatchAllModules on windows HOT 12
- ERROR - Installing the perftool with gcc 2.95 HOT 6
- using ./configure --disable-shared builds a broken .libs/libprofiler.a HOT 5
- malloc_extension_c.h header missing from installation HOT 4
- Callgrind output should not contain uninteresting frames HOT 4
- lwsync instruction doesn't exist on powerpc e500 core HOT 9
- Could not get the correct call graph after cpu profiling HOT 4
- realloc not very usable in C++ HOT 4
- Error In sbrk() Function Usage HOT 6
- All Files Dont Have Write Permission HOT 1
- Extraneous Check HOT 2
- Problem With munmap() HOT 6
- Patch Offering: Allow 'pprof' to save and restore symbol mappings HOT 23
- cpuprofiler doesn't catch stack frames on linux with gcc 4.1.2/x86 HOT 3
- Can't using tcmalloc with emacs and others HOT 4
- OSX doesn't have objdump, add otool support. HOT 4
- Google perftool crashing HOT 6
- Does tcmalloc use recursion? (Stack overflow with fragmented memory suspected) HOT 3
- Test failures on PPC (Fedora 11, Rawhide) HOT 7
- env HEAPCHECK=normal ./myapp just doesn't work on Linux
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gperftools.