{"id":468,"date":"2009-10-04T17:45:25","date_gmt":"2009-10-04T15:45:25","guid":{"rendered":"http:\/\/www.netexpertise.eu\/en\/?p=468"},"modified":"2015-08-03T17:14:01","modified_gmt":"2015-08-03T15:14:01","slug":"compiling-freeradius-with-oracle-support","status":"publish","type":"post","link":"http:\/\/www.netexpertise.eu\/en\/networking\/freeradius\/compiling-freeradius-with-oracle-support.html","title":{"rendered":"Compiling Freeradius with Oracle Support"},"content":{"rendered":"<h3>Compilation Error?<\/h3>\n<div style=\"float:left; margin-right:15px; margin-top:0px;\">\n<script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script><br \/>\n<!-- 200x200, Netexpertise --><br \/>\n<ins class=\"adsbygoogle\"\n     style=\"display:inline-block;width:200px;height:200px\"\n     data-ad-client=\"ca-pub-6495750100906580\"\n     data-ad-slot=\"1946825373\"><\/ins><br \/>\n<script>\n(adsbygoogle = window.adsbygoogle || []).push({});\n<\/script>\n<\/div>\n<p>The Oracle client being installed (11g R2 in my setup), <a href=\"http:\/\/www.freeradius.org\">Freeradius<\/a> doesn&#8217;t seem to find Oracle headers.<br \/>\nI get the following error message:<\/p>\n<pre>\r\nError compiling Oracle\/Freeradius\r\nconfigure: WARNING: oracle headers not found. \r\nUse --with-oracle-home-dir=&lt;path&gt;.\r\nconfigure: WARNING: silently not building rlm_sql_oracle.\r\nconfigure: WARNING: FAILURE: rlm_sql_oracle requires: oci.h.\r\n<\/pre>\n<p>&nbsp;<br \/>\nSpecifying the path to &#8211;with-oracle-home-dir doesn&#8217;t change anything at all.<br \/>\n&nbsp;<\/p>\n<h3>Installing Oracle Client<\/h3>\n<p>Install Oracle runtime client to get necessary headers for applications.<br \/>\nI won&#8217;t focus on this since this is not the subject. More information is available on <a href=\"http:\/\/www.oracle.com\/pls\/db112\/portal.portal_db?selected=11&#038;frame=\">Oracle<\/a>.<br \/>\n&nbsp;<\/p>\n<h3>Compiling Freeradius<\/h3>\n<p>I thought I could get out of this giving the compiler the path to oci.h like:<\/p>\n<pre>\r\nCFLAGS=-I\/home\/oracle\/app\/oracle\/product\/11.2.0\/client_1\/rdbms\/public\r\n<\/pre>\n<p>&nbsp;<\/p>\n<div id=\"imgright\">\n<a href=\"http:\/\/www.amazon.com\/gp\/product\/0596003226?ie=UTF8&#038;tag=netexpertise-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=0596003226\"><img decoding=\"async\" border=\"0\" src=\"\/images\/515P9wrhIEL._SL110_.jpg\"><\/a><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/www.assoc-amazon.com\/e\/ir?t=netexpertise-20&#038;l=as2&#038;o=1&#038;a=0596003226\" width=\"1\" height=\"1\" border=\"0\" alt=\"\" style=\"border:none !important; margin:0px !important;\" \/>\n<\/div>\n<p>But, I am still getting errors. Before finding out environment variables need to be set as for any Oracle user:<\/p>\n<pre>\r\nORACLE_BASE=\/home\/oracle\/app\/oracle\r\nORACLE_HOME=\/home\/oracle\/app\/oracle\/product\/11.2.0\/client_1\r\n<\/pre>\n<p>Freeradius has automated libraries detection with Oracle variables.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Compilation Error? The Oracle client being installed (11g R2 in my setup), Freeradius doesn&#8217;t seem to find Oracle headers. I get the following error message: Error compiling Oracle\/Freeradius configure: WARNING: oracle headers not found. Use &#8211;with-oracle-home-dir=&lt;path&gt;. configure: WARNING: silently not building rlm_sql_oracle. configure: WARNING: FAILURE: rlm_sql_oracle requires: oci.h. &nbsp; Specifying the path to &#8211;with-oracle-home-dir doesn&#8217;t [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[3,16],"tags":[157,384,387],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Netexpertise - Compiling Freeradius with Oracle Support<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/www.netexpertise.eu\/en\/networking\/freeradius\/compiling-freeradius-with-oracle-support.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Netexpertise - Compiling Freeradius with Oracle Support\" \/>\n<meta property=\"og:description\" content=\"Compilation Error? The Oracle client being installed (11g R2 in my setup), Freeradius doesn&#8217;t seem to find Oracle headers. I get the following error message: Error compiling Oracle\/Freeradius configure: WARNING: oracle headers not found. Use --with-oracle-home-dir=&lt;path&gt;. configure: WARNING: silently not building rlm_sql_oracle. configure: WARNING: FAILURE: rlm_sql_oracle requires: oci.h. &nbsp; Specifying the path to &#8211;with-oracle-home-dir doesn&#8217;t [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"http:\/\/www.netexpertise.eu\/en\/networking\/freeradius\/compiling-freeradius-with-oracle-support.html\" \/>\n<meta property=\"og:site_name\" content=\"Netexpertise\" \/>\n<meta property=\"article:published_time\" content=\"2009-10-04T15:45:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-08-03T15:14:01+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.assoc-amazon.com\/e\/ir?t=netexpertise-20&l=as2&o=1&a=0596003226\" \/>\n<meta name=\"author\" content=\"dave\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@netexpertise\" \/>\n<meta name=\"twitter:site\" content=\"@netexpertise\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/networking\/freeradius\/compiling-freeradius-with-oracle-support.html\",\"url\":\"http:\/\/www.netexpertise.eu\/en\/networking\/freeradius\/compiling-freeradius-with-oracle-support.html\",\"name\":\"Netexpertise - Compiling Freeradius with Oracle Support\",\"isPartOf\":{\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#website\"},\"datePublished\":\"2009-10-04T15:45:25+00:00\",\"dateModified\":\"2015-08-03T15:14:01+00:00\",\"author\":{\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa\"},\"breadcrumb\":{\"@id\":\"http:\/\/www.netexpertise.eu\/en\/networking\/freeradius\/compiling-freeradius-with-oracle-support.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/www.netexpertise.eu\/en\/networking\/freeradius\/compiling-freeradius-with-oracle-support.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/networking\/freeradius\/compiling-freeradius-with-oracle-support.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/www.netexpertise.eu\/en\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Compiling Freeradius with Oracle Support\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#website\",\"url\":\"http:\/\/www.netexpertise.eu\/en\/\",\"name\":\"Netexpertise\",\"description\":\"Systems \/ Networks \/ DevOps\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/www.netexpertise.eu\/en\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa\",\"name\":\"dave\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g\",\"caption\":\"dave\"},\"sameAs\":[\"http:\/\/www.netexpertise.eu\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Netexpertise - Compiling Freeradius with Oracle Support","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/www.netexpertise.eu\/en\/networking\/freeradius\/compiling-freeradius-with-oracle-support.html","og_locale":"en_US","og_type":"article","og_title":"Netexpertise - Compiling Freeradius with Oracle Support","og_description":"Compilation Error? The Oracle client being installed (11g R2 in my setup), Freeradius doesn&#8217;t seem to find Oracle headers. I get the following error message: Error compiling Oracle\/Freeradius configure: WARNING: oracle headers not found. Use --with-oracle-home-dir=&lt;path&gt;. configure: WARNING: silently not building rlm_sql_oracle. configure: WARNING: FAILURE: rlm_sql_oracle requires: oci.h. &nbsp; Specifying the path to &#8211;with-oracle-home-dir doesn&#8217;t [&hellip;]","og_url":"http:\/\/www.netexpertise.eu\/en\/networking\/freeradius\/compiling-freeradius-with-oracle-support.html","og_site_name":"Netexpertise","article_published_time":"2009-10-04T15:45:25+00:00","article_modified_time":"2015-08-03T15:14:01+00:00","og_image":[{"url":"http:\/\/www.assoc-amazon.com\/e\/ir?t=netexpertise-20&l=as2&o=1&a=0596003226"}],"author":"dave","twitter_card":"summary_large_image","twitter_creator":"@netexpertise","twitter_site":"@netexpertise","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"http:\/\/www.netexpertise.eu\/en\/networking\/freeradius\/compiling-freeradius-with-oracle-support.html","url":"http:\/\/www.netexpertise.eu\/en\/networking\/freeradius\/compiling-freeradius-with-oracle-support.html","name":"Netexpertise - Compiling Freeradius with Oracle Support","isPartOf":{"@id":"http:\/\/www.netexpertise.eu\/en\/#website"},"datePublished":"2009-10-04T15:45:25+00:00","dateModified":"2015-08-03T15:14:01+00:00","author":{"@id":"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa"},"breadcrumb":{"@id":"http:\/\/www.netexpertise.eu\/en\/networking\/freeradius\/compiling-freeradius-with-oracle-support.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/www.netexpertise.eu\/en\/networking\/freeradius\/compiling-freeradius-with-oracle-support.html"]}]},{"@type":"BreadcrumbList","@id":"http:\/\/www.netexpertise.eu\/en\/networking\/freeradius\/compiling-freeradius-with-oracle-support.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/www.netexpertise.eu\/en"},{"@type":"ListItem","position":2,"name":"Compiling Freeradius with Oracle Support"}]},{"@type":"WebSite","@id":"http:\/\/www.netexpertise.eu\/en\/#website","url":"http:\/\/www.netexpertise.eu\/en\/","name":"Netexpertise","description":"Systems \/ Networks \/ DevOps","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/www.netexpertise.eu\/en\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/cb4cd666549d22e9070ec1cfc1a496fa","name":"dave","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/www.netexpertise.eu\/en\/#\/schema\/person\/image\/","url":"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g","contentUrl":"http:\/\/1.gravatar.com\/avatar\/1129916e1f4955bd632f27f836f64e55?s=96&d=mm&r=g","caption":"dave"},"sameAs":["http:\/\/www.netexpertise.eu"]}]}},"_links":{"self":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/posts\/468"}],"collection":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/comments?post=468"}],"version-history":[{"count":0,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/posts\/468\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/media?parent=468"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/categories?post=468"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.netexpertise.eu\/en\/wp-json\/wp\/v2\/tags?post=468"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}