I4GL cannot compile a basic program
Posted in 2007
A user running I4GL 7.32 with IDS 10 on SUSE 9 couldn't build a trivial "hello" program: linking failed with "ld: cannot find -lifsql". Suggestions were that the library search path wasn't being picked up: set/export LD_LIBRARY_PATH properly (and also LIBPATH/SHLIB_PATH), verify with 'export | grep LD_LIBRARY_PATH' since Bourne shell needs re-exporting, and add $INFORMIXDIR/lib, lib/esql, lib/cli and /usr/local/lib to /etc/ld.so.conf. The poster never confirmed a fix, so no resolution is recorded.
Auto-generated by DrWatson from the posts below — may be imperfect; read the full thread.
Topics: Installation, Setup & Upgrades, Stored Procedures & SPL, Connectivity: ESQL/C, 4GL & Embedded SQL
Hi All,
I have installed IDS10 UC4 in SUSE 9 ES as follows
I4GL Compiler developer v7.32 UC3
I4GL ID v7.32 UC3
ISQL v7.32 UC3
IDS 10 UC4
I have also set
LD_LIBRARY_PATH=$INFORMIXDIR/lib:$INFORMIXDIR/lib/tools:$INFORMIXDIR/lib/esql
everything is working fine, but when i created a sample module using i4gl as
follows:
main
display "hello"
end main
saved the file and selected option runnable
it gave me error -4604 Errors Found in 4gl Module
The following errors were discovered during compilation.
|
|/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld:
cann
ot find -lifsql
|collect2: ld returned 1 exit status
|
main
display "hello"
end main
Please let me know whether i have to install any additional software or any
path has to be set. it's very urgent please help me out.
Thanks
Deepak Biswas
DEEPAK BISWAS said:
> Hi All,
> I have installed IDS10 UC4 in SUSE 9 ES as follows
> I4GL Compiler developer v7.32 UC3
> I4GL ID v7.32 UC3
> ISQL v7.32 UC3
> IDS 10 UC4
>
> I have also set
> LD_LIBRARY_PATH=$INFORMIXDIR/lib:$INFORMIXDIR/lib/tools:$INFORMIXDIR/lib/esql
It may not be LD_LIBRARY_PATH that you need to set. It could be LIBPATH or
some other name. Unfortunately, I can't remember what it should be for
Linux.
Don't you just love standards?
> everything is working fine, but when i created a sample module using i4gl
> as
> follows:
>
> main
> display "hello"
> end main
>
> saved the file and selected option runnable
>
> it gave me error -4604 Errors Found in 4gl Module
>
> The following errors were discovered during compilation.
> |
> |/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld:
> cann
> ot find -lifsql
> |collect2: ld returned 1 exit status
> |
>
> main
> display "hello"
> end main
>
> Please let me know whether i have to install any additional software or
> any
> path has to be set. it's very urgent please help me out.
>
> Thanks
> Deepak Biswas
>
>
>
*******************************************************************************
> Forum Note: Use "Reply" to post a response in the discussion forum.
>
>
> --
> This message has been scanned for viruses and
> dangerous content by OpenProtect(http://www.openprotect.com), and is
> believed to be clean.
>
--
Bye now,
Obnoxio
"I'm astonished anyone pays real money for this crap."
-- Cosmo
"Cluster in my trousers"
-- Guy Bowerman
--
This message has been scanned for viruses and
dangerous content by OpenProtect(http://www.openprotect.com), and is
believed to be clean.
Add it to;
LD_LIBRARY_PATH
LIBPATH
SHLIB_PATH
and you should cover all possibilities.
Bob Roussey
Unix / Informix Administration
Spirit Airlines
Robert.Roussey@SpiritAir.com
-----Original Message-----
From: ids-bounces@iiug.org [mailto:ids-bounces@iiug.org] On Behalf Of
DEEPAK BISWAS
Sent: Wednesday, August 22, 2007 2:01 AM
To: ids@iiug.org
Subject: I4GL cannot compile a basic program [9834]
Hi All,
I have installed IDS10 UC4 in SUSE 9 ES as follows
I4GL Compiler developer v7.32 UC3
I4GL ID v7.32 UC3
ISQL v7.32 UC3
IDS 10 UC4
I have also set
LD_LIBRARY_PATH=$INFORMIXDIR/lib:$INFORMIXDIR/lib/tools:$INFORMIXDIR/lib/esql
everything is working fine, but when i created a sample module using
i4gl as
follows:
main
display "hello"
end main
saved the file and selected option runnable
it gave me error -4604 Errors Found in 4gl Module
The following errors were discovered during compilation.
|
|/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/
ld:
cann
ot find -lifsql
|collect2: ld returned 1 exit status
|
main
display "hello"
end main
Please let me know whether i have to install any additional software or
any
path has to be set. it's very urgent please help me out.
Thanks
Deepak Biswas
************************************************************************
*******
Forum Note: Use "Reply" to post a response in the discussion forum.
Make sure that you have exported LD_LIBRARY_PATH. If you are using Bourne
shell (/usr/bin/sh) then you have to export it again after any changes (only
have to export once for Korn shell or Bash). To check if it's been exported
with the new values you can:
export|grep LD_LIBRARY_PATH
(not env but export - env shows current shell's values some of which have not
been exported)
Art S. Kagel
----- Original Message -----
From: Deepak Biswas <ids@iiug.org>
At: 8/22 2:01:36
Hi All,
I have installed IDS10 UC4 in SUSE 9 ES as follows
I4GL Compiler developer v7.32 UC3
I4GL ID v7.32 UC3
ISQL v7.32 UC3
IDS 10 UC4
I have also set
LD_LIBRARY_PATH=$INFORMIXDIR/lib:$INFORMIXDIR/lib/tools:$INFORMIXDIR/lib/esql
everything is working fine, but when i created a sample module using i4gl as
follows:
main
display "hello"
end main
saved the file and selected option runnable
it gave me error -4604 Errors Found in 4gl Module
The following errors were discovered during compilation.
|
|/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld:
cann
ot find -lifsql
|collect2: ld returned 1 exit status
|
main
display "hello"
end main
Please let me know whether i have to install any additional software or any
path has to be set. it's very urgent please help me out.
Thanks
Deepak Biswas
*******************************************************************************
Forum Note: Use "Reply" to post a response in the discussion forum.
Hi,
I use Suse,
you should have this paths:
/opt/informix/lib/cli
/opt/informix/lib
/opt/informix/lib/esql
/usr/local/lib
in /etc/ld.so.conf
and maybe add /usr/lib to LD_LIBRARY_PATH enviroment variable
regards,
El Miércoles, 22 de Agosto de 2007 02:01, DEEPAK BISWAS escribió:
> Hi All,
> I have installed IDS10 UC4 in SUSE 9 ES as follows
> I4GL Compiler developer v7.32 UC3
> I4GL ID v7.32 UC3
> ISQL v7.32 UC3
> IDS 10 UC4
>
> I have also set
> LD_LIBRARY_PATH=$INFORMIXDIR/lib:$INFORMIXDIR/lib/tools:$INFORMIXDIR/lib/es>ql
>
> everything is working fine, but when i created a sample module using i4gl
> as follows:
>
> main
> display "hello"
> end main
>
> saved the file and selected option runnable
>
> it gave me error -4604 Errors Found in 4gl Module
>
> The following errors were discovered during compilation.
>
> |/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld:
>
> cann
> ot find -lifsql
>
> |collect2: ld returned 1 exit status
>
> main
> display "hello"
> end main
>
> Please let me know whether i have to install any additional software or any
> path has to be set. it's very urgent please help me out.
>
> Thanks
> Deepak Biswas
>
>
> ***************************************************************************
>**** Forum Note: Use "Reply" to post a response in the discussion forum.
-------------------------------------------------------
Hi,
I use Suse,
you should have this paths:
/opt/informix/lib/cli
/opt/informix/lib
/opt/informix/lib/esql
/usr/local/lib
in /etc/ld.so.conf
and maybe add /usr/lib to LD_LIBRARY_PATH enviroment variable
regards,
El Miércoles, 22 de Agosto de 2007 02:01, DEEPAK BISWAS escribió:
> Hi All,
> I have installed IDS10 UC4 in SUSE 9 ES as follows
> I4GL Compiler developer v7.32 UC3
> I4GL ID v7.32 UC3
> ISQL v7.32 UC3
> IDS 10 UC4
>
> I have also set
> LD_LIBRARY_PATH=$INFORMIXDIR/lib:$INFORMIXDIR/lib/tools:$INFORMIXDIR/lib/es>ql
>
> everything is working fine, but when i created a sample module using i4gl
> as follows:
>
> main
> display "hello"
> end main
>
> saved the file and selected option runnable
>
> it gave me error -4604 Errors Found in 4gl Module
>
> The following errors were discovered during compilation.
>
> |/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld:
>
> cann
> ot find -lifsql
>
> |collect2: ld returned 1 exit status
>
> main
> display "hello"
> end main
>
> Please let me know whether i have to install any additional software or any
> path has to be set. it's very urgent please help me out.
>
> Thanks
> Deepak Biswas
>
>
> ***************************************************************************
>**** Forum Note: Use "Reply" to post a response in the discussion forum.
-------------------------------------------------------