httpd.conf von Apache2 LoadModule Problem

Apache, Lighttpd, nginx, Cherokee
Post Reply
calimera
Posts: 6
Joined: 2005-12-09 11:54
 

httpd.conf von Apache2 LoadModule Problem

Post by calimera »

Habe gerade das Problem, das ich mein libperl.so irgendwie mit dem Apache2 laden soll, da es ansonsten nicht erkannt wird und ich so ganz ohne Perl auf der Maschine bin.

In allen Tutorials finde ich zwar, wie man Module per
LoadModule perl_module modules/libperl.so (Beispiel für die libperl.so)
einbindet, das scheint aber alles nur Apache1 zu betreffen. Bei mir läuft Apache2 und hier muß es doch auch solch einen Weg geben, oder?

Wäre um jede Hilfe dankbar.
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53
 

Re: httpd.conf von Apache2 LoadModule Problem

Post by Roger Wilco »

Nein, die Direktive LoadModule gibt es auch beim Apache 2. Nur AddModule wurde entfernt. Dein mod_perl muß natürlich in einer Version für Apache 2 vorliegen. Wenn das Modul für Apache 1 erstellt wurde, bringt dir das herzlich wenig.
calimera
Posts: 6
Joined: 2005-12-09 11:54
 

Re: httpd.conf von Apache2 LoadModule Problem

Post by calimera »

Hi Roger,

und wie finde ich das raus? Wurde per YAST gemacht, Update - Funktion. Dabei wurde PERL neu draufgehämmert. War 5.8.3. jetzt ist es laut perl -V 5.8.5

Aber wie gesagt, Yast meckert daran rum (findet die libperl.so nicht) und auch Confixx mit seinem updatescript.

Wie gehe ich am besten vor, damit ich das wieder irgendwie ins reine bekomme?

Danke jedenfalls für Deine Antwort.
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53
 

Re: httpd.conf von Apache2 LoadModule Problem

Post by Roger Wilco »

Und was hat das alles mit dem Apache zu tun? Schau mal mit ldd, welche Abhängigkeiten zu libperl bestehen bzw. wie die Datei konkret heißt, die gesucht wird.
calimera
Posts: 6
Joined: 2005-12-09 11:54
 

Re: httpd.conf von Apache2 LoadModule Problem

Post by calimera »

Das kommt mit ldd dabei raus

Code: Select all

linux-gate.so.1 =>  (0xffffe000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40129000)
        libdl.so.2 => /lib/libdl.so.2 (0x4013e000)
        libm.so.6 => /lib/tls/libm.so.6 (0x40142000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x40164000)
        libutil.so.1 => /lib/libutil.so.1 (0x40195000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x40198000)
        libc.so.6 => /lib/tls/libc.so.6 (0x401a8000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
Das Hauptproblem besteht darin, das seit gestern (nach Yast Update) mein Yast nicht mehr startet. Folgende Fehlermeldung kommt:

Code: Select all

Error loading language plugin /usr/lib/YaST2/plugin/libpy2lang_perl.so: libperl.so: cannot open shared object file: No such file or directory
Segmentation fault at /usr/share/YaST2/clients/menu.ycp:27
/sbin/yast: line 185: 23217 Speicherzugriffsfehler  $ybindir/y2base menu ncurses
Wie gesagt, ich forste seit gestern früh das Internet ab und suche nach Lösungen, aber ich komme irgendwie gar nicht weiter.

Danke Dir
Post Reply