jpeg2dct icon indicating copy to clipboard operation
jpeg2dct copied to clipboard

libjpeg

Open ZYX0106 opened this issue 5 years ago • 8 comments

Which version of libjpeg have you used in this paper?

ZYX0106 avatar Oct 14 '19 01:10 ZYX0106

Hi @ZYX0106 @uber-research, I am also facing the libjpeg version issue right now? My error msg is 'Wrong JPEG library version: library is 90, caller expect 62'. But actually I have installed the version62 and have the 'libjpeg.so.62'.

Anyone can help me?

HoracceFeng avatar Mar 23 '20 11:03 HoracceFeng

Hi @ZYX0106 @uber-research, I am also facing the libjpeg version issue right now? My error msg is 'Wrong JPEG library version: library is 90, caller expect 62'. But actually I have installed the version62 and have the 'libjpeg.so.62'.

Anyone can help me?

Have you solved it?

Zdafeng avatar Mar 31 '20 03:03 Zdafeng

Yes. To solve this problem, you should make sure you have correctly linked the libjpeg.62.so before you install jpeg2dct.

In my case, I install libjpeg62 under /usr/local/lib. But I find out that in the pip rootdir, I have the libjpeg90, so when I run the pip install jpeg2dct, the compiler will search pip rootdir first and linked the libjpeg90 but not libjpeg62.

It is easy to check if you have this problem. Just find out the .so file of jpeg2dct.common and use ldd to check the dependencies.

If you have the same issue like me, the easiest way to fix this is to rename the libjpeg90, then pip install jpeg2dct, after that, you can change the name back to libjpeg90. (I suggest you to do so, because pil and cv2 will use the libjpeg90)

HoracceFeng avatar Mar 31 '20 04:03 HoracceFeng

Yes. To solve this problem, you should make sure you have correctly linked the libjpeg.62.so before you install jpeg2dct.

In my case, I install libjpeg62 under /usr/local/lib. But I find out that in the pip rootdir, I have the libjpeg90, so when I run the pip install jpeg2dct, the compiler will search pip rootdir first and linked the libjpeg90 but not libjpeg62.

It is easy to check if you have this problem. Just find out the .so file of jpeg2dct.common and use ldd to check the dependencies.

If you have the same issue like me, the easiest way to fix this is to rename the libjpeg90, then pip install jpeg2dct, after that, you can change the name back to libjpeg90. (I suggest you to do so, because pil and cv2 will use the libjpeg90)

Best

Zdafeng avatar Mar 31 '20 08:03 Zdafeng

Yes. To solve this problem, you should make sure you have correctly linked the libjpeg.62.so before you install jpeg2dct.

In my case, I install libjpeg62 under /usr/local/lib. But I find out that in the pip rootdir, I have the libjpeg90, so when I run the pip install jpeg2dct, the compiler will search pip rootdir first and linked the libjpeg90 but not libjpeg62.

It is easy to check if you have this problem. Just find out the .so file of jpeg2dct.common and use ldd to check the dependencies.

If you have the same issue like me, the easiest way to fix this is to rename the libjpeg90, then pip install jpeg2dct, after that, you can change the name back to libjpeg90. (I suggest you to do so, because pil and cv2 will use the libjpeg90)

Hello when i rename the libjpeg.so.9 then pip install the jpeg2dct I encounter the error that OSError:libjpeg.so.9 cannot open shared object file.

sketchplanet avatar May 11 '20 15:05 sketchplanet

Yes. To solve this problem, you should make sure you have correctly linked the libjpeg.62.so before you install jpeg2dct. In my case, I install libjpeg62 under /usr/local/lib. But I find out that in the pip rootdir, I have the libjpeg90, so when I run the pip install jpeg2dct, the compiler will search pip rootdir first and linked the libjpeg90 but not libjpeg62. It is easy to check if you have this problem. Just find out the .so file of jpeg2dct.common and use ldd to check the dependencies. If you have the same issue like me, the easiest way to fix this is to rename the libjpeg90, then pip install jpeg2dct, after that, you can change the name back to libjpeg90. (I suggest you to do so, because pil and cv2 will use the libjpeg90)

Hello when i rename the libjpeg.so.9 then pip install the jpeg2dct I encounter the error that OSError:libjpeg.so.9 cannot open shared object file.

Hi,I also get this issue, have you fixed it? please help me

Jinhui-Qin avatar May 15 '20 11:05 Jinhui-Qin

Yes. To solve this problem, you should make sure you have correctly linked the libjpeg.62.so before you install jpeg2dct. In my case, I install libjpeg62 under /usr/local/lib. But I find out that in the pip rootdir, I have the libjpeg90, so when I run the pip install jpeg2dct, the compiler will search pip rootdir first and linked the libjpeg90 but not libjpeg62. It is easy to check if you have this problem. Just find out the .so file of jpeg2dct.common and use ldd to check the dependencies. If you have the same issue like me, the easiest way to fix this is to rename the libjpeg90, then pip install jpeg2dct, after that, you can change the name back to libjpeg90. (I suggest you to do so, because pil and cv2 will use the libjpeg90)

Hello when i rename the libjpeg.so.9 then pip install the jpeg2dct I encounter the error that OSError:libjpeg.so.9 cannot open shared object file.

Hi, I install jpeg2dct from sources and make it. First, I find the location jpeg90' installing, then install jpeg62 into the same location and uninstall jpeg2dct, finally install jpeg2dct from sources.

Jinhui-Qin avatar May 16 '20 06:05 Jinhui-Qin

Yes. To solve this problem, you should make sure you have correctly linked the libjpeg.62.so before you install jpeg2dct.

In my case, I install libjpeg62 under /usr/local/lib. But I find out that in the pip rootdir, I have the libjpeg90, so when I run the pip install jpeg2dct, the compiler will search pip rootdir first and linked the libjpeg90 but not libjpeg62.

It is easy to check if you have this problem. Just find out the .so file of jpeg2dct.common and use ldd to check the dependencies.

If you have the same issue like me, the easiest way to fix this is to rename the libjpeg90, then pip install jpeg2dct, after that, you can change the name back to libjpeg90. (I suggest you to do so, because pil and cv2 will use the libjpeg90)

Would you describe rename libjpeg90 in detail? I don't know what this means

Tonyboy999 avatar Feb 04 '21 08:02 Tonyboy999