Buenas. Estoy intentando compilar con gcc y me aparece un error que no consigo solucionar: usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: no se puede encontrar -ldb1 collect2: ld devolvió el estado de salida 1 make[2]: *** [gpredict] Error 1 Lo habia visto antes con lncurses y la solucion pasaba simplemente por reinstalar ncurses pero en este caso no doy con la tecla. He probado a reinstalar binutils (que parece que seria lo mas logico) y nada. He mirado si estaban bien las librerias libdb y tambien estan correctas, o eso parece. . ¿Alguna sugerencia?. Como se aprecia en la traza que os he enviado es gcc 3.3.3 corriendo sobre una SuSE SLES9 Graciasssssssssssss. -- Francisco Javier Lopez Vazquez Ingeniero de Sistemas Administrador UNIX Randstad ICT Tlf. 914906137
Francisco Javier Lopez wrote:
Buenas. Estoy intentando compilar con gcc y me aparece un error que no consigo solucionar:
usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: no se puede encontrar -ldb1 collect2: ld devolvió el estado de salida 1 make[2]: *** [gpredict] Error 1
Lo habia visto antes con lncurses y la solucion pasaba simplemente por reinstalar ncurses pero en este caso no doy con la tecla. He probado a reinstalar binutils (que parece que seria lo mas logico) y nada. He mirado si estaban bien las librerias libdb y tambien estan correctas, o eso parece.
. ¿Alguna sugerencia?.
Como se aprecia en la traza que os he enviado es gcc 3.3.3 corriendo sobre una SuSE SLES9
No tienes instaladas las librerias db1. Debes instalar los paquetes db1 y db1-devel. Despues de instalarlos, ejecuta ldconfig. Saludos, Juan
Gracias Juan. Faltaban las db1-devel. Perdona la tardanza en contestar pero es que la lista solo la recibo en el trabajo. Byes El Viernes, 7 de Enero de 2005 22:46, Juan Erbes escribió:
Francisco Javier Lopez wrote:
Buenas. Estoy intentando compilar con gcc y me aparece un error que no consigo solucionar:
usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: no se puede encontrar -ldb1 collect2: ld devolvió el estado de salida 1 make[2]: *** [gpredict] Error 1
Lo habia visto antes con lncurses y la solucion pasaba simplemente por reinstalar ncurses pero en este caso no doy con la tecla. He probado a reinstalar binutils (que parece que seria lo mas logico) y nada. He mirado si estaban bien las librerias libdb y tambien estan correctas, o eso parece.
. ¿Alguna sugerencia?.
Como se aprecia en la traza que os he enviado es gcc 3.3.3 corriendo sobre una SuSE SLES9
No tienes instaladas las librerias db1. Debes instalar los paquetes db1 y db1-devel. Despues de instalarlos, ejecuta ldconfig.
Saludos, Juan
-- Francisco Javier Lopez Vazquez Ingeniero de Sistemas Administrador UNIX Randstad ICT Tlf. 914906137
participants (2)
-
Francisco Javier Lopez
-
Juan Erbes