From owner-freebsd-hackers Wed Feb 3 01:52:42 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA04713 for freebsd-hackers-outgoing; Wed, 3 Feb 1999 01:52:42 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from oskar.nanoteq.co.za (oskar.nanoteq.co.za [196.37.91.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA04696 for ; Wed, 3 Feb 1999 01:52:36 -0800 (PST) (envelope-from rbezuide@oskar.nanoteq.co.za) Received: (from rbezuide@localhost) by oskar.nanoteq.co.za (8.9.0/8.9.0) id LAA22879 for freebsd-hackers@freebsd.org; Wed, 3 Feb 1999 11:53:03 +0200 (SAT) From: Reinier Bezuidenhout Message-Id: <199902030953.LAA22879@oskar.nanoteq.co.za> Subject: LD_LIBRARY_PATH problems To: freebsd-hackers@FreeBSD.ORG Date: Wed, 3 Feb 1999 11:53:03 +0200 (SAT) X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi ... I'm running a 3.0-STABLE version of FreeBSD and is using tcsh. I'm setting the LD_LIBRARY_PATH environment variable to include two paths e.g. /home/a and /usr/b both of which contains shared libraries. When I use setenv LD_LIBRARY_PATH /home/a:/usr/b The program finds the shared library in a but not the one in b. If I swap the paths around ... setenv LD_LIBRARY_PATH /usr/b:/home/a It find the one in b, but not the one in a ???? I've tried the same with export in sh ... same effect ... Any ideas Reinier To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message