Dies ist eine statische Kopie unseres alten Forums. Es sind keine Interaktionen möglich.
This is a static copy of our old forum. Interactions are not possible.

MAX

Senior Schreiberling

  • "MAX" is male
  • "MAX" started this thread

Posts: 822

Date of registration: Dec 11th 2001

Location: Hannover

1

Friday, April 19th 2002, 10:47pm

Opera unter Linux

Hallo!!!
Ich habe versucht Opera 6.0 unter Linux Mandrake 8.2 zu installieren: rpm Datei.
Aber es wurde mir bei der Installation ein Fehler gemeldet und zwar, dass die Datei libpng.so.2 fehlt.
Was ist das für eine Datei und wie kann ich das Problem beheben??? Und noch was, was sit der unterschied zwischen dynamically und statically linked Dateien???
mfg
MAX

EvilHomer

Junior Schreiberling

  • "EvilHomer" is male

Posts: 214

Date of registration: Dec 12th 2001

Location: Region Hannover

Occupation: Da kommt Ihr nie drauf ;-)

2

Friday, April 19th 2002, 11:26pm

Hier die Lösung zu deinem Problem:

http://www.opera.com

Mandrake 8.2 and missing libpng.so.2 (Opera 6.0 beta 1)
Problems in Opera

Linux

Article: 759, Date: 2002-04-19

mandrake, libpng, missing


If you are having this problem, please download Opera 6.0 beta 2 or newer.


Opera 6.0 beta 1 is dynamically linked to libpng.so.2. Mandrake 8.2 and certain other distributions come with libpng.so.3, but not the older version. For this reason, Opera 6.0 beta 2 and newer versions are linked statically to libpng.

To work around this problem in the meantime, there are two possible solutions:

1. Get hold of libpng.so.2 from an older distribution (the libpng2 package in Mandrake 8.1 for example) or download it from somewhere.

2. Link libpng.so.2 to libpng.so.3. This has been reported as working well. To do so, open a terminal window and log in as root. Type the following command to link libpng.so.2 to libpng.so.3:

ln -s /usr/lib/libpng.so.3 /usr/lib/libpng.so.2

You should now be able to install and run Opera.

cu EvilHomer

When people look like ants - pull
When ants look like people - pray


MAX

Senior Schreiberling

  • "MAX" is male
  • "MAX" started this thread

Posts: 822

Date of registration: Dec 11th 2001

Location: Hannover

3

Friday, April 19th 2002, 11:26pm

Hat sich schon erledigt

Hab das Problem behoben. Nochmal runtrgeladen und es geht.
Es würde mich aber trotzdem interessieren, was nun dynamisch und statisch gelinkte Dateien sind.
mfg
MAX

--> Ohh, cool, danke für die Info, hab wirklich zuerst Opera 6.1 gehabt und jetzt neue runtergeladen.
Danke!!!

EvilHomer

Junior Schreiberling

  • "EvilHomer" is male

Posts: 214

Date of registration: Dec 12th 2001

Location: Region Hannover

Occupation: Da kommt Ihr nie drauf ;-)

4

Friday, April 19th 2002, 11:55pm

Also,

das was ich hier geschrieben habe war falsch und weiter unten ist die richtige Erklärung von migu.

cu EvilHomer

When people look like ants - pull
When ants look like people - pray


migu

free rider

  • "migu" is male

Posts: 2,643

Date of registration: Dec 11th 2001

Occupation: Developer

5

Saturday, April 20th 2002, 12:12am

Quoted

Original von EvilHomer
Das müsste so stimmen, wenn nicht, dann korrigiert es.


okay, los geht's. :)

Programme binden i.d.R. vorhandene Bibliotheken ein, um deren Code zu nutzen, so zum Beispiel eine Bibliothek für den Zugriff auf ein Bildformat.

Dynamisch gelinkt bedeutet, dass der Bibliotheks-Code zur Laufzeit geladen wird. Er existiert also nicht in dem Binär-Code des Programms selbst, sondern muss aus dem Binär-Code der Bibliothek aufgerufen werden. Linken meint, dass der Programm-Code mit dem Bibliotheks-Code verbunden (zugeordnet) wird, je nachdem, welche Funktionen einer Bibliothek genutzt werden.

Bei statisch gelinkten Programmen wird der Bibliotheks-Code in den Binär-Code des Programms kopiert, so dass zum Ausführen der Datei die Bibliothek nicht mehr gebraucht wird.
Praktisch bedeutet das für dich, dass du bei statisch gelinkten Programmen nicht darauf achten musst, ob nötige Bibliotheken installiert sind. Allerdings sind solche Programme (logischerweise) wesentlich größer als dynamisch gelinkte.

Das müsste so stimmen. Wenn was unklar oder unrichtig ist, bitte nachfragen bzw. korrigieren.
Wir wollen ja noch was lernen, nicht wahr? ;)
tar: Anlegen eines leeren Archivs wird feige verweigert.

MAX

Senior Schreiberling

  • "MAX" is male
  • "MAX" started this thread

Posts: 822

Date of registration: Dec 11th 2001

Location: Hannover

6

Saturday, April 20th 2002, 12:36am

Das war....

eine super Erklärung!!!
Danke
mfg
MAX