apache1.3.31 + mod_ssl-2.8.19-1.3.31 + openssl-0-9.7d

Apache, Lighttpd, nginx, Cherokee
Post Reply
jake
Posts: 26
Joined: 2003-11-14 02:14
 

apache1.3.31 + mod_ssl-2.8.19-1.3.31 + openssl-0-9.7d

Post by jake »

Hallo ich habe ein Problem:

ich habe openssl-0-9.7d installiert
jetzt habe ich in mod_ssl...
./configure --with-apache=../apache_1.3.31 --with-ssl=../openssl-0.9.7d --datadir=/srv/www --enable-module=most --enable-shared=max --enable-module=ssl --prefix=/usr/local/apache/1.3.31 --with-port=80 --disable-module=auth_dbm
gemacht.

dann ganz normal in meinem apache verzeichnis make aufgerufen
dann bekomm ich einer fehlermeldung mit der ich leider gar nicht anfangen kann:
/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld: /usr/local/src/lamp/openssl-0.9.7d/libssl.a(s2_srvr.o): relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC
/usr/local/src/lamp/openssl-0.9.7d/libssl.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[4]: *** [libssl.so] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/usr/local/src/lamp/apache_1.3.31/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/usr/local/src/lamp/apache_1.3.31'
make: *** [build] Error 2
kann mir bitte jemand weiterhelfen? Forumssuche hat mich leider auch nicht weiter gebracht :(

das ganze auf Suse 9.1 64Bit

gruss jake
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
Contact:
 

Re: apache1.3.31 + mod_ssl-2.8.19-1.3.31 + openssl-0-9.7d

Post by captaincrunch »

Steht doch da:
recompile with -fPIC
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
jake
Posts: 26
Joined: 2003-11-14 02:14
 

Re: apache1.3.31 + mod_ssl-2.8.19-1.3.31 + openssl-0-9.7d

Post by jake »

muss ich da mein makefile anpassen oder wie muss ich diese option hinzufügen?
tomek
Posts: 243
Joined: 2003-08-05 09:44
Location: Paderborn
Contact:
 

Re: apache1.3.31 + mod_ssl-2.8.19-1.3.31 + openssl-0-9.7d

Post by tomek »

Entweder Makefile anpassen oder:

Code: Select all

export CFLAGS="-fPIC"
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: apache1.3.31 + mod_ssl-2.8.19-1.3.31 + openssl-0-9.7d

Post by Joe User »

PayPal.Me/JoeUserFreeBSD Remote Installation
Wings for LifeWings for Life World Run

„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
jake
Posts: 26
Joined: 2003-11-14 02:14
 

Re: apache1.3.31 + mod_ssl-2.8.19-1.3.31 + openssl-0-9.7d

Post by jake »

danke ! ich werds gleich mal testen :-)

bye
jake
Posts: 26
Joined: 2003-11-14 02:14
 

Re: apache1.3.31 + mod_ssl-2.8.19-1.3.31 + openssl-0-9.7d

Post by jake »

export CFLAGS="-fPIC" hat mich leider nicht weitergebraucht :( ich bekomme die gleiche felhlermeldung ;/

@Joe User R_X86_64_32S hat mich auch nicht weiter gebacht ;/ weiss gar nichts damit anzufangen, leider ...
oder ist muss ich noch etwas umstellen, dass mein linux mit 64 Bit arbeitet und nicht standartmäsig mit 32?

ist das überhaupt ein Problem mit mod_ssl oder eher openssl?

please help ... thx jake
tomek
Posts: 243
Joined: 2003-08-05 09:44
Location: Paderborn
Contact:
 

Re: apache1.3.31 + mod_ssl-2.8.19-1.3.31 + openssl-0-9.7d

Post by tomek »

jake wrote:export CFLAGS="-fPIC" hat mich leider nicht weitergebraucht :( ich bekomme die gleiche felhlermeldung ;/
Wenn du die gleiche Fehlermeldung bekommst, ist das CFLAG nicht benutzt worden. Wahrscheinlich musst du den configure-Cache leeren und configure nochmal laufen lassen.

Und es heisst standardmäßig.
jake
Posts: 26
Joined: 2003-11-14 02:14
 

Re: apache1.3.31 + mod_ssl-2.8.19-1.3.31 + openssl-0-9.7d

Post by jake »

danke!

hab ich gemacht, also:
export CFLAGS="-fPIC"
configure mod_ssl
make apache ...

selbe meldung ;/

oder wie finde ich heraus mit was make arbeitet? also bezogen auf das CFLAGS

mfg jake
captaincrunch
Userprojekt
Userprojekt
Posts: 7066
Joined: 2002-10-09 14:30
Location: Dorsten
Contact:
 

Re: apache1.3.31 + mod_ssl-2.8.19-1.3.31 + openssl-0-9.7d

Post by captaincrunch »

Vorher auch schön "make clean" gemacht?
DebianHowTo
echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq"|dc
jake
Posts: 26
Joined: 2003-11-14 02:14
 

Re: apache1.3.31 + mod_ssl-2.8.19-1.3.31 + openssl-0-9.7d

Post by jake »

jo :(

kann das auch an openssl liegen?
jake
Posts: 26
Joined: 2003-11-14 02:14
 

Re: apache1.3.31 + mod_ssl-2.8.19-1.3.31 + openssl-0-9.7d

Post by jake »

also war auf der falschgen baustelle, sorry

openssl mit -fPIC übersetzt und alles geht ;)

bye jake
Post Reply