검색결과 리스트
글
"ld: cannot find -lX11" error가 날때.
Computer/Linux Tips
2007. 7. 9. 17:01
Ref.: http://kldp.org/node/43963
X가 /usr/X11R6에 설치되어 있다면..
$ gcc -I/usr/X11R6/include -L/usr/X11R6/lib asdf.c -lX11
매번 -I, -L을 쓰는게 귀찮다면...
$ export LIBRARY_PATH=/usr/X11R6/lib:$LIBRARY_PATH $ export C_INCLUDE_PATH=/usr/X11R6/include:$C_INCLUDE_PATH $ gcc asdf.c -lX11
'Computer > Linux Tips' 카테고리의 다른 글
mysql: Can't connect to local MySQL server through socket /var/lib/mysql/mysql.sock' (0) | 2007.07.16 |
---|---|
MPlayer v1.0rc1 source compile trouble shooting (0) | 2007.07.10 |
Linux Shell programming 관련 (0) | 2007.04.17 |
mplayer관련 메모 (0) | 2007.03.31 |
VLC Compile 과 gprof Result. (2) | 2007.03.22 |