fgldb doesn't work in my environment
Posted in 2011
Topics: Installation, Setup & Upgrades, Connectivity: ESQL/C, 4GL & Embedded SQL
Hi, I installed Informix 4GL RDS Developement 7.50 FC5 on my server. The command r4gl works well and I can compile my 4GL programs. When I want to run fgldb command, I have the message : fgldb: error while loading shared libraries: libiffgisql.so: wrong ELF class: ELFCLASS64 I checked, the library libiffgisql.so is installed in the directory $INFORMIXDIR/lib/esql When I run the unix command "file" for this library, I have the following message : cd $INFORMIXDIR/lib/esql file libiffgisql.so libiffgisql.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped Do you know the solution ? Regards, -- Franck Thomas ConsultiX franck.thomas@consult-ix.fr Téléphone : 33 (0) 1 39 12 18 00 Mobile : 33 (0) 6 78 81 09 33 Fax : 33 (0) 1 39 12 18 18
What does 'file' say about fgldb? Art Art S. Kagel Advanced DataTools (www.advancedatatools.com) Blog: http://informix-myview.blogspot.com/ Disclaimer: Please keep in mind that my own opinions are my own opinions and do not reflect on my employer, Advanced DataTools, the IIUG, nor any other organization with which I am associated either explicitly, implicitly, or by inference. Neither do those opinions reflect those of other individuals affiliated with any entity with which I am affiliated nor those of the entities themselves. On Mon, Sep 19, 2011 at 8:46 PM, Franck THOMAS <franck.thomas@consult-ix.fr>wrote: > Hi, > > I installed Informix 4GL RDS Developement 7.50 FC5 on my server. > The command r4gl works well and I can compile my 4GL programs. > > When I want to run fgldb command, I have the message : > fgldb: error while loading shared libraries: libiffgisql.so: wrong ELF > class: ELFCLASS64 > > I checked, the library libiffgisql.so is installed in the directory > $INFORMIXDIR/lib/esql > > When I run the unix command "file" for this library, I have the > following message : > cd $INFORMIXDIR/lib/esql > file libiffgisql.so > libiffgisql.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), > dynamically linked, not stripped > > Do you know the solution ? > > Regards, > > -- > Franck Thomas > ConsultiX > franck.thomas@consult-ix.fr > Téléphone : 33 (0) 1 39 12 18 00 > Mobile : 33 (0) 6 78 81 09 33 > Fax : 33 (0) 1 39 12 18 18 > > > > ******************************************************************************* > Forum Note: Use "Reply" to post a response in the discussion forum. > > --20cf303bfbc4820d7a04ad54d82f
check ownership and permissions (should be informix/informix and 775 or 755) can you Debug via the r4gl menu as opposed to running fgldb from the command line? On Mon, 19 Sep 2011 20:46:47 -0400 (EDT), you wrote: >Hi, > >I installed Informix 4GL RDS Developement 7.50 FC5 on my server. >The command r4gl works well and I can compile my 4GL programs. > >When I want to run fgldb command, I have the message : >fgldb: error while loading shared libraries: libiffgisql.so: wrong ELF >class: ELFCLASS64 > >I checked, the library libiffgisql.so is installed in the directory >$INFORMIXDIR/lib/esql > >When I run the unix command "file" for this library, I have the >following message : >cd $INFORMIXDIR/lib/esql >file libiffgisql.so >libiffgisql.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), >dynamically linked, not stripped > >Do you know the solution ? > >Regards,
Hi Art, "file fgldb" says : fgldb: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.2.5, not stripped I have the 32 bit executable instead of the 64 bits executable. I re-installed the product "Informix 4GL interactive debugger 64 bits" and it works ! Thank you for your help. Le 20/09/2011 02:50, Art Kagel a écrit : > What does 'file' say about fgldb? > > Art > > Art S. Kagel > Advanced DataTools (www.advancedatatools.com) > Blog: http://informix-myview.blogspot.com/ > > Disclaimer: Please keep in mind that my own opinions are my own opinions and > do not reflect on my employer, Advanced DataTools, the IIUG, nor any other > organization with which I am associated either explicitly, implicitly, or by > inference. Neither do those opinions reflect those of other individuals > affiliated with any entity with which I am affiliated nor those of the > entities themselves. > > On Mon, Sep 19, 2011 at 8:46 PM, Franck THOMAS > <franck.thomas@consult-ix.fr>wrote: > >> Hi, >> >> I installed Informix 4GL RDS Developement 7.50 FC5 on my server. >> The command r4gl works well and I can compile my 4GL programs. >> >> When I want to run fgldb command, I have the message : >> fgldb: error while loading shared libraries: libiffgisql.so: wrong ELF >> class: ELFCLASS64 >> >> I checked, the library libiffgisql.so is installed in the directory >> $INFORMIXDIR/lib/esql >> >> When I run the unix command "file" for this library, I have the >> following message : >> cd $INFORMIXDIR/lib/esql >> file libiffgisql.so >> libiffgisql.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), >> dynamically linked, not stripped >> >> Do you know the solution ? >> >> Regards, >> >> -- >> Franck Thomas >> ConsultiX >> franck.thomas@consult-ix.fr >> Téléphone : 33 (0) 1 39 12 18 00 >> Mobile : 33 (0) 6 78 81 09 33 >> Fax : 33 (0) 1 39 12 18 18 >> >> >> >> > ******************************************************************************* >> Forum Note: Use "Reply" to post a response in the discussion forum. >> >> > --20cf303bfbc4820d7a04ad54d82f > > > ******************************************************************************* > Forum Note: Use "Reply" to post a response in the discussion forum. > > -- Franck Thomas ConsultiX franck.thomas@consult-ix.fr Téléphone : 33 (0) 1 39 12 18 00 Mobile : 33 (0) 6 78 81 09 33 Fax : 33 (0) 1 39 12 18 18