FedoraForum.org - Fedora Support Forums and Community
Page 1 of 3 123 LastLast
Results 1 to 15 of 39
  1. #1
    Join Date
    Feb 2012
    Location
    home@Fedora18
    Posts
    91
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    troubles installing eagle

    I am loking for electric circuit and PCB design softwares and I found a lot of good opinions about eagle. I decided to try it so I have dowloaded the .run file from their website. The problem is that it couldn't find some libraries. First it couldn't find libssl.so and libcrypto.so which were installed in /usr/lib and /usr/lib64 but not in the /lib and /lib64, I have solved this with symbolic links to the installed files. Although, now I can't do the same with libjpeg. At first it says:
    Code:
    [t3sty@T3STY-Fedora ~]$ '/home/t3sty/Desktop/eagle-lin-6.1.0.run' 
    /tmp/eagle-setup.26214/eagle-6.1.0/bin/eagle: error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No such file or directory
    so i tried to look for libjpeg and I found it already installed, but seems to be a different version:
    Code:
    [t3sty@T3STY-Fedora /]$ cd /lib
    [t3sty@T3STY-Fedora lib]$ ls -s libjpeg* | more
    0 libjpeg.so.62
    [t3sty@T3STY-Fedora lib]$ cd /lib64
    [t3sty@T3STY-Fedora lib64]$ ls -s libjpeg* | more
    0 libjpeg.so.62
    [t3sty@T3STY-Fedora lib64]$ cd /usr/lib
    [t3sty@T3STY-Fedora lib]$ ls -s libjpeg* | more
      0 libjpeg.so.62
    260 libjpeg.so.62.0.0
    [t3sty@T3STY-Fedora lib]$ cd /usr/lib64
    [t3sty@T3STY-Fedora lib64]$ ls -s libjpeg* | more
      0 libjpeg.so.62
    240 libjpeg.so.62.0.0
    When I make a symbolic link to libraries in /lib named libjpeg.so.8 it says this:
    Code:
    [t3sty@T3STY-Fedora lib]$ sudo ln -s /lib/libjpeg.so.62 /lib/libjpeg.so.8
    [t3sty@T3STY-Fedora lib]$ sudo ln -s /lib64/libjpeg.so.62 /lib64/libjpeg.so.8
    [t3sty@T3STY-Fedora lib]$ '/home/t3sty/Desktop/eagle-lin-6.1.0.run' 
    /tmp/eagle-setup.26247/eagle-6.1.0/bin/eagle: error while loading shared libraries: libjpeg.so.8: cannot open shared object file: Error 40
    Or, if I try with libraries in /usr/lib:
    Code:
    [t3sty@T3STY-Fedora lib]$ sudo ln -s /usr/lib/libjpeg.so.62 /lib/libjpeg.so.8
    [t3sty@T3STY-Fedora lib]$ sudo ln -s /usr/lib64/libjpeg.so.62 /lib64/libjpeg.so.8
    [t3sty@T3STY-Fedora lib]$ '/home/t3sty/Desktop/eagle-lin-6.1.0.run' /tmp/eagle-setup.26295/eagle-6.1.0/bin/eagle: /lib/libjpeg.so.8: version `LIBJPEG_8.0' not found (required by /tmp/eagle-setup.26295/eagle-6.1.0/bin/eagle)
    It's quite obvious that my libjpeg is at version 6.2 which is not the same as version 8, but I have compiled libjpeg from source without errors with the package from this link:
    http://www.ijg.org/files/jpegsrc.v8c.tar.gz
    To compile it I have done ./configure, make, make install as required in most compilings. Should I have done it differently? If not, how may I update my libjpeg to version 8?
    Also, I don't really like it when applications don't find the needed libraries just because they're in /usr/lib instead of /lib or in /lib instead of /usr/lib. May I create a symbolic link of /lib for /usr/lib and /lib64 for /usr/lib64 so both will point the same libraries or this will break my system in some way?
    Last edited by T3STY; 11th March 2012 at 07:17 PM.
    MY SYSTEM ↂ Main OS: Fedora 18 x86_64 ↂ CPU: AMD Phenom II X6 (3.3GHz, Cache: 9MB, Socket: AM3) ↂ MoBo: MSI 890FXA-GD65 ↂ RAM: 8GB (4x2GB Kingston HyperX, DDR3, 1333MHz) ↂ Graphics: Club3D Radeon 4850 (GPU: ATI rv770, BUS: 256-bit, RAM: 512MB GDDR3) ↂ PS: Cooler Master GX-650 (650W, 80+ Bronze) ↂ Main HD: 320GB (Maxtor, SATA) ↂ Sec. HD: 80GB (Western Digital, SATA)

  2. #2
    PabloTwo's Avatar
    PabloTwo is offline "Fedora User" T-Shirt Winner
    Join Date
    Mar 2007
    Location
    Seville, FL
    Posts
    8,919
    Mentioned
    39 Post(s)
    Tagged
    0 Thread(s)

    Re: troubles installing eagle

    Try,
    Code:
    sudo ln -s /usr/lib/libjpeg.so.62.0.0 /usr/lib/libjpeg.so.8
    sudo ln -s /usr/lib64/libjpeg.so.62.0.0 /usr/lib64/libjpeg.so.8

  3. #3
    Join Date
    Feb 2012
    Location
    home@Fedora18
    Posts
    91
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: troubles installing eagle

    It didn't work, still this message:
    Code:
    [t3sty@T3STY-Fedora ~]$ '/home/t3sty/Desktop/eagle-lin-6.1.0.run' 
    /tmp/eagle-setup.2264/eagle-6.1.0/bin/eagle: /lib/libjpeg.so.8: version `LIBJPEG_8.0' not found (required by /tmp/eagle-setup.2264/eagle-6.1.0/bin/eagle)
    MY SYSTEM ↂ Main OS: Fedora 18 x86_64 ↂ CPU: AMD Phenom II X6 (3.3GHz, Cache: 9MB, Socket: AM3) ↂ MoBo: MSI 890FXA-GD65 ↂ RAM: 8GB (4x2GB Kingston HyperX, DDR3, 1333MHz) ↂ Graphics: Club3D Radeon 4850 (GPU: ATI rv770, BUS: 256-bit, RAM: 512MB GDDR3) ↂ PS: Cooler Master GX-650 (650W, 80+ Bronze) ↂ Main HD: 320GB (Maxtor, SATA) ↂ Sec. HD: 80GB (Western Digital, SATA)

  4. #4
    PabloTwo's Avatar
    PabloTwo is offline "Fedora User" T-Shirt Winner
    Join Date
    Mar 2007
    Location
    Seville, FL
    Posts
    8,919
    Mentioned
    39 Post(s)
    Tagged
    0 Thread(s)

    Re: troubles installing eagle

    Oh, yeah...."8.0", not "8".
    Code:
    sudo ln -s /usr/lib/libjpeg.so.62.0.0 /usr/lib/libjpeg.so.8.0
    sudo ln -s /usr/lib64/libjpeg.so.62.0.0 /usr/lib64/libjpeg.so.8.0

  5. #5
    Join Date
    Feb 2012
    Location
    home@Fedora18
    Posts
    91
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: troubles installing eagle

    I have been able to solve this problem. The compiled jpeg 8 library has been put in /usr/local/lib. How many different lib directories does it need to be?? Wouldn't it be enough /lib ?? well.. anyway, I have run into another, worst, problem: it only compiles the 32-bit version. I have made a link to the 32-bit version in /lib and it finds it, but it says this:
    Code:
    [root@T3STY-Fedora]# '/home/t3sty/Desktop/eagle-lin-6.1.0.run' 
    /tmp/eagle-setup.4643/eagle-6.1.0/bin/eagle: error while loading shared libraries: libjpeg.so.8: wrong ELF class: ELFCLASS64
    I could understand that I have to use a 64-bit library, but how may I get one? The compiling only builds the 32-bit version. Is there any command I should give to ./configure or to make so it builds 64-bit?

    EDIT
    Or maybe it compiled the 64-bit version and (wrongly) put in /usr/local/lib, so I need 32 bit version?
    MY SYSTEM ↂ Main OS: Fedora 18 x86_64 ↂ CPU: AMD Phenom II X6 (3.3GHz, Cache: 9MB, Socket: AM3) ↂ MoBo: MSI 890FXA-GD65 ↂ RAM: 8GB (4x2GB Kingston HyperX, DDR3, 1333MHz) ↂ Graphics: Club3D Radeon 4850 (GPU: ATI rv770, BUS: 256-bit, RAM: 512MB GDDR3) ↂ PS: Cooler Master GX-650 (650W, 80+ Bronze) ↂ Main HD: 320GB (Maxtor, SATA) ↂ Sec. HD: 80GB (Western Digital, SATA)

  6. #6
    PabloTwo's Avatar
    PabloTwo is offline "Fedora User" T-Shirt Winner
    Join Date
    Mar 2007
    Location
    Seville, FL
    Posts
    8,919
    Mentioned
    39 Post(s)
    Tagged
    0 Thread(s)

    Re: troubles installing eagle

    Looks like I missed the fact that you compiled the libjpeg package yourself from the bottom of your first post.
    Don't you have the Fedora libs? Are you running 32 bit Fedora or 64 bit Fedora. If you are running 32 bit Fedora, then you can have only 32 bit libs. If you are running 64 bit Fedora, then you can have both 32 and 64 bit libs. The fact that you compiled libjpeg yourself and got 32 bit libs as a result tells me you are only running 32 bit Fedora.
    Code:
    yum install libjpeg-turbo
    I use 64 bit Fedora,
    Code:
    BASH:~/-> rpm -ql libjpeg-turbo.i686 libjpeg-turbo.x86_64 | grep /usr/lib
    /usr/lib/libjpeg.so.62
    /usr/lib/libjpeg.so.62.0.0
    /usr/lib64/libjpeg.so.62
    /usr/lib64/libjpeg.so.62.0.0
    Your libs ended up in /usr/local/lib because that was the "default" location of the ./configure command. If you wanted it in /usr/lib, then you'd do: ./configure --prefix=/usr

    There's no reason for you to build the libjpeg libs from source when you can just use yum to install them.
    Last edited by PabloTwo; 11th March 2012 at 08:01 PM.

  7. #7
    Join Date
    Feb 2012
    Location
    home@Fedora18
    Posts
    91
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: troubles installing eagle

    I am running the 64-bit version of Fedora 16.
    I have already installed the libjpeg-turbo packages from yum, but it said they were already installed. So I have used the reinstall option and packages got reinstalled, but I still got the libjpeg.so.62 files, which I suppose are version 6.2, while the most recent libjpeg is 8.3. So i have downloaded the last version source from the link in my first post, and I have compiled. The compiled library (libjpeg.so.8.3.0) has been put in /usr/local/lib, which is for 32-bit libraries. In /usr/local/lib64 there's nothing of libjpeg.
    MY SYSTEM ↂ Main OS: Fedora 18 x86_64 ↂ CPU: AMD Phenom II X6 (3.3GHz, Cache: 9MB, Socket: AM3) ↂ MoBo: MSI 890FXA-GD65 ↂ RAM: 8GB (4x2GB Kingston HyperX, DDR3, 1333MHz) ↂ Graphics: Club3D Radeon 4850 (GPU: ATI rv770, BUS: 256-bit, RAM: 512MB GDDR3) ↂ PS: Cooler Master GX-650 (650W, 80+ Bronze) ↂ Main HD: 320GB (Maxtor, SATA) ↂ Sec. HD: 80GB (Western Digital, SATA)

  8. #8
    PabloTwo's Avatar
    PabloTwo is offline "Fedora User" T-Shirt Winner
    Join Date
    Mar 2007
    Location
    Seville, FL
    Posts
    8,919
    Mentioned
    39 Post(s)
    Tagged
    0 Thread(s)

    Re: troubles installing eagle

    I see. What does this say?
    Code:
    file /usr/local/lib/libjpeg.so.8.3.0
    I'm betting my last nickle it's a 64 bit lib.

    ---------- Post added at 03:41 PM ---------- Previous post was at 03:39 PM ----------

    And what does this say?
    Code:
    ls -l /usr/local/lib/libjpeg*


    ---------- Post added at 03:47 PM ---------- Previous post was at 03:41 PM ----------

    You should clean up all the non-working symlinks you've made, remove the libjpeg* files that are in /usr/local/lib/ and then do a fresh install using:

    ./configure --prefix=/usr --libdir=/usr/lib64
    make
    make install

    Then you can work on creating symlinks that work.

  9. #9
    Join Date
    Feb 2012
    Location
    home@Fedora18
    Posts
    91
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: troubles installing eagle

    Cleaned all the old symlinks of libjpeg, recompiled in /usr/lib64. That's the output of file:
    Code:
    ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped
    I moved the library in /lib64, made a symlink in /usr/lib64, and now guess what: eagle cannot find libjpeg.so.8 (moving it to /lib will make eagle find the library but will say again the wrong ELF class message). Not a surprise... Anyway, now I know that I need the 32-bit version of libjpeg 8 and I really hope that's the last missing library... any hint on how to get it? I am on 64-bit os and as I know, it's not possible to compile 32-bit on 64-bit.
    For now I think I may have the solution: installing Fedora 16 32-bit in virtualbox and compiling it there... if you have any better solution let me know.
    MY SYSTEM ↂ Main OS: Fedora 18 x86_64 ↂ CPU: AMD Phenom II X6 (3.3GHz, Cache: 9MB, Socket: AM3) ↂ MoBo: MSI 890FXA-GD65 ↂ RAM: 8GB (4x2GB Kingston HyperX, DDR3, 1333MHz) ↂ Graphics: Club3D Radeon 4850 (GPU: ATI rv770, BUS: 256-bit, RAM: 512MB GDDR3) ↂ PS: Cooler Master GX-650 (650W, 80+ Bronze) ↂ Main HD: 320GB (Maxtor, SATA) ↂ Sec. HD: 80GB (Western Digital, SATA)

  10. #10
    PabloTwo's Avatar
    PabloTwo is offline "Fedora User" T-Shirt Winner
    Join Date
    Mar 2007
    Location
    Seville, FL
    Posts
    8,919
    Mentioned
    39 Post(s)
    Tagged
    0 Thread(s)

    Re: troubles installing eagle

    If "eagle" is a 32 bit app, in which case, if you would need to compile the libjpeg source for 32 bit, you'll need advice from someone with experience doing that, as I haven't attempted that yet (compiling 32 bit program on a 64 bit computer).

    ---------- Post added at 04:19 PM ---------- Previous post was at 04:13 PM ----------

    When eagle is reporting "wrong ELF class" when it's looking at a 64 bit lib file, then that tells me eagle is a 32 bit app. 32 bit apps can't use 64 bit libs. Eagle, being a 32 bit app, would not think to look in any lib directory named "lib64".

    Also, anytime you compile and install an *.so file, you should run, as root, the ldconfig command right after installing it/them.

    Run the "file" command on the eagle binary.

    ---------- Post added at 04:22 PM ---------- Previous post was at 04:19 PM ----------

    For now I think I may have the solution: installing Fedora 16 32-bit in virtualbox and compiling it there..
    That would work.

  11. #11
    Join Date
    Feb 2012
    Location
    home@Fedora18
    Posts
    91
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: troubles installing eagle

    I have ran the ldconfig command, then file, the output of libjpeg.so.8.3.0 is the same.
    MY SYSTEM ↂ Main OS: Fedora 18 x86_64 ↂ CPU: AMD Phenom II X6 (3.3GHz, Cache: 9MB, Socket: AM3) ↂ MoBo: MSI 890FXA-GD65 ↂ RAM: 8GB (4x2GB Kingston HyperX, DDR3, 1333MHz) ↂ Graphics: Club3D Radeon 4850 (GPU: ATI rv770, BUS: 256-bit, RAM: 512MB GDDR3) ↂ PS: Cooler Master GX-650 (650W, 80+ Bronze) ↂ Main HD: 320GB (Maxtor, SATA) ↂ Sec. HD: 80GB (Western Digital, SATA)

  12. #12
    PabloTwo's Avatar
    PabloTwo is offline "Fedora User" T-Shirt Winner
    Join Date
    Mar 2007
    Location
    Seville, FL
    Posts
    8,919
    Mentioned
    39 Post(s)
    Tagged
    0 Thread(s)

    Re: troubles installing eagle

    I'm guessing you never installed the 32 bit version of libjpeg-turbo. What does this return on your system?
    Code:
    rpm -q libjpeg-turbo
    If it only returns the 64 bit package, then you need to do,
    Code:
    yum install libjpeg-turbo.i686
    The Fedora packages should work, once you set the symlink properly.

  13. #13
    Join Date
    Feb 2012
    Location
    home@Fedora18
    Posts
    91
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: troubles installing eagle

    Nope, you're wrong I have intalled both 32 and 64 bit versions of libjpeg-turbo. That's the out you requested:
    Code:
    [t3sty@T3STY-Fedora ~]$ rpm -q libjpeg-turbo
    libjpeg-turbo-1.1.1-3.fc16.x86_64
    libjpeg-turbo-1.1.1-3.fc16.i686
    But as I said before, it installs libjpeg.so.62.0.0, not libjpeg.so.8.3.0 (or other 8.x version). This is why I can't use these libraries. I have installed fedora 32-bit in virtualbox, but it's kind of late for me (1.15 AM, local Italy hour) so I think Im just going to get some sleep and think about this problem tomorrow
    MY SYSTEM ↂ Main OS: Fedora 18 x86_64 ↂ CPU: AMD Phenom II X6 (3.3GHz, Cache: 9MB, Socket: AM3) ↂ MoBo: MSI 890FXA-GD65 ↂ RAM: 8GB (4x2GB Kingston HyperX, DDR3, 1333MHz) ↂ Graphics: Club3D Radeon 4850 (GPU: ATI rv770, BUS: 256-bit, RAM: 512MB GDDR3) ↂ PS: Cooler Master GX-650 (650W, 80+ Bronze) ↂ Main HD: 320GB (Maxtor, SATA) ↂ Sec. HD: 80GB (Western Digital, SATA)

  14. #14
    Join Date
    Feb 2012
    Location
    home@Fedora18
    Posts
    91
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: troubles installing eagle

    I finally got it working! (compiled in a virtual machine running 32-bit Fedora) What a hard work.. for what?? A simple graphical installer that shows an eagle image and makes you choose where to install eagle. Wouldn't it have been better a simple text-based installer?
    Anyway... for those who shall have any troubles in installing eagle because of missing libs (my eagle version is 6.1.0) make sure you have installed these 4 libs:

    libpng
    Present in the fedora repos. You cna install it with yum install libpng

    libssl.so.1.x.x
    libcrypto.so.1.x.x

    you can find both in the package: openssl. To install it use yum install openssl

    libjpeg.so.8.x.x
    there are no fedora repos for version 8 (latest available in fedora's repos is 6.2) so you'll have to build from sources. Sources for version 8c (8.3.0) can be found here:
    http://www.ijg.org/files/jpegsrc.v8c.tar.gz
    To compile make sure you have any C Compiler (not needed C++ compiler). If you don't have one, you can use gcc (yum install gcc). Then (while you are in libjpeg's sources folder) compile the library with ./configure, make, sudo make install. The compiled lib will be put in /usr/local/lib; move it to /lib and make a symlink to it in /lib called libjpeg.so.8 (eagle won't find the original file libjpeg.so.8.3.0)
    *where x it can be any number, only the major version number matters

    I hope this will help anybody who runs in troubles while installing eagle.
    Also, thank you for the help, PabloTwo

    EDIT 15th April 2012
    WARNING: All the libraries eagle uses are 32-bit and are located in /lib
    If your system is a 64-bit and you're missing libraries, or you get an error saying "wrong ELF class: ELFCLASS64" then this is because you're using a 64-bit library instead of a 32-bit library. Probably you have compiled the library on a x64 machine. In this case you have to get a 32-bit compiled library. If you don't have access to a 32-bit machine, use a Virtual Machine (in virtualbox or vmware player - both free) or use a 32-bit Fedora live to compile it.
    Last edited by T3STY; 15th April 2012 at 02:44 PM.
    MY SYSTEM ↂ Main OS: Fedora 18 x86_64 ↂ CPU: AMD Phenom II X6 (3.3GHz, Cache: 9MB, Socket: AM3) ↂ MoBo: MSI 890FXA-GD65 ↂ RAM: 8GB (4x2GB Kingston HyperX, DDR3, 1333MHz) ↂ Graphics: Club3D Radeon 4850 (GPU: ATI rv770, BUS: 256-bit, RAM: 512MB GDDR3) ↂ PS: Cooler Master GX-650 (650W, 80+ Bronze) ↂ Main HD: 320GB (Maxtor, SATA) ↂ Sec. HD: 80GB (Western Digital, SATA)

  15. #15
    PabloTwo's Avatar
    PabloTwo is offline "Fedora User" T-Shirt Winner
    Join Date
    Mar 2007
    Location
    Seville, FL
    Posts
    8,919
    Mentioned
    39 Post(s)
    Tagged
    0 Thread(s)

    Re: troubles installing eagle

    Hello T3STY-

    I'm glad you got it working. I still strongly believe compiling and installing the libjpeg-8.x source code wasn't necessary, but here is your chance to prove me completely wrong. But first, know this:

    The libjpeg-turbo package that is supplied by Fedora is not the same as the libjpeg source code you compiled. libjpeg-turbo is a fork of libjpeg. There is zero correlation with the version numbers between the two. You assumed libjpeg.so.62.0.0 meant version 6.2, an older version of libjpeg's currrent version 8.x. No dice. libjpeg-turbo is at version 1.2.0. From the libjpeg-turbo sourceforge site:
    libjpeg-turbo is a derivative of libjpeg that uses MMX, SSE, SSE2, and NEON SIMD instructions to accelerate baseline JPEG compression/decompression by about 2-4x on x86, x86-64, and ARM platforms. It is based on libjpeg/SIMD but has numerous enhancements.
    Here is what you can do to test if the Fedora supplied libjpeg.so works with eagle:
    Code:
    ln -sf /usr/lib/libjpeg.so.62.0.0 /lib/libjpeg.so.8
    This will overwrite your working symlink. Then launch eagle. If eagle works, then it shows three things.

    1) the Fedora libjepg.so works with eagle
    2) eagle is hardwired to only check in the /lib directory for the libjpeg.so lib, or, you got an earlier attempt at a symlink wrong.
    3) you went to a lot of extra trouble for nothing

    If it doesn't work, it proves the Fedora libjpeg.so won't work with eagle, and your extra efforts were justified.
    Last edited by PabloTwo; 12th March 2012 at 04:43 PM.

Page 1 of 3 123 LastLast

Similar Threads

  1. [SOLVED] cadsoft eagle
    By g8jvm in forum Using Fedora
    Replies: 5
    Last Post: 9th June 2015, 08:06 PM
  2. Eagle Install Problem
    By ampdbi in forum Using Fedora
    Replies: 4
    Last Post: 24th October 2011, 04:31 PM
  3. Troubles Installing
    By Vak in forum Using Fedora
    Replies: 1
    Last Post: 19th April 2007, 08:57 AM
  4. eagle usb Forum
    By hussram in forum Using Fedora
    Replies: 2
    Last Post: 9th January 2006, 06:17 PM
  5. fc2 eagle-usb
    By divali in forum Using Fedora
    Replies: 1
    Last Post: 15th November 2005, 12:40 PM

Tags for this Thread

Posting Permissions

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