Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libjpeg #7

Open
ZYX0106 opened this issue Oct 14, 2019 · 8 comments
Open

libjpeg #7

ZYX0106 opened this issue Oct 14, 2019 · 8 comments

Comments

@ZYX0106
Copy link

ZYX0106 commented Oct 14, 2019

Which version of libjpeg have you used in this paper?

@HoracceFeng
Copy link

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?

@Zdafeng
Copy link

Zdafeng commented Mar 31, 2020

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?

@HoracceFeng
Copy link

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)

@Zdafeng
Copy link

Zdafeng commented Mar 31, 2020

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

@sketchplanet
Copy link

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.

@Jinhui-Qin
Copy link

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
Copy link

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.

@Tonyboy999
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants