{"id":1516,"date":"2011-09-06T17:03:54","date_gmt":"2011-09-06T22:03:54","guid":{"rendered":"http:\/\/icesquare.com\/wordpress\/?p=1516"},"modified":"2012-08-14T18:08:27","modified_gmt":"2012-08-14T23:08:27","slug":"cups-client-1-4-8-is-marked-as-broken-gnutls-does-not-support-threads-yet-disable-the-gnutls","status":"publish","type":"post","link":"https:\/\/icesquare.com\/wordpress\/cups-client-1-4-8-is-marked-as-broken-gnutls-does-not-support-threads-yet-disable-the-gnutls\/","title":{"rendered":"cups-client-1.4.8 is marked as broken: gnutls does not support threads yet; disable the GNUTLS."},"content":{"rendered":"<p>I saw this message twice on two machines on two different days, end up using the same way to fix it.<\/p>\n<h2>Case 1: Samba<\/h2>\n<p>My Samba was down today, so I tried to start it manually:<\/p>\n<pre>\r\n\/usr\/local\/etc\/rc.d\/samba start\r\n<\/pre>\n<p>And I got the following error message:<\/p>\n<pre>\r\nRemoving stale Samba tdb files:  done\r\nnmbd already running? (pid=1074).\r\nStarting smbd.\r\n\/libexec\/ld-elf.so.1: Shared object \"libcups.so.2\" not found, required by \"smbd\"\r\n\/usr\/local\/etc\/rc.d\/samba: WARNING: failed to start smbd\r\n<\/pre>\n<p>Initially, I thought the problem was about missing the file. So I did a search and soft-link it:<\/p>\n<pre>\r\nfind \/ -name \"libcups.so*\"\r\n<\/pre>\n<p>Surprisingly, there is no such file in my system. I think I don&#8217;t have this file. So I tried to compile the Samba again:<\/p>\n<pre>\r\ncd \/usr\/ports\/net\/samba35\r\nsudo make\r\n<\/pre>\n<p>and I got the following message:<\/p>\n<pre>\r\n===>  cups-client-1.4.8 is marked as broken: gnutls does not support threads yet disable the GNUTLS.\r\n*** Error code 1\r\n\r\nStop in \/usr\/ports\/print\/cups-client.\r\n<\/pre>\n<div style=\"border-top:solid 1px #333; margin:20px 0px 20px 0px;\"><\/div>\n<h2>Case 2: Upgrading Port<\/h2>\n<p>When I upgraded my FreeBSD system via portmaster, I found the following messages:<\/p>\n<pre>\r\nportmaster -Da\r\n<\/pre>\n<pre>\r\n===>  cups-client-1.4.8 is marked as broken: gnutls does not support threads yet disable the GNUTLS.\r\n*** Error code 1\r\n\r\nStop in \/usr\/ports\/print\/cups-client.\r\n<\/pre>\n<p>Initially, I tried to by-pass upgrading the cups-client using:<\/p>\n<pre>\r\nportmaster -Dai\r\n<\/pre>\n<p>However, it is very annoying to do it everyday, therefore I decide to solve this problem. <\/p>\n<div style=\"border-top:solid 1px #333; margin:20px 0px 20px 0px;\"><\/div>\n<h2>Solution<\/h2>\n<p>From the error message, it seems that the problem is caused by the additional option in cups-client: <strong>GNUTLS<\/strong>. So I decide to disable this option in the GNUTLS:<\/p>\n<pre>\r\ncd \/usr\/ports\/print\/cups-client\r\nsudo make config\r\n<\/pre>\n<p>Uncheck &#8220;GNUTLS: Build with GNUTLS instead of OpenSSL&#8221;<\/p>\n<p>and try to compile it again:<\/p>\n<pre>\r\nsudo make\r\n<\/pre>\n<p>Now re-run the portmaster:<\/p>\n<pre>\r\nsudo portmaster -Da\r\n<\/pre>\n<p>The problem is gone.<\/p>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I saw this message twice on two machines on two different days, end up using the same way to fix it. Case 1: Samba My Samba was down today, so <a class=\"more-link\" href=\"https:\/\/icesquare.com\/wordpress\/cups-client-1-4-8-is-marked-as-broken-gnutls-does-not-support-threads-yet-disable-the-gnutls\/\">Continue Reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[94,144,6,69],"tags":[171],"class_list":["post-1516","post","type-post","status-publish","format-standard","hentry","category-computer-problems-computer-help-pc-support","category-sever-problem","category-technology","category-troubleshooting-technology","tag-freebsd"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p1sqzr-os","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":2752,"url":"https:\/\/icesquare.com\/wordpress\/freebsd-samba-does-not-start-after-updating-to-3-5-14\/","url_meta":{"origin":1516,"position":0},"title":"[FreeBSD] Samba does not start after updating to 3.5.14","author":"Derrick","date":"April 11, 2012","format":false,"excerpt":"[ad#adbrite] After I updated my Samba to 3.5.14 on my FreeBSD box today, it stopped working. I couldn't connect to the Samba server from my Windows clients. Initially, I thought it was the memory cache issues, and I thought the problem would be solved by rebooting both machines. Unfortunately, it\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"\/wordpress\/wp-content\/uploads\/2011\/12\/computer-problem.jpg","width":350,"height":200},"classes":[]},{"id":3125,"url":"https:\/\/icesquare.com\/wordpress\/freebsdthe-netsamba35-port-has-been-deleted-obsoleted-by-netsamba36\/","url_meta":{"origin":1516,"position":1},"title":"[FreeBSD]The net\/samba35 port has been deleted: Obsoleted by net\/samba36","author":"Derrick","date":"February 11, 2013","format":false,"excerpt":"FreeBSD is designed for users who got lots of spare time. Every once a while, it will give you some troubles (or \"snacks\" in programmer language), which help you to burn some of your spare time. If you cannot handle these troubles, then FreeBSD is not for you. Although FreeBSD\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":705,"url":"https:\/\/icesquare.com\/wordpress\/softlink-symbolic-link-doesnt-work-on-samba-solved\/","url_meta":{"origin":1516,"position":2},"title":"Softlink \/ Symbolic Link doesn&#8217;t work on Samba &#8211; Solved","author":"Derrick","date":"May 6, 2010","format":false,"excerpt":"After upgrading my Samba servers (One is Ubuntu Linux, and the other one on Fedora Linux), I found that I can no longer access the symbolic links \/ soft links from Windows. It keeps returning \"permission error\", \"You don't have permission to access this folder\" etc. I am pretty sure\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":31,"url":"https:\/\/icesquare.com\/wordpress\/installing-apache-php-mysql-and-memcached-on-freebsd\/","url_meta":{"origin":1516,"position":3},"title":"Installing Apache, PHP, MySQL and MemCached on FreeBSD","author":"Derrick","date":"May 19, 2009","format":false,"excerpt":"This is my note on how to to install Apache, PHP, MySQL and MemCached on a FreeBSD 7 Box. 1. MySQL Go to the mysql52-server port directory by typing the command: cd \/usr\/ports\/databases\/mysql51-server Build the port by typing: make BUILD_OPTIMIZED=yes BUILD_STATIC=yes Using these two options will speed up the execution\u2026","rel":"","context":"In &quot;FreeBSD&quot;","block_context":{"text":"FreeBSD","link":"https:\/\/icesquare.com\/wordpress\/category\/sever-problem\/freebsd\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1028,"url":"https:\/\/icesquare.com\/wordpress\/mysql-starting-mysql-error-the-server-quit-without-updating-pid-file\/","url_meta":{"origin":1516,"position":4},"title":"MySQL: Starting MySQL&#8230;.. ERROR! The server quit without updating PID file","author":"Derrick","date":"November 12, 2010","format":false,"excerpt":"This step-by-step guide is mainly for FreeBSD, however the idea is the same for Linux. Every once a while, when I update my FreeBSD box, the system likes to shutdown my MySQL server. Therefore, I need to start it again after the update is done. Unfortunately, the upgrade process is\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3489,"url":"https:\/\/icesquare.com\/wordpress\/install-usrports-doc-inappropriate-file-type-or-format\/","url_meta":{"origin":1516,"position":5},"title":"install: \/usr\/ports\/&#8230;\/doc\/: Inappropriate file type or format","author":"Derrick","date":"March 5, 2014","format":false,"excerpt":"While I tried to upgrade both of my FreeBSD server (9 & 10) today, I got the following error: install: \/usr\/ports\/...\/doc\/: Inappropriate file type or format Actually, here is the complete error message: ===> Staging for memcached-1.4.17_1 ===> memcached-1.4.17_1 depends on shared library: libevent-2.0.so - found ===> Generating temporary packing\u2026","rel":"","context":"In &quot;Computer Problems&quot;","block_context":{"text":"Computer Problems","link":"https:\/\/icesquare.com\/wordpress\/category\/technology\/computer-problems-computer-help-pc-support\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/1516","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/comments?post=1516"}],"version-history":[{"count":10,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/1516\/revisions"}],"predecessor-version":[{"id":2869,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/posts\/1516\/revisions\/2869"}],"wp:attachment":[{"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/media?parent=1516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/categories?post=1516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/icesquare.com\/wordpress\/wp-json\/wp\/v2\/tags?post=1516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}