You are not logged in.

#1 2014-08-21 13:40:07

silverhammermba
Wiki Maintainer
Registered: 2011-04-14
Posts: 156

[SOLVED] Library links to a different version than it builds with

These are issues with AUR packages, but I think this has more to do with compiling than packaging which is why I'm asking here.

mingw-w64-sfml depends on mingw-w64-libjpeg-turbo, which provides libjpeg-8.dll. Everything builds fine, but for some reason the SFML DLLs depend on the wrong version!

$ x86_64-w64-mingw32-objdump -x /usr/x86_64-w64-mingw32/bin/sfml-graphics-2.dll | grep 'libjpeg.*\.dll'
        DLL Name: libjpeg-62.dll

Everything works if I just symlink libjpeg-62 to libjpeg-8, so the issue is really just the version number. What is going wrong? Is the issue with SFML or libjpeg-turbo?

Last edited by silverhammermba (2014-08-22 04:37:48)

Offline

#2 2014-08-22 04:37:38

silverhammermba
Wiki Maintainer
Registered: 2011-04-14
Posts: 156

Re: [SOLVED] Library links to a different version than it builds with

I figured it out. I got lazy waiting for stuff to compile, so I installed the binaries from the unofficial mingw-w64 repo. I guess they have an older libjpeg version! Rebuilding all the AUR packages myself fixed it.

Offline

Board footer

Powered by FluxBB