Comments (3)
Has nothing to do with LD_LIBRARY_PATH
and everything to do with the path that your pkg-config is searching for .pc files on. If you set PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
it'll probably work without any changes. I'd guess you can also change the default search path when building pkg-config to include where you're installing libraries, but I haven't bothered to try.
None of this is a problem with Bear in my opinion. This is covered in the pkg-config guide:
http://people.freedesktop.org/~dbn/pkg-config-guide.html
from bear.
Quite right -- setting PKG_CONFIG_PATH=/usr/local/lib/pkgconfig it all works fine out of the box.
Not sure why that setting needs to be changed, or how I was supposed to know that, but thanks.
from bear.
I've sent a pull request (issue #55) which mentions this in the README. This really is just a decision on the part of the pkg-config folks not to include /usr/local/lib/pkgconfig on their default search path. I don't know why they made that choice.
from bear.
Related Issues (20)
- compile asan, but the content of compile_commands.json is empty HOT 4
- makeopts ignored HOT 3
- can't install bear without sudo HOT 2
- has no member named ‘always_print_primitive_fields’ HOT 7
- How can I create the compile_commands.json for the Bear project? HOT 3
- Combining compile & link with Clang results in erroneous entry HOT 3
- Empty compilation database when compiling OpenBSD kernel HOT 2
- bear::func_test failed 7 tests (3.1.4) HOT 8
- [Build failed] ld cannot find stdc++fs: ld: undefined reference to std::filesystem HOT 4
- Question - how to capture built in compiler options HOT 1
- How to support emcc compiler? HOT 1
- bear 3.1.4 hangs when proxy is enabled in ubuntu 24.04 HOT 3
- I get the error: "ERROR: ld.so: object '/usr/$LIB/bear/libexec.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored." HOT 3
- Build2 compatibility HOT 5
- Cannot open /usr/local/bin/bear: No such file HOT 1
- Bear does not preserve single quotes in command line macro definitions HOT 2
- Build problem with fmtlib 11
- Bear doesn't seem to detect MinGW calls on macOS HOT 2
- LSP: Unsupported option '-m68000' for target x86_64-pc-linux-gnu HOT 3
- bear in WSL2 failed: wrapper: failed with: gRPC call failed: failed to connect to all addresses (solved) HOT 1
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 bear.