Re: library problem
Mike Aubury <[email protected]>
| Newsgroups | gmane.comp.lang.4gl.aubit.general |
|---|---|
| Message-ID | <CAGAq4WGNodz+YvOqeO4b2YuNUFWe9QxvX85zd4Lez3yXLMCWTg@mail.gmail.com> |
Try setting $ export DEBUG=ALL and try running your program - check the debug.out to see if it gives any clues (dont forget to turn it off again after - it will make your programs run *really* slowly - and create huge debug.out files) On 22 February 2012 08:56, Michal Hajek <[email protected]> wrote: > Hi, > > I am trying to use library: > > Program raises error: > hpuh:/home/hajek/4gl>kraj_iv.4ae VAM 010110 100110 pokus.ven > Err:Program kraj_iv.4ae stopped at 'kraj_iv.4gl', line number 13. > Error status number -30231. > Unable to load shared library file. > > 4gl function call stack : > MAIN > > How I call the functions > hpuh:/home/hajek/4gl>grep -n lib4gl kraj_iv.4gl > 13: call lib4gl::mh_file_open(soubor,"ww","666") returning fsoubor > 14: call lib4gl::mh_file_write(fsoubor,"POKUS") > 15: call lib4gl::mh_file_close(fsoubor) > > PATH setting > hpuh:/home/hajek/4gl>set|grep LIBRARY > > LD_LIBRARY_PATH=/opt/aubit/ncurses:/usr/local/lib:/opt/aubit/lib:/opt/informix/csdk350uc1/lib:/opt/informix/csdk350uc1/lib/esql > > library properies > hpuh:/home/hajek/4gl>ll /usr/local/lib/lib4gl* > -rwxr-xr-x 1 root sys 71452 ÚNOR 22 09:15 > /usr/local/lib/lib4gl.so > > hpuh:/home/hajek/4gl>file /usr/local/lib/lib4gl* > /usr/local/lib/lib4gl.so: ELF-32 shared object file - IA64 > hpuh:/home/hajek/4gl> > > What am I doing wrong? > > Thanks, Michal > > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Aubit4gl-discuss mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss > ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Aubit4gl-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss