Garret Cooper wrote: >Also, something to the effect like the following is better for >portability reasons: > >#!/bin/sh > >if [ -n "$LD_LIBRARY_PATH" ] ; then > export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/local/lib/mysql" >else > export LD_LIBRARY_PATH="/usr/local/lib/mysql" >fi
I put that in the /usr/local/etc/rc.d/mysql-server script (which is #!/bin/sh) but it didn't work :( Jerry McAllister wrote: >What does your rc.conf look like? # -- sysinstall generated deltas -- # Sat Feb 24 04:38:22 2007 # Created: Sat Feb 24 04:38:22 2007 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. defaultrouter="203.223.150.1" hostname="server312.web.vi" ifconfig_fxp0="inet 203.223.150.58 netmask 255.255.255.192" linux_enable="YES" sshd_enable="YES" usbd_enable="YES" pound_enable="YES" sendmail_enable="NO" sendmail_submit_enable="NO" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="NO" slapd_enable="YES" slapd_flags='-h "ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldap://0.0.0.0/"' slapd_sockets="/var/run/openldap/ldapi" mysql_enable="YES" LD_LIBRARY_PATH=/usr/local/lib/mysql/ That last line, of course, is useless. >Boot up with it and then take a look at the values. What values and how do I look for them? >make a startup script for whatever it is - probably the install >already put one in /usr/local/etc/rc.d/ >and in that startup script, source the /etc/rc.conf file. I did. Then I used Garrett's (see above). No luck. TIA, Drew ____________________________________________________________________________________ Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. http://answers.yahoo.com/dir/?link=list&sid=396545367 _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"