{"id":1297,"date":"2009-04-16T23:51:46","date_gmt":"2009-04-16T14:51:46","guid":{"rendered":"http:\/\/terzeron.com\/?p=1297"},"modified":"2009-04-16T23:51:46","modified_gmt":"2009-04-16T14:51:46","slug":"berkeley-db%ec%9d%98-duplicate-sort-specified-but-not-supported-in-database-%ec%97%90%eb%9f%ac-%ec%b2%98%eb%a6%ac%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/terzeron.com\/?p=1297","title":{"rendered":"Berkeley DB\uc758 &#8220;duplicate sort specified but not supported in database&#8221; \uc5d0\ub7ec \ucc98\ub9ac\ud558\uae30"},"content":{"rendered":"<p>Berkeley DB(\uc774\ud558 BDB) \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc774\uc6a9\ud558\uc5ec \ud504\ub85c\uadf8\ub7a8\uc744 \uc791\uc131\ud558\uace0 \uc2e4\ud589\ud558\ub2e4\ubcf4\uba74 \uc5b4\ub5a4 \ucef4\ud30c\uc77c \ud658\uacbd\uc5d0\uc11c\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \uc5d0\ub7ec\ub97c \ubc1c\uc0dd\ud558\uace0 \uc2e4\ud589\uc774 \ube44\uc815\uc0c1\uc73c\ub85c \uc885\ub8cc\ub418\ub294 \uacbd\uc6b0\uac00 \ubc1c\uc0dd\ud558\uae30\ub3c4 \ud55c\ub2e4.<\/p>\n<blockquote><p>\n0000.db: duplicate sort specified but not supported in database<br \/>\nterminate called after throwing an instance of &#8216;DbException&#8217;<br \/>\nwhat(): Db::open: \ubd80\uc801\uc808\ud55c \uc778\uc218<br \/>\n\uc911\uc9c0\ub428 (core dumped)<\/p><\/blockquote>\n<p>shell\uc758 locale\uc774 C\ub85c \ub418\uc5b4 \uc788\ub294 \uacbd\uc6b0\uc5d0\ub294 &#8220;\ubd80\uc801\uc808\ud55c \uc778\uc218&#8221;\ub77c\ub294 \ud45c\ud604 \ub300\uc2e0\uc5d0 &#8220;Invalid argument&#8221;\ub85c \ub300\uccb4\ub41c\ub2e4.<\/p>\n<p>\uc774\ub7f0 \uacbd\uc6b0 \uc5d0\ub7ec \uba54\uc2dc\uc9c0\ub97c \uace7\uc774 \uace7\ub300\ub85c \ubbff\uc73c\uba74, \uc27d\uac8c \ud574\uacb0\ud558\uc9c0 \ubabb\ud558\uace0 \ud06c\uac8c \ud5e4\ub9e4\uac8c \ub420 \uc218 \uc788\ub2e4. \ubb38\uc81c\uc758 \uc6d0\uc778\uc740 \uc544\uc8fc \uac04\ub2e8\ud55c \ub370 \uc788\ub2e4. \ubc14\ub85c \ud574\ub2f9 \ud504\ub85c\uadf8\ub7a8\uc774 \uc0ac\uc6a9\ud558\ub824\uace0 \uc758\ub3c4\ud55c BDB \ub77c\uc774\ube0c\ub7ec\ub9ac\uc758 \ubc84\uc804\uacfc \uc2e4\uc81c \uc0ac\uc6a9\ub41c BDB \ub77c\uc774\ube0c\ub7ec\ub9ac\uc758 \ubc84\uc804\uc758 \ubd88\uc77c\uce58\ub85c \uc778\ud574 \ubc1c\uc0dd\ud55c \uac83\uc774\ub2e4. \ub354\uc6b1 \uc758\uc544\ud55c \uac83\uc740 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub294 \uc0ac\uc6a9\ud558\ub824\uace0 \uc758\ub3c4\ud55c \ubc84\uc804\uc73c\ub85c \ub3d9\uc77c\ud558\ub354\ub77c\ub3c4 \ud5e4\ub354 \ud30c\uc77c\uc774 \ub2ec\ub77c\uc11c \ubc1c\uc0dd\ud55c\ub2e4\ub294 \uac83\uc774\ub2e4.<\/p>\n<p>\uc608\ub97c \ub4e4\uc5b4, \/usr\/include\uc5d0 \uae30\ubcf8 BDB \ud328\ud0a4\uc9c0\uc758 \ud5e4\ub354 \ud30c\uc77c\uc778 db.h\uac00 \uc874\uc7ac\ud558\uace0 \/usr\/local\/include\uc5d0 \uac1c\ubc1c\uc790\uac00 \uc0ac\uc6a9\ud558\ub824\ub294 \ub2e4\ub978 \ubc84\uc804\uc758 db.h\uac00 \uc874\uc7ac\ud558\uac8c \ub418\uba74 \ucef4\ud30c\uc77c \uc635\uc158\uc744 -I \/usr\/local\/include\ub85c \uba85\uc2dc\ud558\uc9c0 \uc54a\ub294 \uc774\uc0c1, \/usr\/include\/db.h\uac00 include\ub41c\ub2e4. \uc774\ub7f0 \uacbd\uc6b0, \uc704\uc5d0\uc11c \uc801\uc740 \uac83\uacfc \ub3d9\uc77c\ud55c \uc5d0\ub7ec\uac00 \ubc1c\uc0dd\ud558\ub294 \uac83\uc774\ub2e4.<\/p>\n<p>Makefile\uc758 CFLAGS \ud56d\ubaa9\uc5d0 -I \/usr\/local\/include<\/code> \ub610\ub294 -I BDB\ub77c\uc774\ube0c\ub7ec\ub9ac\uc758\ud5e4\ub354\uac00\uc124\uce58\ub41c\ub514\ub809\ud1a0\ub9ac\uba85 \uc744 \ucd94\uac00\ud574\uc8fc\uba74 \ub41c\ub2e4. \ub2f9\uc5f0\ud788 LDFLAGS \ud56d\ubaa9\uc5d0\ub3c4 -L \/usr\/local\/lib \ub610\ub294 -L BDB\ub77c\uc774\ube0c\ub7ec\ub9ac\uac00\uc124\uce58\ub41c\ub514\ub809\ud1a0\ub9ac\uba85\uc744 \uc9c0\uc815\ud558\ub294 \uac83\ub3c4 \uc78a\uc5b4\uc120 \uc548 \ub418\uaca0\ub2e4.<\/p>\n<div class=\"fb-background-color\">\n\t\t\t  <div \n\t\t\t  \tclass = \"fb-comments\" \n\t\t\t  \tdata-href = \"https:\/\/terzeron.com\/?p=1297\"\n\t\t\t  \tdata-numposts = \"100\"\n\t\t\t  \tdata-lazy = \"true\"\n\t\t\t\tdata-colorscheme = \"light\"\n\t\t\t\tdata-order-by = \"time\"\n\t\t\t\tdata-mobile=true>\n\t\t\t  <\/div><\/div>\n\t\t  <style>\n\t\t    .fb-background-color {\n\t\t\t\tbackground: #ffffff !important;\n\t\t\t}\n\t\t\t.fb_iframe_widget_fluid_desktop iframe {\n\t\t\t    width: 100% !important;\n\t\t\t}\n\t\t  <\/style>\n\t\t  ","protected":false},"excerpt":{"rendered":"<p>Berkeley DB(\uc774\ud558 BDB) \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc774\uc6a9\ud558\uc5ec \ud504\ub85c\uadf8\ub7a8\uc744 \uc791\uc131\ud558\uace0 \uc2e4\ud589\ud558\ub2e4\ubcf4\uba74 \uc5b4\ub5a4 \ucef4\ud30c\uc77c \ud658\uacbd\uc5d0\uc11c\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \uc5d0\ub7ec\ub97c \ubc1c\uc0dd\ud558\uace0 \uc2e4\ud589\uc774 \ube44\uc815\uc0c1\uc73c\ub85c \uc885\ub8cc\ub418\ub294 \uacbd\uc6b0\uac00 \ubc1c\uc0dd\ud558\uae30\ub3c4 \ud55c\ub2e4. 0000.db: duplicate sort specified but not supported in database terminate called after throwing an instance of &#8216;DbException&#8217; what(): Db::open: &hellip; <a href=\"https:\/\/terzeron.com\/?p=1297\">\uacc4\uc18d \uc77d\uae30 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","footnotes":""},"categories":[13,14],"tags":[],"class_list":["post-1297","post","type-post","status-publish","format-standard","hentry","category-programming","category-unixlinux"],"_links":{"self":[{"href":"https:\/\/terzeron.com\/index.php?rest_route=\/wp\/v2\/posts\/1297","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/terzeron.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/terzeron.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/terzeron.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/terzeron.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1297"}],"version-history":[{"count":0,"href":"https:\/\/terzeron.com\/index.php?rest_route=\/wp\/v2\/posts\/1297\/revisions"}],"wp:attachment":[{"href":"https:\/\/terzeron.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1297"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/terzeron.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1297"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/terzeron.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1297"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}