Not using x11

If I want to not use X11 I simpy set the enviorment variable. It seems
to work with all of the domo’s that I grab off the web page. But when I
try it with my code I get video library not avalable when I call Init.
I can not for the life of me figure out why this error would be.

if ( SDL_Init(SDL_INIT_VIDEO) < 0 )

My Code
// Initialize the SDL Video
if ( SDL_Init(SDL_INIT_VIDEO) < 0 ) {
fprintf(stderr, “Couldn’t initialize SDL: %s\n”, SDL_GetError());

Anyone know what SDL checks for? Do I have to inlclude special support
for each library? Do threads screw up things? I didn’t see anything in
anyone else’s code or any docs that could help