Re: 4GL and Linux
Posted in 2004
"Neil Truby" <neil.truby@ardenta.com> wrote in message news:2inunvFpbe80U1@uni-berlin.de... > Thanks for your reply. > Neither of the workarounds, both of which I've already tried (even though > they effectively do the same thing!) works. > Which makes me think I have something else wrong somewhere. On both systems > :-( > ldd fred.4ge gives what? ldd -d fred.4ge ldd -r fred.4ge give what? Is LD_LIBRARY_PATH set in your environment? In /lib or /usr/lib what does ls *curses*.so* give? > cheers > Neil > > "Andreas Breitfeld" <abreitfe@de.ibm.com> wrote in message > news:ca6e8k$1cti$1@gazette.almaden.ibm.com... > > Neil Truby wrote: > > > > > 4gl 7.31UC3 on SuSE Standard Server v8 (2.4.21-5-smp kernel) > > > > > > I get this error trying to compile the most basic 4GL program. Any > ideas? > > > > > > informix@dell:/exports/andy> cat test.4gl > > > database test > > > > > > informix@dell:/exports/andy> c4gl test.4gl > > > /opt/informix/5.20/lib/esql/libifos.so: the use of `mktemp' is > dangerous, > > > better use `mkstemp' > > > > /usr/lib/gcc-lib/i486-suse-linux/3.2.2/../../../../i486-suse-linux/bin/ld: > > > cannot find -lcurses > > > collect2: ld returned 1 exit status > > This is a known bug and fixed in 7.32.UC2. There are 2 workarounds: > > 1. create a symbolic link libcurses.so -> libncurses.so > > 2. change -lcurses to -lncurses in the c4gl script > > > > Andreas > > > > > > > > thanks > > > Neil > > > >