Re: ESQL\\C on Linux errors...
Posted in 1999
Topics: Installation, Setup & Upgrades, Connectivity: ESQL/C, 4GL & Embedded SQL, Platform-Specific Issues
Shell variable LD_LIBRARY_PATH indicates the pathes where the
shared libraries are, and so it should include the path to the
Informix libraries, e.g.:
gate.$ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$INFORMIXDIR/lib/esql
gate.$ export LD_LIBRARY_PATH
HTH
Alex
On Mon, May 31, 1999 at 07:33:35PM +0000, sandeep.singh@usa.net wrote:
> Hello all!
>
> Just installed IDS (7.3) Suite for Linux (RedHat 6.0/Kernel 2.2.5).
> Installed IDS, I-Connect and the Client SDK. Everything installed
> w/o errors. I went on to compile a small test app. in ESQL\\C and it
> compiled w/o errors. When I run it, it gives an error referring to
> the fact that it cannot find "libifsql.so". I added the path to the
> ESQL\\C lib directory ($INFORMIXDIR/lib/esql) during compile with the
> the -I option but to no avail. Has anybody seen something similar?
> Any suggestions, comments will be greatly appreciated. Here is the
> screen capture.
>
>
> [rustom@zobar esql]$ ls -l
> -rwxr-xr-x 1 rustom rustom 925 May 30 18:48 ndri.ec
> [rustom@zobar esql]$ esql -o ndri.exe ndri.ec
> [rustom@zobar esql]$ ls -l
> -rw-rw-r-- 1 rustom rustom 30384 May 30 23:06 ndri.c
> -rwxr-xr-x 1 rustom rustom 925 May 30 18:48 ndri.ec
> -rwxrwxr-x 1 rustom rustom 14700 May 30 23:07 ndri.exe
> [rustom@zobar esql]$ ./ndri.exe
> ./ndri.exe: error in loading shared libraries: libifsql.so: cannot open
> shared object file: No such file or directory
> [rustom@zobar esql]$ ls -l /opt/informix/lib/esql/libifsql.*
> -rw-r--r-- 1 informix informix 274522 May 30 19:15
> /opt/informix/lib/esql/libifsql.a
> -rwxr-xr-x 3 informix informix 238532 Dec 7 22:53
> /opt/informix/lib/esql/libifsql.so
> [rustom@zobar esql]$
>
>
> Thanks,
>
> Sandeep
>
>
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.
--
Alexander Sclearuc Phone: (373 2) 229968, 229967
NetInfo S.R.L. Fax: (373 2) 213659
Chisinau http://www.netinfo-moldova.com
Moldova, Republic of mailto:avs@netinfo-moldova.com