[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:56:10 EDT 2008


Hi ,

libclntsh.so.10.1 is not found. Can you verify if the file is under /usr/lib/oracle?


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 4:53 PM
To: FDO Users Mail List
Subject: Re: [fdo-users] Error: An exception occurred in FDOcomponent.CLNT_8_UNABLE_TO_LOAD_LIBRARY

The answer to the command is

[root at lucas /]# ldd /usr/local/fdo-3.2.2/lib/libFdoRdbms.so
  linux-gate.so.1 =>  (0xffffe000)
  libSchemaMgr_OVOR.so => /usr/local/fdo-3.2.2/lib/libSchemaMgr_OVOR.so (0xf76b2000)
  libSchemaMgr_OV-3.2.2.so<http://3.2.2.so> => /usr/local/fdo-3.2.2/lib/libSchemaMgr_OV-3.2.2.so<http://3.2.2.so> (0xf767a000)
  libFDO-3.2.2.so<http://libFDO-3.2.2.so> => /usr/local/fdo-3.2.2/lib/libFDO-3.2.2.so<http://3.2.2.so> (0xf7328000)
  libpthread.so.0 => /lib/tls/libpthread.so.0 (0xf72ed000)
  libclntsh.so.10.1 => not found
  libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf7221000)
  libm.so.6 => /lib/tls/libm.so.6 (0xf71fe000)
  libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf71f4000)
  libc.so.6 => /lib/tls/libc.so.6 (0xf70c8000)
  libxalan-c.so => /usr/local/fdo-3.2.2/lib/libxalan-c.so (0xf6dc0000)
  libxalanMsg.so.17 => /usr/local/fdo-3.2.2/lib/libxalanMsg.so.17 (0xf6db7000)
  libxerces-c.so.25 => /usr/local/fdo-3.2.2/lib/libxerces-c.so.25 (0xf6a22000)
  libdl.so.2 => /lib/libdl.so.2 (0xf6a1e000)
  /lib/ld-linux.so.2 (0x56555000)
[root at lucas /]#


And yes, it is included in the LD_LIBRARY_PATH,
/usr/lib/oracle:/usr/lib:/usr/lib:/lib:/opt/Autodesk/mapguideenterprise2008/server/lib:/opt/Autodesk/mapguideenterprise2008/server/lib:/opt/Autodesk/mapguideenterprise2008/webserverextensions/lib:/opt/Autodesk/mapguideenterprise2008/webserverextensions/apache2/lib

or am I missing the inner directory /usr/lib/oracle/10.2.0.3/client64/lib

On Fri, Mar 28, 2008 at 3:48 PM, Jack Lee <jack.lee at autodesk.com<mailto:jack.lee at autodesk.com>> wrote:

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> [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 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



_______________________________________________
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/784a3c4b/attachment-0001.html


More information about the fdo-users mailing list