Yep, you have to do that too, forgot about that ;)

Cheers,
Dan
At 08:51 24/08/00 -0700, Mark Chesney wrote:
>for freebsd edit /etc/rc.conf and add:
>ldconfig_paths="$ldconfig_paths (additional paths)"
>for example:
>ldconfig_paths="$ldconfig_paths /usr/local/lib/mysql"
>
>-----Original Message-----
>From: Dan Fairs [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, August 24, 2000 7:58 AM
>To: Ken Jones
>Cc: [EMAIL PROTECTED]
>Subject: Re: vpopmail+mysql error?
>
>
>
> > > error in loading shared libraries: libmysqlclient.so.6: cannot open
> > >
> > > shared object file: no such file or directory.
> >
> >libmysqlclient.so.6 is not in your LD_LIBRARY_PATH, and not
> >in the config file that specifies which paths should be there
> >by default.
>
>This assumes you're using an ELF-based system (Linux, or FreeBSD with the
>Linux compat packages).
>
>IMHO, the best way to add libraries to the search path is to edit
>/etc/ld.so.conf (ld-elf.so.conf under FreeBSD) and add the path to the
>bottom of the file. Rerun ldconfig as root. This will tell the runtime
>dynamic linker to look in the path you've just specified for libraries.
>Remember, you specify the path to the directory containing the libs you
>want, not the libs themselves. For example, on my FreeBSD box, the
>/etc/ld-elf.so.conf file looks like this:
>
>[dan@bonsai dan]$ cat /etc/ld-elf.so.conf
>/usr/local/pgsql/lib
>/usr/local/mysql/lib
>
>On a Linux box there will be more entries, for the system C libraries and
>such like.
>
>Hope this helps.
>Dan
>
>--
>Daniel Fairs                    [EMAIL PROTECTED]
>System Administrator            +44 (0) 7881 922949
>spiderplant.net                 www.spiderplant.net


--
Daniel Fairs                    [EMAIL PROTECTED]
System Administrator            +44 (0) 7881 922949
spiderplant.net                 www.spiderplant.net

Reply via email to