Re: can't execute esql/c program
Posted in 1998
alric wrote:
>
> hi
>
> by 'esql -o meeting meeting.ec'
> I got execution file 'meeting'
>
> but I can't execute it with following message
> [ meeting : error in loading shared libraries.
> libifsql.so: cannot open shared object file: nu such file or
> directory ]
>
> I confirmed that there's libifsql.so in /home/informix/lib/esql.
>
> my .bashrc follows
> ~
> export INFORMIXDIR=/home/informix
> export INFORMIXSERVER=plato
> export PATH="$INFORMIXDIR/bin:$PATH:."
And needs lines equivalent to:
x=$INFORMIXDIR
export LD_LIBRARY_PATH=$x/lib:$x/lib/esql:$LD_LIBRARY_PATHunset x
If I write INFORMIXDIR into the LD_LIBRARY_PATH line, it gets wrapped
weirdly, so I used an abbreviation.
--
Jonathan Leffler (jleffler@informix.com, jleffler@earthlink.net)
Guardian of DBD::Informix v0.60 -- see http://www.perl.com/CPAN
#include <disclaimer.h>