From owner-freebsd-questions Tue Jan 22 15:31:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from buddha.quicksilver.co.nz (buddha.quicksilver.co.nz [202.89.130.1]) by hub.freebsd.org (Postfix) with ESMTP id 9653D37B41C for ; Tue, 22 Jan 2002 15:31:40 -0800 (PST) Received: from sunlight (dhcp1.quicksilver.co.nz [202.89.130.10]) by buddha.quicksilver.co.nz (8.9.3/8.9.3) with SMTP id MAA15472 for ; Wed, 23 Jan 2002 12:31:35 +1300 (NZDT) Message-ID: <016f01c1a39c$d0408700$0a8259ca@quicksilver.co.nz> From: "Mark Frater" To: Subject: getting ldconfig to recognise libs Date: Wed, 23 Jan 2002 12:30:43 +1300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, I'm trying to compile a program (sqwebmail) that requires libpq.so -Its currently throwing up the following error during configure. -checking for pg_config... (cached) /usr/local/bin/pg_config -checking for PQsetdbLogin... (cached) no -configure: error: --with-authpgsql specified but no libpq.so -configure: error: ./configure failed for authlib ..libpq.so exists in /local/www/pgsql/lib.. # ls -tal /local/www/pgsql/lib/libpq.so* lrwxr-xr-x 1 root pop 10 Jan 11 12:39 libpq.so -> libpq.so.2 -rw-r--r-- 1 pgsql pop 46163 May 24 2000 libpq.so.2 .. so I've set ldconfig search directories to include the location of libpq.so # ldconfig -i /usr/lib/compat /usr/X11R6/lib /usr/local/lib /usr/lib /local/www/pgsql/lib .. ldconfig is now picking up other libs in that directory but ldconfig doesn't pick up libpq.so # ldconfig -r | grep pq 98:-lpq.2 => /usr/lib/libpq.so.2 99:-lpq.2 => /local/www/pgsql/lib/libpq.so.2 101:-lpq++.3 => /local/www/pgsql/lib/libpq++.so.3 Can anyone tell me why? .. and how I can get ldconfig to find libpq.so ? Regards Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message