[fdo-users] Error: An exception occurred in FDOcomponent.CLNT_8_UNABLE_TO_LOAD_LIBRARY

Jack Lee jack.lee at autodesk.com
Fri Mar 28 16:48:26 EDT 2008


Hi,

If  you entered

ldd /usr/local/fdo-3.2.2/lib/libFdoRdbms.so

are all of the libraries found?

It looks like oracle is installed under /usr/lib/oracle/10.2.0.3/client64/lib but the path is not included in LD_LIBRARY_PATH.


From: fdo-users-bounces at lists.osgeo.org [mailto:fdo-users-bounces at lists.osgeo.org] On Behalf Of AmilkarQuintero
Sent: Friday, March 28, 2008 3:30 PM
To: FDO Users Mail List
Subject: Re: [fdo-users] Error: An exception occurred in FDOcomponent.CLNT_8_UNABLE_TO_LOAD_LIBRARY

Thanks A lot for your help, but the Autodesk Support in Linux is verrrryyyyyyyyyyyyyyyyyyyyyyyyyyyyyy disapointing for not saying an obscene word or phrase.  I created the case nearly a month ago and they "discovered" that my platform was not windows four days ago.
If any of you see or listen to something like my error, I'll be pleased thank
Bye

Amilkar
On Fri, Mar 28, 2008 at 2:23 PM, Andy Morsell <amorsell at spatialgis.com<mailto:amorsell at spatialgis.com>> wrote:
I'm with Jason at this point.  Obtaining support directly from Autodesk for the non open-source Oracle provider would probably be your best bet.......


Andy

________________________________
From: fdo-users-bounces at lists.osgeo.org<mailto:fdo-users-bounces at lists.osgeo.org> [mailto:fdo-users-bounces at lists.osgeo.org<mailto:fdo-users-bounces at lists.osgeo.org>] On Behalf Of AmilkarQuintero
Sent: Friday, March 28, 2008 12:18 PM
To: FDO Users Mail List
Subject: Re: [fdo-users] Error: An exception occurred in FDOcomponent.CLNT_8_UNABLE_TO_LOAD_LIBRARY
Andy

The entry in the providers.xml file has the provider i am invoking
  <FeatureProvider>
    <Name>Autodesk.Oracle.3.2</Name>
    <DisplayName>Autodesk FDO Provider for Oracle</DisplayName>
    <Description>Read/write access to feature data in an Oracle-based data store
. Supports spatial indexing, long transactions, and persistent locking.</Descrip
tion>
    <IsManaged>False</IsManaged>
    <Version>3.2.2.0<http://3.2.2.0></Version>
    <FeatureDataObjectsVersion>3.2.2.0<http://3.2.2.0></FeatureDataObjectsVersion>
    <LibraryPath>/usr/local/fdo-3.2.2/lib/libFdoRdbms.so</LibraryPath>
  </FeatureProvider>

and the .so file is there too
libFdoRdbms.so

the LD_LIBRARY_PATH points to every lib path in the server
/usr/lib/oracle:/usr/lib:/usr/lib:/lib:/opt/Autodesk/mapguideenterprise2008/serv
er/lib:/opt/Autodesk/mapguideenterprise2008/server/lib:/opt/Autodesk/mapguideent
erprise2008/webserverextensions/lib:/opt/Autodesk/mapguideenterprise2008/webserv
erextensions/apache2/lib

What could have been wrong with the installation

Thanks

Amilkar

On Fri, Mar 28, 2008 at 11:49 AM, Andy Morsell <amorsell at spatialgis.com<mailto:amorsell at spatialgis.com>> wrote:
This error generally means that the particular FDO provider that is being referenced by a layer definition is not installed on the server.  Take a look in your /usr/local/fdo-3.3.0/lib directory at the providers.xml file.  In that file, find the provider entry for the provider you are trying to use, look at the LibraryPath and see if the .so file that is referenced exists in that directory.  If not, your initial FDO compilation did not create that provider and you will have to trouble-shoot your FDO configure / make process to see if you are missing any environment variables, library dependencies, etc.

This page has information that might be helpful: http://mapguide.osgeo.org/2.0/docs/BuildInstallQuickStartLinux.html.  Also, be sure to look in your FDO source folder (OpenSource_FDO) for the OpenSourceBuild__README.txt file which has important information regarding building FDO with specific provider support.


Andy Morsell, P.E.
Spatial Integrators, Inc.
http://www.SpatialGIS.com

________________________________
From: fdo-users-bounces at lists.osgeo.org<mailto:fdo-users-bounces at lists.osgeo.org> [mailto:fdo-users-bounces at lists.osgeo.org<mailto:fdo-users-bounces at lists.osgeo.org>] On Behalf Of AmilkarQuintero
Sent: Friday, March 28, 2008 8:34 AM

To: fdo-users at lists.osgeo.org<mailto:fdo-users at lists.osgeo.org>
Subject: [fdo-users] Error: An exception occurred in FDO component.CLNT_8_UNABLE_TO_LOAD_LIBRARY

Hi, the following error is generated to the Error.Log file in my installation in Linux RH 4 ES.  Has anyone solved this?



<2008-03-28T10:20:14>            Administrator









 Error: An exception occurred in FDO component.

        CLNT_8_UNABLE_TO_LOAD_LIBRARY

 StackTrace:

  - MgFeatureServiceHandler.ProcessOperation line 83 file FeatureServiceHandler.cpp

  - MgOpTestFeatureSourceConnection.Execute line 103 file OpTestFeatureSourceConnection.cpp









  - MgFdoConnectionManager.Open line 259 file FdoConnectionManager.cpp    An exception occurred in FDO component.

CLNT_8_UNABLE_TO_LOAD_LIBRARY



Thanks in advance



here I send some data about my installation









-------------------------------------------

 *   The mapserver is Autodesk Mapguide 2008 Enterprise for Linux
 *   Linux lucas.siicar.com<http://lucas.siicar.com> 2.6.9-67.0.7.ELsmp #1 SMP Wed Feb 27 04:47:23 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
 *   The Oracle Instant Client installation
 *   /usr/lib/oracle/10.2.0.3/client64/lib
[root at lucas lib]# ls
libclntsh.so.10.1  libnnz10.so  libocci.so.10.1  libociei.so  libocijdbc10.so  ojdbc14.jar
[root at lucas lib]#
In another server we have the Oracle Database with the Spatial Tables we are trying to access

 *   The Oracle Server, Oracle RDBMS 10g Release 2
 *   Linux juan.siicar.com<http://juan.siicar.com> 2.6.18-53.1.14.el5 #1 SMP Tue Feb 19 07:18:46 EST 2008 x86_64 x86_64 x86_64 GNU/Linux

 *   Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
 *   PL/SQL Release 10.2.0.1.0 - Production
 *   CORE    10.2.0.1.0      Production
 *   TNS for Linux: Version 10.2.0.1.0 - Production
 *   NLSRTL Version 10.2.0.1.0 - Production
-------------------------------------------


Amilkar Quintero G.

_______________________________________________
fdo-users mailing list
fdo-users at lists.osgeo.org<mailto:fdo-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/fdo-users


_______________________________________________
fdo-users mailing list
fdo-users at lists.osgeo.org<mailto:fdo-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/fdo-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fdo-users/attachments/20080328/c8e442b9/attachment-0001.html


More information about the fdo-users mailing list