Page 1 of 1

Suse 9.0 and pb

Posted: Thu Feb 26, 2004 2:21 pm
by Brujah
Hy folks,

my purebasic worked fine using Debian, but now I had to install Suse 9.0 and I can't get it working here.

I get the following error message when I try to compile my program:

/usr/lib/gcc-lib/i586-suse-linux/3.3.1/../../../i586-suse-linux/bin/ld: cannot find -lXi
collect2: ld returned 1 exit status.

I installed sdl-devel and gtk-devel.

What else could be wrong here ?

Markus

Posted: Thu Feb 26, 2004 6:12 pm
by Fred
strange, I don't know what is 'Xi' about.. could you check if you do gtk-config and sdl-config to see what it output ?

Posted: Thu Feb 26, 2004 7:22 pm
by Brujah
Okay, I tried the following:

gtk-config --version
1.2.10

gtk-config --libs
-lXi -lX11 -lm (and a few more)

I don't know what that means...

Posted: Thu Feb 26, 2004 7:35 pm
by Brujah
sdl-config --version
1.2.5

sdl-config --lib
-lm -ldl -lX11 -laa (and some more)

Solved!

Posted: Sun Feb 29, 2004 1:36 am
by Brujah
After I installed kdevelop it was working!

I don't know. Maybe some libs were missing.