One more: As far as I have understand starting with some gcc version 
gcc uses "--as-needed" option when calling linker.
As a result following line from file 
hypre-2.8.0b/debian/patches/shlibs-interlink.patch:
===========
+       ${BUILD_CC_SHARED} -o ${SONAME} ${LIBS_HYPRE} ${SOLIBS} 
${SHARED_SET_SONAME}${SONAME} ${SHARED_OPTIONS}
===========
create just empty library.

This line can be corrected by placing "-Wl,--no-as-needed" in it. For example:
=============
+       ${BUILD_CC_SHARED} -o ${SONAME} -Wl,--no-as-needed ${LIBS_HYPRE} 
${SOLIBS} ${SHARED_SET_SONAME}${SONAME} ${SHARED_OPTIONS}
============
However I think that previous solution with linker script is much more 
convenient.

Now the question is: do anybody read all these comments at all?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1192613

Title:
  libHYPRE.so is not linked to other libHYPRE* libs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/hypre/+bug/1192613/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to