Unix Technical Forum

Re: Conversion from IDS 9.30 to 9.40 (libfesql.a not found :

This is a discussion on Re: Conversion from IDS 9.30 to 9.40 (libfesql.a not found : within the Informix forums, part of the Database Server Software category; --> On 11/22/05, pallavi.barot@polaris.co.in <pallavi.barot@polaris.co.in> wrote: > > > Jonathan, > > We are recompiling our 4gl programs with the ...


Go Back   Unix Technical Forum > Database Server Software > Informix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 10:38 AM
Jonathan Leffler
 
Posts: n/a
Default Re: Conversion from IDS 9.30 to 9.40 (libfesql.a not found :


On 11/22/05, pallavi.barot@polaris.co.in <pallavi.barot@polaris.co.in>
wrote:
>
>
> Jonathan,
>
> We are recompiling our 4gl programs with the newer version and getting the
> following error.
> ld: I/O error, file "/informixFC7/lib/tools/libfesql.a": No such file or
> directory
> Fatal error
>
> In our build script following command is used.
>
> rld /lib/crt0.o -u main -o ${file}.exe $obj $CPCLIBS /lib/libp/libm.a\
> $INFLIB/lib4gl.a $INFLIB/libnforms.a $INFLIB/libfesql.a -lc




If you choose to invoke the loader, you fix up the libraries in the command
line.

The correct way to link I4GL programs is with the c4gl script. That would
not mention the non-existent library.

Use:

c4gl -o ${file}.exe ${obj} ${CPCLIBS}

You might or might not need to mention /lib/libp/libm.a - it looks like a
maths library, and c4gl would pick the correct one up automatically.


Where INFLIB is $INFORMIXDIR/lib/tools
>
> In our C files we have included #include "fglsys.h".
>
> Thanks & Regards
> Pallavi Barot
> CPC Support
>
>
> ----- Forwarded by vaishali.jayade/Polaris on 11/22/2005 01:31 PM -----
>
> Jonathan Leffler
> <jleffler.iiug@g To: Vaishali <vaishali.jayade@polaris.co.in>
> mail.com <http://mail.com>> cc: informix-list@iiug.org
> Subject: Re: Conversion from IDS 9.30 to 9.40 (libfesql.a not found :
> compilation
> 11/22/2005 10:51 error)
> AM
> Please respond
> to jleffler
>
>
>
>
>
>
>
>
> On 21 Nov 2005 02:57:57 -0800, Vaishali <vaishali.jayade@polaris.co.in>
> wrote:
> We are doing a migration of IDS 9.30 to IDS 9.4 & 4GL 7.30 FC7 to 7.32
> FC2.
> While compilation, one of our programs is referring to
> $INFORMIXDIR/lib/tools/libfesql.a
> which is not found in the new installation.
>
>
> Which of your programs is referring to it? Are you recompiling it at the
> time, or trying to run the old program against the new install? If you're
> recompiling (as I suspect), how are you doing the recompilation? Did you
> specify libfesql.a (or -lfesql) on the command line, or did the script do
> it? Which machine (o/s) are you running on?
>
> Please ensure any C code you compile into your I4GL programs includes the
> line:
>
> #include "fglsys.h"
>
> near the top.
>




--
Jonathan Leffler #include <disclaimer.h>
Email: jleffler@earthlink.net, jleffler@us.ibm.com
Guardian of DBD::Informix v2005.02 -- http://dbi.perl.org/
sending to informix-list
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:33 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com