Re: sqlcmd compile error.
Posted in 2011
Do you have the CSDK installed? Are its lib and lib/esql directories
included in the LD_LIBRARY_PATH environment variable?
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 Tue, Sep 27, 2011 at 9:01 AM, Roy Mercer <roy.mercer@gmail.com> wrote:
> OS:
> Linux version 2.6.18-238.9.1.el5
> (mockbuild@x86-002.build.bos.redhat.com) (gcc version 4.1.2 20080704
> (Red Hat 4.1.2-50)) #1 SMP Fri Mar 18 12:42:39 EDT 2011
>
> Informix CSDK:
> Program Name: esqlc
> Build Version: 3.70.FC3
> Build Number: N112
> Build Host: hans
> Build OS: Linux 2.6.18-128.el5
> Build Date: Thu Jun 16 05:36:33 CDT 2011
> GLS Version: glslib-5.00.FC4
>
> Informix ENV:
> DBDATE=Y4MD-> HOME=/home/informix
> INFORMIXDIR=/az/ifxtools64
> INFORMIXSQLHOSTS=/az/ifxtools64/etc/sqlhosts.dbaccess> LIBPATH=:/az/ifxtools64/lib:/az/ifxtools64/lib/esql:/az/ifxtools64/lib/
> c++:/az/ifxtools64/lib/cli:/az/ifxtools64/lib/dmi:/usr/lib
> PATH=/usr/local/bin:/bin:/usr/bin:/az/ifxtools64/bin> SHELL=/bin/ksh
> TERM=vt100
> TERMCAP=/az/ifxtools64/etc/termcap
>
>
> Error from the configure command to compile sqlcmd:
> checking for popen... yes
> checking for vsnprintf... yes
> checking for mkstemp... yes
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... no
> checking readline/readline.h usability... no
> checking readline/readline.h presence... no
> checking for readline/readline.h... no
> No GNU readline header - not looking for libraries
> checking for /dev/stdin, /dev/stdout, /dev/stderr... yes
> checking for INFORMIXDIR... /az/ifxtools64
> checking for ESQL/C compiler and version... compiler esql (version
> 370)
> checking for 32-bit vs 64-bit ESQL/C... 64 bits
> checking ESQL/C compiler works... ./esqlc-3227: error while loading
> shared libraries: libifsql.so: cannot open shared object file: No such
> file or directory
> configure: error: failed
>
>
> The file is located in $INFORMIXDIR/lib/esql and this is included in
> the LIBPATH
> -rw-r--r-- 2 informix informix 558090 Jun 16 05:39 /az/ifxtools64/lib/
> esql/libifsql.a
> -rwxr-xr-x 3 informix informix 386037 Jun 16 05:39 /az/ifxtools64/lib/
> esql/libifsql.so
>
> Any ideas?
> I just ran the configure out of the box and made no changes.
> I also tried with setting:
> CC="gcc -m64" ./configure
>
>
> Thanks
> _______________________________________________
> Informix-list mailing list
> Informix-list@iiug.org
> http://www.iiug.org/mailman/listinfo/informix-list
>