Art of BI: OBI 11g Patching on Linux – Setting Library Paths

By | In 11g, Art of BI | November 21st, 2010

OBI 11g has the cool new feature for patching an RPD.  Patching requires calling one of the OBI XML APIs which is all fine and dandy when it works.  Out of the Box on windows (don’t get me started) there shouldn’t be a problem but on Linux running any of the XML API commands such as biserverxmlgen will bump you into a library missing or version incompatible error.  A common error would be a complaint about libSEicu23so.

To avoid this, during configuration update a user’s profile file (bash_profile, etc.) with the additional LD_LIBRARY_PATH value path of [FMW_HOME]/Oracle_BI1/bifoundation/server/bin.

If you look in this directory there are a lot of shared library (.so) files hanging out.  Several are required by these API command executions and clearly must have the proper reference.  Additionally, duplicate shared libraries may exist already on the Operating System so you may wish to find a way not to confuse these libraries required by the OBI XML API’s to those that are innate to the OS.  You’ll see what I’m talking about as you attempt patching but initially our LD_LIBRARY_PATH contained the first two values of /lib:/usr/lib which was causing a problem.  So, for the OBI user’s bash_profile we move those value paths to follow the OBI 11g library path as seen in the screenshot below.  This fixed the issue and we were able to patch the RPD successfully via command-line API.

[simage=364,400,y,center]

Don’t forget that if you are mid-stride when you get this error and fix the LD_LIBRARY_PATH you will need to revitalize your profile by running, >./ ~/.bash_profile, or the like from the terminal window you are in then run the command after that to see your XML API call work.

Contact Us
Christian Screen
Christian is an innovator in analytics and data warehousing design, best practices, and delivery. With more than fifteenyears of decision support and data warehousing with key experiences at Office Depot HQ, Sierra-Cedar, and Capgemini, he oversees the Oracle Analytics Practice which includes the technical development and delivery of Oracle BI collaboration software, data warehouse solutions, Oracle BI/EPM projects, and packaged analytics solutions at Datavail.

Leave a Reply

Your email address will not be published.
Required fields are marked (*).