• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

compile-error : library libintl nicht gefunden

Knappe

Hacker
Will php5 unter OpenSuSE 10.2 64-bit selbst uebersetzen und habe mir daher die aktuelle php-Version "php-5.2.4" von php.net runtergeladen.

Beim ./configure bekomme ich nun immer die Meldung
....

configure:43573: checking for bindtextdomain in -lintl
configure:43592: gcc -o conftest -march=opteron -O2 -pipe -I/network/public -I/opt/lampp/include/libpng -I/opt/lampp/include/ncurses -I/opt/lampp/include -L/opt/lampp/lib -Wl,-rpath,/opt/lampp/lib -L/opt/lampp/lib -L/opt/lampp/lib conftest.c -lintl -lfreetype -lpng -lz -ljpeg -lssl -lcrypto -lgdbm -lcurl -lbz2 -lz -lssl -lcrypto -lresolv -lm -ldl -lnsl -lxml2 -lm -lcurl -lssl -lcrypto -ldl -lz -lxml2 -lm 1>&5
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /opt/lampp/lib/libintl.so when searching for -lintl
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /opt/lampp/lib/libintl.a when searching for -lintl
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /opt/lampp/lib/libintl.so when searching for -lintl
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /opt/lampp/lib/libintl.a when searching for -lintl
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /opt/lampp/lib/libintl.so when searching for -lintl
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /opt/lampp/lib/libintl.a when searching for -lintl
/usr/lib64/gcc/x86_64-suse-linux/4.1.2/../../../../x86_64-suse-linux/bin/ld: cannot find -lintl
collect2: ld returned 1 exit status
configure: failed program was:
#line 43581 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char bindtextdomain();

int main() {
bindtextdomain()
; return 0; }

...

und der
Code:
make
gibt natuerlich die Fehlermeldung aus
ext/gettext/.libs/gettext.o: In function `zif_gettext':
gettext.c:(.text+0xcc): undefined reference to `libintl_gettext'
ext/gettext/.libs/gettext.o: In function `zif_textdomain':
gettext.c:(.text+0x230): undefined reference to `libintl_textdomain'
ext/gettext/.libs/gettext.o: In function `zif_bind_textdomain_codeset':
gettext.c:(.text+0x3fb): undefined reference to `libintl_bind_textdomain_codeset'
ext/gettext/.libs/gettext.o: In function `zif_dcngettext':
gettext.c:(.text+0x792): undefined reference to `libintl_dcngettext'
ext/gettext/.libs/gettext.o: In function `zif_dngettext':
gettext.c:(.text+0xaa6): undefined reference to `libintl_dngettext'
ext/gettext/.libs/gettext.o: In function `zif_ngettext':
gettext.c:(.text+0xd1c): undefined reference to `libintl_ngettext'
ext/gettext/.libs/gettext.o: In function `zif_bindtextdomain':
gettext.c:(.text+0xf50): undefined reference to `libintl_bindtextdomain'
ext/gettext/.libs/gettext.o: In function `zif_dcgettext':
gettext.c:(.text+0x11cc): undefined reference to `libintl_dcgettext'
ext/gettext/.libs/gettext.o: In function `zif_dgettext':
gettext.c:(.text+0x1387): undefined reference to `libintl_dgettext'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Fehler 1

Habe natuerlich
Code:
gettext, 
gettext-32-bit,
gettext-devel, 
perl-gettext, 
php5-gettext,
perl-libintl-perl, 
ruby-gettext
installiert.
Aber das betroffene Modul
Code:
libintl.so
finde ich nicht. :evil:

Irgendeine Idee, wo ich das "Teil" finden koennte ?

[edit]
Habe jetzt sogar die neueste Version von "gettext" (gettext-0.16-47.x86_64.rpm) installiert & (gettext-0.16.tar.gz) compiliert : keine Aenderung !
 
OP
K

Knappe

Hacker
Und wieso nimmst du nicht einfach ein SUSE-RPM?

Ja klar, das ginge auch.

Aber ich wuerde gerne die XAMPP-Umgebung beibehalten wollen (nur eben auf 64-bit umstellen) um dann auch die Konfigurationsoptionen flexibler den eigenen Beduerfnissen einsetzen koennen.

Gut es mag von daher jetzt nicht "lebenswichtig" sein, ob ich php5 selbst compilieren kann oder nicht, aber ich moechte schon wissen warum das ein solches Problem in meiner Umgebung ist:

./configure --... --gettext ===> beschriebene Probleme
./configure --.... ====> laeuft einwandfrei durch (php5-Bin-File wird erzeugt)
:idea:
 
Oben