Re: error trying to run Art's dostats
Posted in 2010
Nevermind - I just tried to run it again and it worked fine... Not sure what the problem was... but hey! it works now - I like that.
Thanks for your help!
Laurie
***
Thanks Art!
I added the LD_LIBRARY_PATH and this time I got this error:
informix@psdb05sat:~/utils> ./dostats -d nibrs
FAILED: Cannot connect to SMI DATABASE (@psdev2); error=-25596, isam=0
Laurie
>>> Art Kagel <art.kagel@gmail.com> 4/19/2010 11:59 AM >>>
In your environment do:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$INFORMIXDIR/lib/esql:$INFORMIXDIR/lib
An alternative would be to modify the makefile to make the executables 'static' so they do not need shared libraries by adding "-static" to the CFLAGS define. Static linked executables are much larger, however, than dynamically linked ones, so...
Art
Art S. Kagel
Advanced DataTools (www.advancedatatools.com)
IIUG Board of Directors (art@iiug.org)
See you at the 2010 IIUG Informix Conference
April 25-28, 2010
Overland Park (Kansas City), KS
www.iiug.org/conf
Disclaimer: Please keep in mind that my own opinions are my own opinions and do not reflect on my employer, Advanced DataTools, the IIUG, nor any other organization with which I am associated either explicitly, implicitly, or by inference. Neither do those opinions reflect those of other individuals affiliated with any entity with which I am affiliated nor those of the entities themselves.
On Mon, Apr 19, 2010 at 1:53 PM, Laurie Gustin <lgustin@utah.gov> wrote:
IDS115FC6X3
SUSE 10.2
I installed and compiled (Make Install) the utils2_ak package, but can't seem to get dostats to run. The error would indicate a path problem trying to find .so files. I checked and the file is in the directory /home/informix/lib/esql, and I modified my path to include this directory. I still get the error.
Please let me know if you have any clues, or if more information is needed.
Thanks
Laurie
informix@psdb05sat:~/utils ( mailto:informix@psdb05sat:%7E/utils )> ./dostats
./dostats: error while loading shared libraries: libifsql.so: cannot open shared object file: No such file or directory
PATH=/home/informix/bin:/home/informix/lib/esql:/home/infrmx/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome/bin:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbininformix@psdb05sat:/home/informix/lib/esql> ll libif*
-rw-r--r-- 2 informix informix 572676 2010-04-19 11:28 libifcobsql.a
-rwxr-xr-x 3 informix informix 400684 2009-12-15 04:35 libifcobsql.so
-rw-r--r-- 2 informix informix 572204 2010-04-19 11:28 libiffgisql.a
-rwxr-xr-x 3 informix informix 400616 2009-12-15 04:35 libiffgisql.so
-rw-r--r-- 2 informix informix 760596 2010-04-19 11:28 libifgen.a
-rwxr-xr-x 3 informix informix 458753 2010-04-19 11:28 libifgen.so
-rw-r--r-- 2 informix informix 536270 2010-04-19 11:28 libifgls.a
-rwxr-xr-x 3 informix informix 370270 2009-12-15 04:35 libifgls.so
-rw-r--r-- 2 informix informix 1370 2010-04-19 11:28 libifglx.a
-rwxr-xr-x 3 informix informix 6041 2009-12-15 04:35 libifglx.so
-rw-r--r-- 2 informix informix 246954 2010-04-19 11:28 libifos.a
-rwxr-xr-x 3 informix informix 166405 2009-12-15 04:35 libifos.so
-rw-r--r-- 2 informix informix 572244 2010-04-19 11:28 libifsql.a
-rwxr-xr-x 3 informix informix 400581 2009-12-15 04:35 libifsql.so
-rw-r--r-- 1 informix informix 26858 2010-04-19 11:28 libifxa.a
-rwxr-xr-x 3 informix informix 27995 2009-12-15 04:35 libifxa.so
Laurie Gustin
IT Programmer Analyst
Department of Public Safety
lgustin@utah.gov
801-965-4410
_______________________________________________
Informix-list mailing list
Informix-list@iiug.org
http://www.iiug.org/mailman/listinfo/informix-list