[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: suexec: libmysqlclient.so.6.0: No such file



Hola (Greetings), Heikki Korpela! A(t) 00:02 02/05/01, vau escriure 
(you wrote):
>On Wed, 2 May 2001, Lou Hevly wrote:
>
> > Now when I run a cgi script I get:
> > /usr/libexec/ld.so: suexec: libmysqlclient.so.6.0: No such file or
> > directory
> > But I do have this at: /usr/local/lib/mysql/libmysqlclient.so.6.0
>
>1) For your currently running system configuration, do
>
>    ldconfig -m /usr/local/lib/mysql

Heikki, yet again I owe you huge thanks!


>2) Add /usr/local/lib/mysql to shlib_dirs in /etc/rc.conf
>    (this is said in package install script of MySQL port.)

Done. I missed that.

>3) See manual pages for:
>    ldconfig(8)
>    ld.so(1)
>    link(5)

All right, I've started. I guess it shows that I'm a pretty rank
beginner. I chose OpenBSD over any other system because of its
emphasis on security, and since I wish to offer web-hosting --letting
complete strangers have access to my machine--, I figured I needed all
the help I could get.

It's kind of a catch-22 situation: rank beginners should use OpenBSD
because it's the most secure system out there; yet running OpenBSD
presupposes a knowledge-level beyond that of most beginners. Luckily 
for
us, there are lists like this.

<!-- ---------------------- 72 characters -------------------------- 
-->

-- 
All the best (Adéu-siau),
Lou Hevly
lou@visca.com
http://www.visca.com