Can't locate SDL under compile program

[sky at Skyzer:/usr/local/SDL-1.2.2/test]# locate libSDL
/usr/local/lib/libSDL-1.2.so.0
/usr/local/lib/libSDL-1.2.so.0.0.2
/usr/local/lib/libSDL.a
/usr/local/lib/libSDL.la
/usr/local/lib/libSDL.so
/usr/local/lib/libSDLmain.a
/usr/local/SDL-1.2.2/src/.libs/libSDL-1.2.so.0
/usr/local/SDL-1.2.2/src/.libs/libSDL-1.2.so.0.0.2
/usr/local/SDL-1.2.2/src/.libs/libSDL.a
/usr/local/SDL-1.2.2/src/.libs/libSDL.la
/usr/local/SDL-1.2.2/src/.libs/libSDL.lai
/usr/local/SDL-1.2.2/src/.libs/libSDL.so
/usr/local/SDL-1.2.2/src/libSDL.la
/usr/local/SDL-1.2.2/src/main/libSDLmain.a
[sky at Skyzer:/usr/local/SDL-1.2.2/test]# tail config.log
#include “SDL.h”

int main(int argc, char *argv[])
{ return 0; }
#undef main
#define main K_and_R_C_main

int main() {
return 0;
; return 0; }
[sky at Skyzer:/usr/local/SDL-1.2.2/test]#

Let me know if this works for you:
http://www.libsdl.org/faq/FAQ-Linux.html#BROKEN_MANDRAKE

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Is /usr/local/lib in your ld.so.conf file ? (located in /etc)
If not, add it, and then run ldconfig, and it should work …

Good luck =)On Wednesday 22. August 2001 06:09, you wrote:

[sky at Skyzer:/usr/local/SDL-1.2.2/test]# locate libSDL
/usr/local/lib/libSDL-1.2.so.0
/usr/local/lib/libSDL-1.2.so.0.0.2
/usr/local/lib/libSDL.a
/usr/local/lib/libSDL.la
/usr/local/lib/libSDL.so
/usr/local/lib/libSDLmain.a
/usr/local/SDL-1.2.2/src/.libs/libSDL-1.2.so.0
/usr/local/SDL-1.2.2/src/.libs/libSDL-1.2.so.0.0.2
/usr/local/SDL-1.2.2/src/.libs/libSDL.a
/usr/local/SDL-1.2.2/src/.libs/libSDL.la
/usr/local/SDL-1.2.2/src/.libs/libSDL.lai
/usr/local/SDL-1.2.2/src/.libs/libSDL.so
/usr/local/SDL-1.2.2/src/libSDL.la
/usr/local/SDL-1.2.2/src/main/libSDLmain.a
[sky at Skyzer:/usr/local/SDL-1.2.2/test]# tail config.log
#include “SDL.h”

int main(int argc, char *argv[])
{ return 0; }
#undef main
#define main K_and_R_C_main

int main() {
return 0;
; return 0; }
[sky at Skyzer:/usr/local/SDL-1.2.2/test]#


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Trick


Linux User #229006 * http://counter.li.org

Hmm… Just noticed the date. This showed up in my mailbox today…
Never mind. Hope it helps anyway =)> On Wednesday 22. August 2001 06:09, you wrote:


Trick


Linux User #229006 * http://counter.li.org