From owner-freebsd-questions@FreeBSD.ORG Sun Jul 11 21:42:43 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A6AE16A4CE for ; Sun, 11 Jul 2004 21:42:43 +0000 (GMT) Received: from smtp.prodigy.net.mx (nlpproxy09.prodigy.net.mx [148.235.52.29]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F36143D2D for ; Sun, 11 Jul 2004 21:42:43 +0000 (GMT) (envelope-from mfcardenas@prodigy.net.mx) Received: from smtp.prodigy.net.mx (nlpproxy09 [148.235.52.29]) by smtp.prodigy.net.mx (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0I0P00NPXIZ258@smtp.prodigy.net.mx>; Sun, 11 Jul 2004 16:42:38 -0500 (CDT) Received: from dup-200-64-114-34.prodigy.net.mx (du-200-64-114-34.prodigy.net.mx [200.64.114.34])(built Sep 8 2003)) with ESMTP id <0I0P007OBIZ08Y@smtp.prodigy.net.mx>; Sun, 11 Jul 2004 16:42:38 -0500 (CDT) Date: Sun, 11 Jul 2004 16:47:44 -0500 From: Miguel Cardenas To: freebsd-questions@freebsd.org Message-id: <200407111647.44006.mfcardenas@prodigy.net.mx> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit Content-disposition: inline User-Agent: KMail/1.5.4 X-imss-version: 2.5 X-imss-result: Passed X-imss-scores: Clean:50.20282 C:10 M:2 S:5 R:5 X-imss-settings: Baseline:3 C:2 M:2 S:2 R:2 (0.5000 0.5000) Subject: PATH var and more... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: mfcardenas@prodigy.net.mx List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jul 2004 21:42:43 -0000 Hello list Just reinstalled my freebsd, am advancing with installation of programs and configuration, but still have some details I can't fix... I've installed MySQL 4.0.20 successfully from source code and programs work fine, but have still two little "problems"... 1. Can't add /usr/local/mysql/bin to the PATH var from the main configuration... Tried to add: export PATH=$PATH:/usr/local/mysql/bin to /etc/profile, but didn't work. It only works if I send the command through the bash shell or in $HOME/.profile but /etc/profile does not work... why? don't want to append it to the .profile of each user!!! 2. MySQL is working fine now, but now that am creating/porting a client application, once compiled it does not find libmysqlclient.so... tried to append the path to /etc/ld.so.conf and ld-elf.so.conf and run ldconfig, but still not found by system when invoking a program that uses it... how can I add /usr/local/mysql/lib to the libraries path? Thanks a lot !!!