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

[gelöst] ld: cannot find -lX11 bei ogre-installation

samuel

Newbie
hallo

Hoffentlich könnt ihr mir helfen, ich weiss leider nicht mehr weiter :(
folgendes: beim kompilieren von Ogre (Opensource Graphics Rendering Engine -> http://ogre3d.org/) bleibt er mit folgender Fehlermeldung stehen:

Code:
make[3]: Entering directory `/home/samuel/ogrenew/PlatformManagers/GLX/src'
/bin/sh ../../../libtool --tag=CXX --mode=link g++  -g -O2 -fPIC    -o libOgrePlatform.la -rpath /usr/local/lib -module -shared -L../../../OgreMain/src OgreGLXConfig.lo OgreGLXInput.lo OgreGLXTimer.lo OgreGLXPlatform.lo -L/usr/X11R6/lib -lX11 -lXaw -lGL -lGLU -lOgreMain -lXaw -lCg -lILU -lIL -lpthread -lz -lm -ldl
libtool: link: warning: `/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../lib64//libfreetype.la' seems to be moved
libtool: link: warning: `/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../lib64//libstdc++.la' seems to be moved
g++ -shared -nostdlib /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../lib64/crti.o /usr/lib64/gcc/x86_64-suse-linux/4.1.0/crtbeginS.o  .libs/OgreGLXConfig.o .libs/OgreGLXInput.o .libs/OgreGLXTimer.o .libs/OgreGLXPlatform.o  -Wl,--rpath -Wl,/home/samuel/ogrenew/OgreMain/src/.libs -L/usr/X11R6/lib -lX11 -lGL -lGLU /home/samuel/ogrenew/OgreMain/src/.libs/libOgreMain.so -L/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../lib64/ -L/usr/local/lib -L/home/samuel/Downloads/DevIL-1.6.8-RC1/src-IL/src -L/usr/lib64 -lXaw -lCg -lILU -lIL -lpthread -lz -ldl -L/usr/lib64/gcc/x86_64-suse-linux/4.1.0 -L/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/lib -L/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../.. /usr/lib64/libstdc++.so -lm -lc -lgcc_s /usr/lib64/gcc/x86_64-suse-linux/4.1.0/crtendS.o /usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../lib64/crtn.o  -Wl,-soname -Wl,libOgrePlatform.so.0 -o .libs/libOgrePlatform.so.0.0.0
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when searching for -lX11
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when searching for -lX11
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /lib/libX11.so when searching for -lX11
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: skipping incompatible /lib/libX11.a when searching for -lX11
/usr/lib64/gcc/x86_64-suse-linux/4.1.0/../../../../x86_64-suse-linux/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[3]: *** [libOgrePlatform.la] Fehler 1
make[3]: Leaving directory `/home/samuel/ogrenew/PlatformManagers/GLX/src'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/home/samuel/ogrenew/PlatformManagers/GLX'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/samuel/ogrenew/PlatformManagers'
make: *** [all-recursive] Fehler 1

Das seltsamste am ganzen ist, dass es beim ersten Mal hervorragend geklappt hat. Weil ich allerdings sonstwo Mist gebaut habe musste ich alles neu installieren und jetzt gehts plötzlich nicht mehr :?
ogre benutze ich wieder dieselbe Version (1.2.2), deshalb vermute ich dass es wahrscheinlich an etwas anderem liegt (zb. etwas nicht/falsch installiert)

ich benutze suse 10.1 x86_64
 
OP
S

samuel

Newbie
voilà:
Code:
samuel@linux-samu:~> rpm -qa --queryformat='%{name}-%{version}-%{release}.%{arch}\n' | grep xorg-x11
xorg-x11-Xnest-6.9.0-48.x86_64
xorg-x11-fonts-100dpi-6.9.0-48.x86_64
xorg-x11-driver-video-6.9.0-46.x86_64
xorg-x11-6.9.0-48.x86_64
xorg-x11-fonts-75dpi-6.9.0-48.x86_64
xorg-x11-server-glx-6.9.0-48.x86_64
xorg-x11-devel-6.9.0-48.x86_64
xorg-x11-driver-video-nvidia-6.9.0-46.x86_64
xorg-x11-fonts-scalable-6.9.0-48.x86_64
xorg-x11-Xvnc-6.9.0-48.x86_64
xorg-x11-devel-32bit-6.9.0-48.x86_64
xorg-x11-server-6.9.0-48.x86_64
xorg-x11-libs-32bit-6.9.0-48.x86_64
xorg-x11-libs-6.9.0-48.x86_64
 
OP
S

samuel

Newbie
vielen dank
es läuft! :D
(es gab zwar dann noch ein paar andere probleme aber dank google/ogreforum konnten auch die gelöst werden :) )
 
Oben