Korea FreeBSD Users Group News, Internal, Projects, Home
Software, Support, Documentation

mysql¿¬µ¿ ÇÁ·Î±×·¥ ÀÛ¼º.



[ ³¯Â¥¼ø »öÀÎ ] [ ´ñ±Û¼ø »öÀÎ ] [ ÃÖ»óÀ§ »öÀÎ]

[ÀÌÀü ±Û] [´ÙÀ½ ±Û] [ÀÌÀü ´ñ±Û] [´ÙÀ½ ´ñ±Û]


freeBSD¿¡¼­  C·Î Mysql°ú ¿¬µ¿ÇÏ´Â ÇÁ·Î±×·¥À» Â¥°í ÀÖ½À´Ï´Ù.

¹®Á¦´Â
gcc -L/usr/local/mysql/lib -I/usr/local/mysql/include -o Mysql
MysqlTest.c -lmysqlclient -lnsl -lsocket
´ÙÀ½°ú °°ÀÌ ÄÄÆÄÀÏÀ» ½ÃÀÛÇÕ´Ï´Ù.

/usr/libexec/elf/ld: cannot find -lnsl
À§¿Í °°Àº ¿¡·¯¸Þ½ÃÁö°¡ ³ª¿É´Ï´Ù.

gcc -L/usr/local/mysql/lib -I/usr/local/mysql/include -o Mysql
MysqlTest.c -lmysqlclient -lsocket
ÀÌ·¸°Ô ÄÄÆÄÀÏ Çϸé

/usr/libexec/elf/ld: cannot find -lsocket
À§¿Í °°Àº ¿¡·¯¸Þ½ÃÁö°¡ ³ª¿É´Ï´Ù.

gcc -L/usr/local/mysql/lib -I/usr/local/mysql/include -o Mysql
MysqlTest.c -lmysqlclient
ÀÌ·±½ÄÀ¸·Î ÄÄÆÄÀÏÀ» Çϸé ÄÄÆÄÀÏ ¿¡·¯´Â ¹ß»ýÇÏÁö ¾Ê½À´Ï´Ù.

±×·¯³ª ¸·»ó ½ÇÇà½Ã۸é...
/usr/libexec/ld-elf.so.1: Shared object "libmysqlclient.so.10" not found
À§¿Í °°Àº ¿¡·¯°¡ ¹ß»ýÇÕ´Ï´Ù.

¹°·Ð mysqlÀ» ±×³É »ç¿ëÇϴ°ÍÀº ¾Æ¹« ¹®Á¦°¡ ¾ø½À´Ï´Ù.

±×·³... À̸¸...



===================================================================
¿ì¸® ÀÎÅͳÝ, Daum  http://www.daum.net
"¸ÞÀÏÀÌ µµÂøÇß½À´Ï´Ù." ÇѸÞÀÏ³Ý ¼ö½Å¾Ë¸²!, ¹«Á¦ÇÑ ÆÄÀÏÀü¼Û!
¢Ñ´Ù¿î¹Þ±â http://files.hanmail.net/client/msgr22/DaumMe22.exe
--
To Unsubscribe: send mail to majordomo@kr.FreeBSD.org
with "unsubscribe questions" in the BODY of the message



[ ³¯Â¥¼ø »öÀÎ ] [ ´ñ±Û¼ø »öÀÎ ] [ ÃÖ»óÀ§ »öÀÎ]

Copyright © 1998-2005 Korea FreeBSD Users Group.
All rights reserved. webmaster at kr.FreeBSD.org
$Date: 2002/03/26 13:35:33 $
Powered by FreeBSD