Set LD_LIBRARY_PATH to include $INFORMIXDIR/lib and $INFORMIXDIR/lib/esql,
or the equivalent variable (SHLIB_PATH, ...) for your system.
Or use: esql -static -o program *.o
This uses static libraries instead of shared libraries.
Yours,
Jonathan Leffler (johnl@informix.com) #include <disclaimer.h>
}From informix-list-owner@rmy.emory.edu Thu Dec 5 23:12 PST 1996
}From: Tim Simms <tsimms@intr.net>
}Subject: ld.so.1: a.out: fatal: libixsql.so: can't open file: errno=2
}Date: Thu, 5 Dec 1996 16:01:37 -0500
}To: informix-list@rmy.emory.edu
}X-Informix-List-To: johnl@informix.com
}X-Informix-List-Id: <news.31270>
}
}Hi everyone --
}
}Well, I was able to install the ESQL/C package pretty easily. And in
}fact, I was able to get -esql- to work. In fact, it seems that the -esql-
}is generating the proper C code and everything, but I still have not been
}able to get it to work because of the above error.
}
}Any clues?
}
}Thanks!
}
}Regards,
}Tim Simms
}
}
}
}