I'm trying to get Sqlite 3.3.6 working on Solaris 2.8/Sparc, and I'm having some trouble. After some tweaks to the configure script, I finally got the thing to build, but now that it's installed, when I try to run it, it complains that it can't find libgcc_s.so.1. This file is in /usr/local/lib on the machine in question. It seems it has no problem finding .so files in /lib or /usr/lib, but unfortunately, I don't have root on this machine, so I can't just create a symlink to fix the issue. Adding LD_LIBRARY_PATH before executing sqlite3 fixes the problem temporarily, but won't work for me, really, as I'll be loading the .so into other programs, and won't always be able to tinker with environmental variables. I've tried a number of things, including setting LD_LIBRARY_PATH both before the configure and before the make, setting CC to "gcc -L/usr/local/lib", setting LDFLAGS to "-L/usr/local/lib", and editing libtool to include /usr/local/lib in the compile-time search path and the runtime search path. Nothing seems to solve the problem. Please help! I've been banging my head against the wall for the last couple of hours trying to get this thing to work, and I'm so close, but just can't get it to look in the right place for the shared object. What's the proper way to fix this?
Andrew

