Re: Questions about using libpgjava
On Thu, 2003-02-13 at 06:07, Brett Smith wrote:
> At this point, I'm stumped again. If anybody has any suggestions as to
> where the problem might lie, they would be a tremendous help.
The problem is that Class.forName is not able to find the driver in the
shared library you just built.
Run your program, myprog, like so:
$ LD_DEBUG=libs ./myprog
glibc will tell you where it's looking for lib-org-postgresql.so
You'll probably just have to set your LD_LIBRARY_PATH properly, or stick
the .so in an appropriate directory (which ld.so will tell you about
using the trick above).
Good luck,
AG
Reply to: