Re: Using ESQL/C on SCO-OpenServer
Posted in 1999
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
Hi, Set the LD_LIBRARY_PATH to contain the $INFORMIXDIR/lib and $INFORMIXDIR/lib/esql directories (or whatether directories that contains the .so libraries). Don't forget to export :-) Hope this helps, Octav Juergen Ritter wrote: > > Hi, > > I have big trouble using ESQL/C (ClientSDK 2.30) on a SCO-OpenServer 5.0.4 > (with Informix Online 7.23UC13) I am using the c-compiler from the SCO > OpenServer DevelopmentSystem. After preprocessing and compiling everything > seem to be ok, the binary file was created. But if I start the programm I > only get an error: "dynamic linker : ./waeinbu : error opening libifsql.so" > I don't get any error when I use esql with the parameter "-static", but the > binaries are getting very big (up to 6,5 MB!). Setting the LIBDIR- and > LLIBDIR-Variables didn't help. Was goes wrong her? > > bye > Juergen -- Octav Chiriac Phone: (373) 2 22 99 67 NetInfo S.R.L. Fax: (373) 2 21 36 59 Chisinau (373) 2 22 84 88 Moldova, Republic of mailto:com@netinfo-moldova.com
Octav Chiriac <com@netinfo-moldova.com> wrote: > > Hi, > > Set the LD_LIBRARY_PATH to contain the $INFORMIXDIR/lib and > $INFORMIXDIR/lib/esql directories (or whatether directories > that contains the .so libraries). Don't forget to export :-) > Unfortunately it appears that if you are using 4GL as well and have this set then you will get something like: [pigment.dircon.net] $ make salesmon.4ge c4gl -o salesmon.4ge salesmon.o Undefined first referenced symbol in file getspnam /usr/informix/lib/tools/libos.a(ospasswd.o) salesmon.4ge: fatal error: Symbol referencing errors. No output written to sales mon.4ge If you need to work with both then you might want to build static esql/c programs or unset LD_LIBRARY_PATH while compiling 4GL programs. /J\\ -- "Mr Creutzfeldt and Mr Jakob: No-one had ever heard of these two eminent medical men until someone had the