Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Can't open JPG files - bad module?

  1. #11
    Join Date
    Aug 2011
    Location
    47°9′S 126°43W
    Beans
    2,172
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Can't open JPG files - bad module?

    Quote Originally Posted by MDguy View Post
    Okay, I downloaded libjpeg-8b from this site, and after installing it, I am getting this error:
    Attachment 199689
    It seems to have done something related to the problem, but still didn't repair it completely.
    Don't know why you download it from there.. this is part of your standard repository (package libjpeg62 on my 10.04).

    Installed files look like this (again, on my 10.04, if you have a different distro version you may have a different libjpeg version).

    Code:
    ll /usr/lib/libjpeg.*
    -rw-r--r-- 1 root root 165904 2010-03-12 15:22 /usr/lib/libjpeg.a
    -rw-r--r-- 1 root root    941 2010-03-12 15:22 /usr/lib/libjpeg.la
    lrwxrwxrwx 1 root root     17 2010-11-07 17:47 /usr/lib/libjpeg.so -> libjpeg.so.62.0.0
    lrwxrwxrwx 1 root root     17 2010-10-01 00:40 /usr/lib/libjpeg.so.62 -> libjpeg.so.62.0.0
    -rw-r--r-- 1 root root 128616 2010-03-12 15:22 /usr/lib/libjpeg.so.62.0.0
    So look for the files, and check if your links are still OK (in a Unix install, the *.so are usually links to specific versions (*.so.nn.nn.nn)

  2. #12
    Join Date
    Sep 2010
    Beans
    34

    Re: Can't open JPG files - bad module?

    My output looks fairly similar:
    Code:
    ll /usr/lib/libjpeg.*
    -rw-r--r-- 1 root root 1298934 2011-08-09 19:37 /usr/lib/libjpeg.a
    -rwxr-xr-x 1 root root     914 2011-08-09 19:37 /usr/lib/libjpeg.la*
    lrwxrwxrwx 1 root root      13 2011-08-09 19:37 /usr/lib/libjpeg.so -> libjpeg.so.62
    -rw-r--r-- 1 root root   38212 2011-07-27 17:36 /usr/lib/libjpeg.so.62
    lrwxrwxrwx 1 root root      16 2011-08-09 19:37 /usr/lib/libjpeg.so.8 -> libjpeg.so.8.0.2*
    -rwxr-xr-x 1 root root  797643 2011-08-09 19:37 /usr/lib/libjpeg.so.8.0.2*
    I tried reinstalling libjpeg62 using the command "sudo apt-get install --reinstall libjpeg62", but it gave me this error:
    Code:
    sudo apt-get install --reinstall libjpeg62
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Reinstallation of libjpeg62 is not possible, it cannot be downloaded.
    0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

  3. #13
    Join Date
    Aug 2011
    Location
    47°9′S 126°43W
    Beans
    2,172
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Can't open JPG files - bad module?

    Quote Originally Posted by MDguy View Post
    My output looks fairly similar:
    Code:
    ll /usr/lib/libjpeg.*
    -rw-r--r-- 1 root root 1298934 2011-08-09 19:37 /usr/lib/libjpeg.a
    -rwxr-xr-x 1 root root     914 2011-08-09 19:37 /usr/lib/libjpeg.la*
    lrwxrwxrwx 1 root root      13 2011-08-09 19:37 /usr/lib/libjpeg.so -> libjpeg.so.62
    -rw-r--r-- 1 root root   38212 2011-07-27 17:36 /usr/lib/libjpeg.so.62
    lrwxrwxrwx 1 root root      16 2011-08-09 19:37 /usr/lib/libjpeg.so.8 -> libjpeg.so.8.0.2*
    -rwxr-xr-x 1 root root  797643 2011-08-09 19:37 /usr/lib/libjpeg.so.8.0.2*
    I tried reinstalling libjpeg62 using the command "sudo apt-get install --reinstall libjpeg62", but it gave me this error:
    Code:
    sudo apt-get install --reinstall libjpeg62
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Reinstallation of libjpeg62 is not possible, it cannot be downloaded.
    0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
    Similar but still quite different.
    - Your libjpeg.a is much bigger
    - Your libjpeg.so.62 is much smaller than mine
    - You obviously have two versions (v8 is from 10.10 it seems).

    Since you are on 10.10 your repository may have a more recent version of libjpeg than 6.2 (8?)

  4. #14
    Join Date
    Sep 2010
    Beans
    34

    Re: Can't open JPG files - bad module?

    Quote Originally Posted by ofnuts View Post
    Similar but still quite different.
    - Your libjpeg.a is much bigger
    - Your libjpeg.so.62 is much smaller than mine
    - You obviously have two versions (v8 is from 10.10 it seems).

    Since you are on 10.10 your repository may have a more recent version of libjpeg than 6.2 (8?)
    So how should I go about fixing this? From the output Filezilla gives, it seems like libjpeg may not be the only problem.

  5. #15
    Join Date
    Aug 2011
    Location
    47°9′S 126°43W
    Beans
    2,172
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Can't open JPG files - bad module?

    Quote Originally Posted by MDguy View Post
    So how should I go about fixing this? From the output Filezilla gives, it seems like libjpeg may not be the only problem.
    Backup your /home and reinstall?

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •