Back to Four Js Website
Four Js Customer Forum
Subscribe for automatic updates:
RSS
Sign in for full access
|
Help
Four Js Development Tools Forum
>
Discussions by product
>
Genero BDL
>
Genero BDL - Could not load database driver dbmdefault
Most recent posts
Pages: [
1
]
« previous
next »
Reply
|
Print
Author
Topic: Genero BDL - Could not load database driver dbmdefault (Read 11141 times)
Sundar K.
Posts: 17
Genero BDL - Could not load database driver dbmdefault
«
on:
July 28, 2009, 11:34:20 pm »
The error appears with: 'fgldbsch -st -ie -db standard' and when executing any program. Particulars are below.:
export FGLSQLDEBUG=1
fgldbsch -st -ie -db standard
DBI: Loading driver [/fitrix/fourjs_dev/dbdrivers/dbmdefault]...
Connection to database 'standard' failed.
-6366: Could not load database driver dbmdefault.
uname -a
Linux loki 2.6.9-78.0.5.ELsmp #1 SMP Wed Sep 24 05:40:24 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
/lib/libc.so.6 | head -1
GNU C Library stable release version 2.3.4, by Roland McGrath et al.
$ echo $LD_LIBRARY_PATH
/fitrix/fourjs_dev/lib:/fitrix/fourjs_dev/bin:/var/informix/ids10/lib:/var/informix/ids10/lib/esql
$ echo $FGLDIR
/fitrix/fourjs_dev
$ echo $INFORMIXDIR
/var/informix/ids10
$ echo $LD_LIBRARY_PATH_64
/fitrix/fourjs_dev/lib:/fitrix/fourjs_dev/bin:/var/informix/ids10/lib:/var/informix/ids10/lib/esql
$ fpi
Four J's Development Tools
Genero Business Development Language
Version 2.11.16
Build 1169.166
(c) 1989-2009 Four J's Development Tools
file $FGLDIR/lib/fglrun-bin
/fitrix/fourjs_dev/lib/fglrun-bin: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), stripped
ls -la /fitrix/fourjs_dev/dbdrivers/dbmdefault.so
lrwxrwxrwx 1 informix informix 11 Jul 27 14:08 /fitrix/fourjs_dev/dbdrivers/dbmdefault.so -> dbmifx9x.so
file /fitrix/fourjs_dev/dbdrivers/dbmifx9x.so
/fitrix/fourjs_dev/dbdrivers/dbmifx9x.so: ELF 64-bit LSB shared object, AMD x86-64, version 1 (SYSV), stripped
Sebastien F.
Posts: 545
Re: Genero BDL - Could not load database driver dbmdefault
«
Reply #1 on:
July 29, 2009, 08:32:09 am »
Thomas,
You should get better / immediate help for such kind of issue by contacting our support channel.
It appears that you are using a 64b version of FGL, are you sure you point to a 64b version of Informix client?
Please try following:
$ ldd -r /fitrix/fourjs_dev/dbdrivers/dbmifx9x.so
Seb
Reuben B.
Posts: 1113
Re: Genero BDL - Could not load database driver dbmdefault
«
Reply #2 on:
July 29, 2009, 08:50:02 am »
That particular error message "-6366: Could not load database driver dbmdefault" is one of the more common ones I see, normally in the context of an Application Server where the as.xcf does not have LD_LIBRARY_PATH set to include the database libraries.
What makes it not simple to solve is that the error message leads people to look at the environment and try and figure what is not set to that dbmdefault is read. In actual fact dbmdefault is typically found OK and in turn dbmdefault is trying to load a database library that is not in the environment and then it errors with that message.
If you have strace, use that to try and determine what file it can't load.
Product Consultant (Asia Pacific)
Developer Relations Manager (Worldwide)
Author of
https://4js.com/ask-reuben
Contributor to
https://github.com/FourjsGenero
Pages: [
1
]
Reply
|
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Discussion
=> Ask Reuben
=> WWDC21
-----------------------------
Discussions by product
-----------------------------
=> Products announcements
=> Genero BDL
=> GWS
=> GAS and GBC
=> GDC
=> Genero Mobile for Android or iOS
=> Genero Studio
=> Reporting tools (GRW, GRE)
-----------------------------
Jobs
-----------------------------
=> Jobs
Powered by SMF 1.1.21
|
SMF © 2015, Simple Machines
Loading...