Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Opera Error1
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mwickes
n00b
n00b


Joined: 17 Apr 2002
Posts: 18
Location: Cleveland, Ohio

PostPosted: Thu Apr 18, 2002 7:46 pm    Post subject: Opera Error1 Reply with quote

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
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Thu Apr 18, 2002 8:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
Guest






PostPosted: Fri Apr 19, 2002 3:43 pm    Post subject: Reply with quote

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
n00b


Joined: 17 Apr 2002
Posts: 18
Location: Cleveland, Ohio

PostPosted: Fri Apr 19, 2002 4:22 pm    Post subject: Thanks--It works! Reply with quote

Thanks! that did the trick. Opera works now... :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum