[opensuse-factory] difference between OBS and local Factory
Suitesparce library can't find symbols in OBS build [1] but locally on installed Factory everything is fine. What can cause this situation? [1] https://build.opensuse.org/package/show/home:Dmitry_R:WIP/fake -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Saturday 2014-06-21 08:38, Dmitry Roshchin wrote:
Suitesparce library can't find symbols in OBS build [1] but locally on installed Factory everything is fine. What can cause this situation?
[1] https://build.opensuse.org/package/show/home:Dmitry_R:WIP/fake
(*)Your conftest.c should preferably be linkable with only gcc conftest.c -lumfpack But it's not, because libumfpack.so lacks references to other libraries. The same problem is with other libraries from suitesparse. You must specify _all_ libraries, and in _the proper order_ (possibly _repeatedly_) to resolve said undefined references. But that is going to get ugly, which is why (*) should be done instead. One way to ensure that suitesparse is built right is to place -Wl,--no-undefined on the linker line when building suitesparse. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
El 21/06/14 02:38, Dmitry Roshchin escribió:
Suitesparce library can't find symbols in OBS build [1] but locally on installed Factory everything is fine. What can cause this situation?
[1] https://build.opensuse.org/package/show/home:Dmitry_R:WIP/fake
libcholmod.so is borked.. you have to fix the package that contains it first. It fails in the OBS because -Wl,--no-copy-dt-needed-entries and -Wl,--as-needed are defaults there..(otherwise we would end in/return-to a gigantic dependency mess) -- Cristian "I don't know the key to success, but the key to failure is trying to please everybody." -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
Cristian Rodríguez
-
Dmitry Roshchin
-
Jan Engelhardt