xlib 사용 - static link시..

sore의 이미지

컴파일은 다 하고 링크시

/usr/X11R6/lib/libX11.a(XlcDL.o) In function `try_both_dlsym'
XlcDL.o(.text+0xfd) undefined reference to `dlsym'
XlcDL.o(.text+0x12c) undefined reference to `dlsym'
/usr/X11R6/lib/libX11.a(XlcDL.o) In function `open_object'
XlcDL.o(.text+0x5c6) undefined reference to `dlopen'
/usr/X11R6/lib/libX11.a(XlcDL.o) In function `close_object'
XlcDL.o(.text+0x627) undefined reference to `dlclose'
collect2 ld returned 1 exit status

이런 메세지가 뜹니다.

-static 옵션 없이 링크시킬때는 잘 되는데요...

static 으로 컴파일 할때는 뭔가 다른 걸 해주어야 하는건가요..?