"error in loading shared libraries: libifsql.so: cannot open shared object
file: No such file or directory"
I do have that file on my system and have the SHLIB_PATH environment
variable set to the directory in which that file resides?
Can anyone offer any suggestions?
Thank you,
Laszlo Szijarto
Laszlo G. Szijarto wrote in message
<9ejn81$sa3$1...@sulawesi-fi.lerc.nasa.gov>...
"Hans Siebrand" <sieb...@bigpond.com> wrote in message
news:1qdP6.13122$hV3....@newsfeeds.bigpond.com...
Laszlo
"Mario Estrada" <marioe...@guate.net> wrote in message
news:9ekgd9$nd0$1...@news.xmission.com...
Hank
So, all I need is to set LD_LIBRARY_PATH. It would be nice to include this
env variable into your current user profile so you won't have to set it
everytime you logon. Anyway do NOT forget to export the variable after you
set it.
For example on my machine this is set to
LD_LIBRARY_PATH=/home/informix/lib:/home/informix/lib/esql:/home/informix/li
b/dmi:
You can include the path into your Makefile for the compiler to know it.
For example:
IFMX_INCLUDES=-I$(INFORMIXDIR)/incl/dmi -I$(INFORMIXDIR)/incl/esql
INCLUDES=$(IFMX_INCLUDES)
and compile with this arg. (INCLUDES)
All the best,
Bogdan CIRLIG
"Laszlo G. Szijarto" <Laszlo.G...@grc.nasa.gov> wrote in message
news:9ejn81$sa3$1...@sulawesi-fi.lerc.nasa.gov...
I didn't have all those directories in my path variable !!!
Laszlo
SHLIB_PATH is an HP-UX environment variable.
Use LD_LIBRARY_PATH (Solaris, Linux) or ldconfig (Linux only) instead.
--
Yours,
Jonathan Leffler (Jonathan...@Informix.com) #include <disclaimer.h>
Guardian of DBD::Informix v1.00.PC1 -- http://www.perl.com/CPAN
"I don't suffer from insanity; I enjoy every minute of it!"
export ldconfig=$INFORMIXDIR/lib/esql
but it retures the same error message
"error in loading shared libraries: libifsql.so: cannot open shared object
file: No such file or directory"
Why????
Please help me
Thanks a lot
Best Regards
edwa...@kimo.com.tw
"Jonathan Leffler" <jlef...@informix.com> ?????
news:3B253179...@informix.com...
You have to set your library path to the same as esql references.
On my Solaris m/c mine is set to:
/usr/informix/lib/esql:/usr/informix/lib
If you have ldd, or equivalent, that will tell you what libraries will
be required by your task at run-time, before it complains...
You can also look in the esql script to find out what libraries are
used.
In article <9g9mtt$523ql$1...@news.ht.net.tw>, edward
<edwa...@kimo.com.tw> writes
Andrew Lennard an...@kontron.demon.co.uk
ldconfig is a program, not an environment variable -- I realize my
message was at best ambiguous on this, and probably just misleading.
LD_LIBRARY_PATH is the environment variable that has to be set per
user. Using ldconfig (to update /etc/ld.so.conf) achieves the effect
for all users.