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

Cannot link libjulea.so against gettext #7

Closed
SpaceCafe opened this issue May 28, 2018 · 5 comments
Closed

Cannot link libjulea.so against gettext #7

SpaceCafe opened this issue May 28, 2018 · 5 comments
Assignees

Comments

@SpaceCafe
Copy link
Contributor

user@node:~/julea$ ./waf
Waf: Entering directory `/home/user/julea/build'
[24/95] Linking build/lib/libjulea.so
/usr/bin/ld: cannot find -lintl
/usr/bin/ld: cannot find -lintl
/usr/bin/ld: cannot find -lintl
collect2: error: ld returned 1 exit status

Waf: Leaving directory `/home/user/julea/build'
Build failed
 -> task in 'lib/julea' failed with exit status 1 (run with -v to display more information)

After adding spack library path manually to $LIBRARY_PATH it works. WAF link this file presumably against system libraries.

@michaelkuhn michaelkuhn self-assigned this Jun 4, 2018
michaelkuhn added a commit that referenced this issue Jun 4, 2018
@michaelkuhn
Copy link
Member

I have pushed a commit that should fix this. You now do ./waf.sh configure and ./waf.sh build instead of ./configure.sh and ./waf.

@SpaceCafe
Copy link
Contributor Author

Nope, that does not fixed that problem. Gettext is not installed on host system and I tried to put spack_load gettext and other methods to waf.sh, but that does not work well.

@michaelkuhn
Copy link
Member

Sorry, I can not reproduce your initial problem. Are you using waf.sh to build JULEA?

However, I have found a related problem when using benchmark.sh, environment.sh and test.sh, which should be fixed by commit bfe3a27.

@michaelkuhn michaelkuhn reopened this Sep 5, 2018
@SpaceCafe
Copy link
Contributor Author

SpaceCafe commented Sep 8, 2018

Are you using waf.sh to build JULEA?

Yes, I do.

Yesterday, @Saremox built it successfully on a clean minimal Ubuntu Xenial on different commit stages. Therefore, I assume that the cluster I used is misconfigured or something dirty is hidden in my caches.

Current workaround: Install and load gettext via spack on cluster before launching waf.sh.

@SpaceCafe
Copy link
Contributor Author

I tested it against c8ec5bb: looks fine for now, but sadly I cannot say what caused this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants