Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get LD_LIBRARY_PATH from shell environment to use in make environment #41

Closed
wants to merge 1 commit into from

Conversation

Bjoe
Copy link

@Bjoe Bjoe commented Aug 4, 2016

I need a way to set SET_LD_LIBRARY_PATH in make environment with LD_LIBRARY_PATH from shell environment because while it compiles, the bundle executable from BundleCreator is executed with the "SET_LD_LIBRARY_PATH" as LD_LIBRARY_PATH shell environment.

Problem example:
On an old Ubuntu 14.04 (trusty) machine I will use C++17. With the "default" installed compiler it is not possilbe to use C++17. I installed clang 3.8. Now there is support for C++17 but the GNU STD lib (libstdc++) is still old. So I installed libc++ (libcxx) from clang but in a special lib folder.
Now BundleCreator is compiling against libc++ and libc++ is also need at runtime. So I set the LD_LIBRARY_PATH shell environment but the build system ignore this environment.

I found the problem in platform/build/rules/global and I add a solution for me.

I do not know whether this approach is a good solution. Maybe somebody found a better solution.
Also I'm not sure whether the solution committed here in macchina or it is better to commit in the poco library.

Signed-off-by: Joerg-Christian Boehme <[email protected]>
@Bjoe Bjoe changed the title Get LD_LIBRARY_PATH from shell environment Get LD_LIBRARY_PATH from shell environment to use in make environment Aug 4, 2016
@aleks-f
Copy link
Member

aleks-f commented Nov 16, 2017

see #73

@aleks-f aleks-f closed this Nov 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants