#1053 alberta.m4 does not find library in lib64
Metadata
Property | Value |
---|---|
Reported by | Christoph Grüninger (gruenich@iws.uni-stuttgart.de) |
Reported at | Mar 18, 2012 22:21 |
Type | Bug Report |
Version | Git (pre2.4) [autotools] |
Operating System | Linux 64bit |
Last edited by | Christian Engwer (christi@conan.iwr.uni-heidelberg.de) |
Last edited at | Apr 29, 2012 20:16 |
Closed by | Christian Engwer (christi@conan.iwr.uni-heidelberg.de) |
Closed at | Apr 29, 2012 20:16 |
Closed in version | 2.2 |
Resolution | Fixed |
Comment |
Description
I compiled Alberta, installed it with prefix in a directory and it was not be found by dune-grid. The test alberta.m4 checked prefix/lib but on my system it was installed in prefix/lib64. A symbolic link lib->lib64 did the trick.
This is hard coded in alberta.m4:
ALBERTA_LIBPATHFLAGS='-L$(ALBERTAROOT)/lib'
DUNEALBERTA_LIBPATHFLAGS='-L$(top_builddir)/lib'
LDFLAGS="LDFLAGS -L
ALBERTAROOT/lib"
There is a AC_CACHE_CHECK after the definition which complicates this task a bit.