SDL2 use the DirectFB

Hi, i’m trying to use SDL2 via DirectFB,i have installed the SDL2 with the choice of “–enable-video-directfb”,then i export SDL_VIDEODRIVER=directfb and run the program, but it return “directfb not available”,what’s wrong?
the DirectFB is DirectFB-1.2.7,Hi, i’m trying to use SDL2 via DirectFB,i have installed the SDL2 with the choice of “–enable-video-directfb”,then i export SDL_VIDEODRIVER=directfb and run the program, but it return “directfb not available”,what’s wrong?
the DirectFB is DirectFB-1.2.7,and i run the dfbdump,it will return the following message:
/tmp/bin # ./dfbdump

| DirectFB 1.2.7 |
© 2001-2008 The world wide DirectFB Open Source Community
© 2000-2004 Convergence (integrated media) GmbH
----------------------------------------------------------------

() DirectFB/Core: Single Application Core. (2018-06-09 10:23) [ DEBUG ]
(
) Direct/Thread: Started ‘VT Switcher’ (-1) [CRITICAL OTHER/OTHER 0/0] <8388608>…
() Direct/Thread: Started ‘Linux Input’ (-1) [INPUT OTHER/OTHER 0/0] <8388608>…
(
) DirectFB/Input: ft6x06_ts (1) 0.1
() Direct/Thread: Started ‘Linux Input’ (-1) [INPUT OTHER/OTHER 0/0] <8388608>…
(
) DirectFB/Input: phoenix Headset Jack (2) 0.1
() Direct/Thread: Started ‘Linux Input’ (-1) [INPUT OTHER/OTHER 0/0] <8388608>…
(
) DirectFB/Input: gpio-keys (3) 0.1
() DirectFB/Graphics: Generic Software Rasterizer 0.6 (directfb.org)
(
) DirectFB/Core/WM: Default 0.3
(*) FBDev/Surface: Allocated 320x480 16 bit RGB16 buffer (index 0) at offset 0 and pitch 640.

DirectFB uptime: 00:00:00

-----------------------------[ Surfaces ]-------------------------------------
Reference FID . Refs Width Height Format Video System Capabilities

N/A : 2 320 x 480 RGB16 300k* 300k* video only double
------ ------
300k 300k -> 600k total

----------------------------------[ Contexts of Layer 0 ]----------------------------------------
Reference FID . Refs Width Height Format Location on screen Regions Active Info Level

N/A : 3 320 x 480 RGB16 0.0, 0.0 -> 1.0, 1.0 1 (*) SHARED N/A