You are not logged in.

#1 2009-07-31 07:46:31

ZeroTruths
Member
Registered: 2009-07-02
Posts: 77

[SOLVED]Eagle not finding libjpeg.so despite error-free instalation...

Just to provide some more info, I'm building Eagle with yaourt, and the libs that were necessary all installed without a single issue.
I've tried removing and reinstalling eagle, but it still doesn't work.

Ant ideas or suggestions?

Last edited by ZeroTruths (2009-08-06 23:40:38)

Offline

#2 2009-07-31 08:57:00

falomir
Member
Registered: 2009-02-15
Posts: 15

Re: [SOLVED]Eagle not finding libjpeg.so despite error-free instalation...

install older version of libjpeg 6xx not 7, then it will work

Offline

#3 2009-07-31 19:02:51

ZeroTruths
Member
Registered: 2009-07-02
Posts: 77

Re: [SOLVED]Eagle not finding libjpeg.so despite error-free instalation...

Nogo. If I did that, then I'd break several other applications (most importantly thunar and inkscape).
At least, that's what I was told when I tried to remove it via pacman (pacman -R libjpeg)

Offline

#4 2009-07-31 19:12:34

falomir
Member
Registered: 2009-02-15
Posts: 15

Re: [SOLVED]Eagle not finding libjpeg.so despite error-free instalation...

i just realised that i have bot versions installed smile
libjpeg6 is in aur now

install, he it will work

Offline

#5 2009-07-31 19:35:15

ZeroTruths
Member
Registered: 2009-07-02
Posts: 77

Re: [SOLVED]Eagle not finding libjpeg.so despite error-free instalation...

Well, it still doesn't work, but at least this time I got a different error message: wrong ELF class: ELFCLASS64

Any ideas as to how to fix it?

Offline

#6 2009-07-31 19:41:00

falomir
Member
Registered: 2009-02-15
Posts: 15

Re: [SOLVED]Eagle not finding libjpeg.so despite error-free instalation...

Kevin Ryde  user42@zip.com.au  wrote:

By default gmp builds for the 64-bit ABI, because it gives faster
code.  You need to add corresponding options when compiling your
program.  See "ABI and ISA" in the manual.

found it on net, this maybe a bug
report it, or download eagle again in seperate folder and start compilation again
or build it from abs

Offline

#7 2009-07-31 19:49:10

ZeroTruths
Member
Registered: 2009-07-02
Posts: 77

Re: [SOLVED]Eagle not finding libjpeg.so despite error-free instalation...

Hmm, I think I'm going to give abs a try. I like trying new things smile
Thanks for your help!

Offline

#8 2009-07-31 20:02:54

falomir
Member
Registered: 2009-02-15
Posts: 15

Re: [SOLVED]Eagle not finding libjpeg.so despite error-free instalation...

have same error after build , not found in abs

Offline

#9 2009-08-02 17:51:46

plut0nium
Member
From: Mons, Belgium
Registered: 2007-01-18
Posts: 18
Website

Re: [SOLVED]Eagle not finding libjpeg.so despite error-free instalation...

I am also facing the libjpeg.so.62 problem... I am running arch x86_64 (fresh install) and Eagle 5.6.0 (from AUR)

did anyone solve this issue ?


Without evil there can be no good, so it must be good to be evil sometimes...

Offline

#10 2009-08-02 19:03:07

ZeroTruths
Member
Registered: 2009-07-02
Posts: 77

Re: [SOLVED]Eagle not finding libjpeg.so despite error-free instalation...

Unfortunately I've still been unable to get it to work.

Offline

#11 2009-08-02 19:49:43

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED]Eagle not finding libjpeg.so despite error-free instalation...

Grab a copy of the old libjpeg package, for the arch you need, extract libjpeg.so.62 from it, trow it somewhere and add that path to LD_PRELOAD


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#12 2009-08-06 20:54:10

plut0nium
Member
From: Mons, Belgium
Registered: 2007-01-18
Posts: 18
Website

Re: [SOLVED]Eagle not finding libjpeg.so despite error-free instalation...

I got it working using the following symlink (without installing another -older- version of libjpeg):

sudo ln -sf /opt/lib32/usr/lib/libjpeg.so.7 /usr/lib/libjpeg.so.62

it's quite ugly but eagle seems to works (at least it starts, i did not have the time to check all features)


Without evil there can be no good, so it must be good to be evil sometimes...

Offline

#13 2009-08-06 21:30:37

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: [SOLVED]Eagle not finding libjpeg.so despite error-free instalation...

It is not advisable to symlink. You may get in trouble here.
But there is a viable solution:
Install the libjpeg6 package from the AUR. It provides the missing /usr/lib/libjpeg.so.62

Last edited by bernarcher (2009-08-06 21:32:02)


To know or not to know ...
... the questions remain forever.

Offline

#14 2009-08-06 22:55:43

ZeroTruths
Member
Registered: 2009-07-02
Posts: 77

Re: [SOLVED]Eagle not finding libjpeg.so despite error-free instalation...

@plut0nium: Thanks for that little hack. It worked form me smile

@bernarcher: That was actually one of the first things that I did, but I ended up getting an ELFCLASS64 error.

Offline

#15 2009-08-07 07:29:34

plut0nium
Member
From: Mons, Belgium
Registered: 2007-01-18
Posts: 18
Website

Re: [SOLVED]Eagle not finding libjpeg.so despite error-free instalation...

installing libjpeg6 from AUR installs the x86_64 version, and eagle being a i686 binary only software it does not work (hence the ELFCLASS64 error)

the problems is that eagle looks for the 32bit version of libjpeg in the /usr/lib instead of /opt/lib32/usr/lib
eagle seems to work with libjpeg7, the only problem is the name (and location) of the file : if we can tell eagle to use /opt/lib32/usr/lib/libjpeg.so it will work...

I don't like my solution (i.e. symlinking a 32bit lib in the 64bit directory) and was looking to the PKGBUILD of eagle to solve this issue in a cleaner way. But I did not find how to do this :s
Does someone have an idea ?


Without evil there can be no good, so it must be good to be evil sometimes...

Offline

#16 2009-08-07 16:38:13

ZeroTruths
Member
Registered: 2009-07-02
Posts: 77

Re: [SOLVED]Eagle not finding libjpeg.so despite error-free instalation...

I'm fairly sure that this is a binary issue (ie. the developer has to change it in the souce code before it gets compiled)

Offline

Board footer

Powered by FluxBB