View previous topic :: View next topic |
Author |
Message |
mwickes n00b
Joined: 17 Apr 2002 Posts: 18 Location: Cleveland, Ohio
|
Posted: Thu Apr 18, 2002 7:46 pm Post subject: Opera Error1 |
|
|
I have tried to update libpng but I still get the same error when starting Opera.
opera: error while loading shared libraries: libpng.so.2: cannot open shared object file: No such file or directory
Any suggestions?
Thanks!
Mike |
|
Back to top |
|
|
Nitro Bodhisattva
Joined: 08 Apr 2002 Posts: 661 Location: San Francisco
|
Posted: Thu Apr 18, 2002 8:49 pm Post subject: |
|
|
I just updated my libpng package and since then I've been having to recompile alot of programs to use the new libraries, from enlightenment to mozilla to gimp. I'm not sure if Opera is effected (it is all binary isn't it?), try unmerging it, then emergering it again. _________________ - Kyle Manna
Please, please SEARCH before posting.
There are three kinds of people in the world: those who can count, and those who can't. |
|
Back to top |
|
|
Guest
|
Posted: Fri Apr 19, 2002 3:43 pm Post subject: |
|
|
I had the same problem (Opera 5.0).
The problem is that there are two versions of libpng out there. Opera is looking for libpng.so.2, which is built by the "media-libs/libpng-1.0.12-r1.ebuild". (That's the latest ebuild for 1.0 as I write this.)
The latest version of libpng is libpng.so.3, which is built by "media-libs/libpng-1.2.2.ebuild" (as of the same date).
The problem is, both packages have the following links set up:
In version 1.0:
libpng.so -> libpng.so.2
libpng.so.2 -> libpng.so.2.1.0.12
In version 1.2:
libpng.so -> libpng.so.3
libpng.so.3 -> libpng.so.3.1.2.1
The libpng.so.2 and libpng.so.3 links don't conflict, but the libpng.so link does.
I had unmerged both of them trying to fix a problem compiling KDE, and had reinstalled libpng-1.2. What I did to get libpng.so.2 for Opera was: Code: | ebuild /usr/portage/media-libs/libpng-1.0.12-r1.ebuild setup unpack compile
#After compile has finished...
cp -a /var/tmp/libpng-1.0.12-r1/work/libpng-1.0.12/libpng.so.2.1.0.12 /usr/lib
cp -a /var/tmp/libpng-1.0.12-r1/work/libpng-1.0.12/libpng.so.2 /usr/lib |
Opera now works. (And I don't
think I busted anything else... |
|
Back to top |
|
|
mwickes n00b
Joined: 17 Apr 2002 Posts: 18 Location: Cleveland, Ohio
|
Posted: Fri Apr 19, 2002 4:22 pm Post subject: Thanks--It works! |
|
|
Thanks! that did the trick. Opera works now... |
|
Back to top |
|
|
|