Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
www-servers/cherokee: falla emerge (sol)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Spanish
View previous topic :: View next topic  
Author Message
koyo
Tux's lil' helper
Tux's lil' helper


Joined: 05 Apr 2003
Posts: 128
Location: Colombia

PostPosted: Mon Jul 18, 2011 5:17 am    Post subject: www-servers/cherokee: falla emerge (sol) Reply with quote

Hola a todos.

Estoy tratando de instalar el servidor cherokee en su version 1.2.2, durante el proceso de instalación/compilación el siguiente error surge:

Code:
libtool: link:  x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/validator_file.o .libs/validator_htdigest.o   -lcrypto -ldl  -O2 -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed   -Wl,-soname -Wl,libplugin_htdigest.so -Wl,-version-script -Wl,.libs/libplugin_htdigest.ver -o .libs/libplugin_htdigest.so
libtool: link: ( cd ".libs" && rm -f "libplugin_htdigest.la" && ln -s "../libplugin_htdigest.la" "libplugin_htdigest.la" )
libtool: compile:  x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -D_REENTRANT -O2 -pipe -c validator_file.c  -fPIC -DPIC -o .libs/libplugin_htpasswd_la-validator_file.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -D_REENTRANT -O2 -pipe -c validator_htpasswd.c  -fPIC -DPIC -o .libs/libplugin_htpasswd_la-validator_htpasswd.o
libtool: link: /usr/bin/nm -B  .libs/libplugin_htpasswd_la-validator_file.o .libs/libplugin_htpasswd_la-validator_htpasswd.o   | sed -n -e 's/^.*[       ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[         ][      ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' | /bin/sed 's/.* //' | sort | uniq > .libs/libplugin_htpasswd.exp
libtool: link: /bin/grep -E -e "^[^_].*" ".libs/libplugin_htpasswd.exp" > ".libs/libplugin_htpasswd.expT"
libtool: link: mv -f ".libs/libplugin_htpasswd.expT" ".libs/libplugin_htpasswd.exp"
libtool: link: echo "{ global:" > .libs/libplugin_htpasswd.ver
libtool: link:  cat .libs/libplugin_htpasswd.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libplugin_htpasswd.ver
libtool: link:  echo "local: *; };" >> .libs/libplugin_htpasswd.ver
libtool: link:  x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/libplugin_htpasswd_la-validator_file.o .libs/libplugin_htpasswd_la-validator_htpasswd.o   -lcrypt -lcrypto -ldl  -O2 -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed   -Wl,-soname -Wl,libplugin_htpasswd.so -Wl,-version-script -Wl,.libs/libplugin_htpasswd.ver -o .libs/libplugin_htpasswd.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../lib64/libcrypt.a(crypt-entry.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../lib64/libcrypt.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [libplugin_htpasswd.la] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
emake failed
 * ERROR: www-servers/cherokee-1.2.2 failed (compile phase):
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 5883:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =www-servers/cherokee-1.2.2',
 * the complete build log and the output of 'emerge -pqv =www-servers/cherokee-1.2.2'.
 * The complete build log is located at '/var/tmp/portage/www-servers/cherokee-1.2.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-servers/cherokee-1.2.2/temp/environment'.
 * S: '/var/tmp/portage/www-servers/cherokee-1.2.2/work/cherokee-1.2.2'


La salida del comando emerge --info =www-servers/cherokee-1.2.2 es la siguiente:
Code:
libtool: link:  x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/validator_file.o .libs/validator_htdigest.o   -lcrypto -ldl  -O2 -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed   -Wl,-soname -Wl,libplugin_htdigest.so -Wl,-version-script -Wl,.libs/libplugin_htdigest.ver -o .libs/libplugin_htdigest.so
libtool: link: ( cd ".libs" && rm -f "libplugin_htdigest.la" && ln -s "../libplugin_htdigest.la" "libplugin_htdigest.la" )
libtool: compile:  x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -D_REENTRANT -O2 -pipe -c validator_file.c  -fPIC -DPIC -o .libs/libplugin_htpasswd_la-validator_file.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -D_REENTRANT -O2 -pipe -c validator_htpasswd.c  -fPIC -DPIC -o .libs/libplugin_htpasswd_la-validator_htpasswd.o
libtool: link: /usr/bin/nm -B  .libs/libplugin_htpasswd_la-validator_file.o .libs/libplugin_htpasswd_la-validator_htpasswd.o   | sed -n -e 's/^.*[       ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[         ][      ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' | /bin/sed 's/.* //' | sort | uniq > .libs/libplugin_htpasswd.exp
libtool: link: /bin/grep -E -e "^[^_].*" ".libs/libplugin_htpasswd.exp" > ".libs/libplugin_htpasswd.expT"
libtool: link: mv -f ".libs/libplugin_htpasswd.expT" ".libs/libplugin_htpasswd.exp"
libtool: link: echo "{ global:" > .libs/libplugin_htpasswd.ver
libtool: link:  cat .libs/libplugin_htpasswd.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libplugin_htpasswd.ver
libtool: link:  echo "local: *; };" >> .libs/libplugin_htpasswd.ver
libtool: link:  x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/libplugin_htpasswd_la-validator_file.o .libs/libplugin_htpasswd_la-validator_htpasswd.o   -lcrypt -lcrypto -ldl  -O2 -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed   -Wl,-soname -Wl,libplugin_htpasswd.so -Wl,-version-script -Wl,.libs/libplugin_htpasswd.ver -o .libs/libplugin_htpasswd.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../lib64/libcrypt.a(crypt-entry.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../lib64/libcrypt.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [libplugin_htpasswd.la] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
emake failed
 * ERROR: www-servers/cherokee-1.2.2 failed (compile phase):
 *   emake failed
 *
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 5883:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *
 * If you need support, post the output of 'emerge --info =www-servers/cherokee-1.2.2',
 * the complete build log and the output of 'emerge -pqv =www-servers/cherokee-1.2.2'.
 * The complete build log is located at '/var/tmp/portage/www-servers/cherokee-1.2.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-servers/cherokee-1.2.2/temp/environment'.
 * S: '/var/tmp/portage/www-servers/cherokee-1.2.2/work/cherokee-1.2.2'


Hasta el momento he tratado reinstalando libtool, openssl y eliminado la compilación paralela poniendo -j1 en make.conf.

Si alguien me puede ayudar, muchas gracias.
_________________
Paucad Sed Matura


Last edited by koyo on Wed Jul 20, 2011 10:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
Pablo S. Barrera
l33t
l33t


Joined: 16 May 2006
Posts: 642
Location: Mataderos. Argentina. America del Sur

PostPosted: Wed Jul 20, 2011 3:35 am    Post subject: Reply with quote

Esta enmascarado este paquete no? Al menos en amd64 lo esta.

Probaste de recompilar todas sus dependencias?

Tal vez no sirva de nada pero se me ocurre eso.

Saludos!
Back to top
View user's profile Send private message
Eleazar Anzola
Veteran
Veteran


Joined: 17 Jul 2003
Posts: 1318
Location: Caracas / Venezuela

PostPosted: Wed Jul 20, 2011 1:33 pm    Post subject: Reply with quote

Tu error no es mas que la falta de libcrypt.a que no esta bien compilada dice arriba que verifiques y
Code:
recompile with -fPIC


Code:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../lib64/libcrypt.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [libplugin_htpasswd.la] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
emake failed

Code:
emerge uDvN world
y despues
Code:
emerge lafilefixer
y por ultimo
Code:
lafilefixer --justfixit

espero te resuelva eso tu problema
_________________
Salu2
Eleazar Anzola
Linux User : # 216232
__________________________________________
Por un foro ordenado y un buscador más útil:
[TEMA] Descripción problema (estado)
Back to top
View user's profile Send private message
koyo
Tux's lil' helper
Tux's lil' helper


Joined: 05 Apr 2003
Posts: 128
Location: Colombia

PostPosted: Wed Jul 20, 2011 10:46 pm    Post subject: Reply with quote

Bueno he solucionado el problema.

No utilice el "-fPIC" ya que en algunos post y comentarios en el canal de IRC no lo recomiendan.

[*] Actualice al ultimo kernel gentoo-sources (estable)
[*] Recompile GLIBC/GCC
[*] Recompile libtool
[*] Recompile openssl

Esto soluciono mi problema con la instalacion del paquete cherokee, ya esta funcionando a la perfeccion (aunque ya he comenzado mi pelea con django y tratar que el servidor muestre las paginas)

Gracias a todos por su colaboracion.
_________________
Paucad Sed Matura
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Spanish 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