Hello all, I've been playing around with database driven web stuff lately in the chrooted apache. I've got a pretty simple CGI written in C that selects all of my blog entries from a database and displays them in a web page. I got things working running httpd with the -u flag and now i'm attempting to chroot everything. A ldd on /cgi-bin/blogger reveals:
/usr/local/lib/libmysqlclient.so.12.0 /usr/lib/libz.so.4.0 /usr/lib/libc.so.34.2 .... so I created the directory structure and copied those libraries into them, however when I run the cgi I see in my logs: can't load library 'libmysqlclient.so.12.0' I'm trying to recompile mysql in ports with the static linking enabled.... don't know if that will help, but I figured I'd ask the list to see if anyone else has seen this problem before. Thanks guys. Brandon

