[Please wrap your lines!  It makes it much easier to read, and thus more
likely that you'll get a response.  Anywhere between 70 and 80 is
acceptable; 72 seems to be a nice value.]

On Wed, Mar 05, 2003 at 02:14:58PM +0800, Gary Ford wrote:
> I am building my own MySQL .deb as I like to have everything in
> /usr/local/mysql.  I've pretty much got it all down, but the one thing
> that I would really like to have happen is to run the this at the end
> of the install process:
> 
> echo "/usr/local/mysql/lib/mysql" >> /etc/ld.so.conf && ldconfig
> 
> I tried put that in the debian/postinst, but it didn't seem to do
> anything.
> 
> Does anyone have any helpful hints?

That line should add '/usr/local/mysql/lib/mysql' to the end of
/etc/ld.so.conf, and the rerun ldconfig.  /etc/ld.so.conf is used to
tell ld, Linux's dynamic library loader, about the location of
non-standard libraries.

What do you mean it doesn't do anything?  It won't add any files or
print anything, it just adds the line to that file, then updates
/etc/ld.so.cache...Also, that should be 'ldconfig -X', since your Debian
package is supposed to take care of creating the library symlinks and
such...

-- 
Rob Weir <[EMAIL PROTECTED]>                            http://ertius.org/

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to