StarCraft II Forum

This is a community forum and not official technical support. — If you need official support: Contact Us

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread

libjpeg problem.

I'm running on ArchLinux 64, and...

On my install I have a package named lib32-libjpeg-turbo. It installs a file named libjpeg.so.8 in /usr/lib32/, but the SC2 installer calls libjpeg.so.62. I can, and did, install libjpeg6 (32 bit too), and now the installer runs.

The real question is if there is a way to force the use of the more current library libjpeg.so.8? I don't really like having a library that I shouldn't actually need as both libjpeg.so.8 and libjpeg.so.62 are basically the same stuff. And why does the thing insist on a specific version of a library? Shouldn't it be *.6 and up? Why can't it just use my libjpeg.so.8?

Anyone knows of a trick? (Symbolic links don't work)

I suggest you open a bug report with codeweavers. Posting a library problem here won't necessarily be visible to the codeweavers developers.

J-P Simard wrote:

I'm running on ArchLinux 64, and...

On my install I have a package named lib32-libjpeg-turbo. It
installs a file named libjpeg.so.8 in /usr/lib32/, but the SC2
installer calls libjpeg.so.62. I can, and did, install libjpeg6 (32
bit too), and now the installer runs.

The real question is if there is a way to force the use of the more
current library libjpeg.so.8? I don't really like having a library
that I shouldn't actually need as both libjpeg.so.8 and
libjpeg.so.62 are basically the same stuff. And why does the thing
insist on a specific version of a library? Shouldn't it be *.6 and
up? Why can't it just use my libjpeg.so.8?

Anyone knows of a trick? (Symbolic links don't work)

...this is largely inconsequential ; libjpeg.so.62 is only about 500k,
and it matters not that you have more than 1 libjpeg.so available ; binaries
that want it, will call it, binaries that want libjpeg.so.8 will call that
version instead..{shrug}... it's neither here nor there...

..likewise, SC wouldn't have called it ; some winelib probably called it
as a consequence of SC hooking in a builtin .dll.so ..

..it should not be *.6 and up ... library API's change ....

..libjpeg.so.8 -should- be backwards compatible with libjpeg.so.62 however,
but I haven't checked it. Symlinking will not work, as the cxwine build
links against specific library versions...(at compile time)...

..there is no 'trick' to be had here, just the same old same old - grab
the crossover sources, hack the wine tree so it makes use of/compiles
against the libjpeg-8.0 headers/libraries, build it, install it, see if
libjpeg.so.8 really -is- backwards compatible to libjpeg.so.62 ....

.

libjpeg-turbo is actually a different project than libjpeg. I think they make an effort to maintain compatibility with libjpeg, but that compatibility may not be perfect, and some of the optimizations they use may cause problems in certain use cases on your computer. It may be the case that libjpeg.so.8 as provided by the libjpeg project would work fine for you.

http://www.libjpeg-turbo.org/About/FUD

Again, as they describe in the link above, they do make an effort to maintain compatibility with the project from which they are forked, so this might be a good bug to ask the libjpeg-turbo people about.

Well, everything does run fine with both libraries, so I don't have much of an objection to having both on the system. The thing is, I believe Ubuntu 12.04 will also be using the libjpeg-turbo (leading to a libjpeg.so.8 library) from what I have seen, and so might other distros. Should I still open a bug report?

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzMxNDM1MjAzLCJjc3JmX3Rva2VuIjoiYVdxekJwNktMVDJmV0ZIUCIsImdkcHIiOjB9