Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 683269F99CE for ; Sat, 3 Nov 2007 15:00:46 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 26440-09 for ; Sat, 3 Nov 2007 15:00:38 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 188899F95F1 for ; Sat, 3 Nov 2007 15:00:36 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.1/8.14.1) with ESMTP id lA3I0SQn012349; Sat, 3 Nov 2007 14:00:29 -0400 (EDT) To: Jason Testart cc: pgsql-admin@postgresql.org Subject: Re: RPATH issue with libpq on Solaris 8 (gcc) In-reply-to: <472BFA84.4070707@cs.uwaterloo.ca> References: <472BFA84.4070707@cs.uwaterloo.ca> Comments: In-reply-to Jason Testart message dated "Sat, 03 Nov 2007 00:35:16 -0400" Date: Sat, 03 Nov 2007 14:00:28 -0400 Message-ID: <12348.1194112828@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/37 X-Sequence-Number: 27280 Jason Testart writes: > I'm building postgres-8.2.5 on Solaris 8 SPARC, using a gcc built (not > by me) for our environment. We have an old home-grown software > distribution/configuration management system that arranges > shared-objects and binaries are in non-standard places. So to find > them, I use -L and -R in $(CFLAGS) and $(LFLAGS) to make sure > dependencies (like krb5/ssl libraries) are found. Try adjusting 'rpathdir' in src/Makefile.global (post-configure), instead. regards, tom lane