Re: esql libixsql.so error
Posted in 1998
Art S. Kagel — — source: Informix-list mailing list archive (1991-1998)
sjsyau@my-dejanews.com wrote: > > I try to compile and run the following ec, the compiling is fine, but when I > run it, I got error: > > ld.so.1: 1: fatal: libixsql.so: can't open file: errno=2 > > I found the libixsql.so is in $INFORMIXDIR/lib/esql Is there a symbolic link in /usr/lib that points to libixsql.so? If not then as root: ln -s $INFORMIXDIR/lib/esql/libixsql.so /usr/lib/libixsql.so Alternatively you can link statically so that the shared library is not needed at runtime by adding the -static flag to esql. Art S. Kagel