Re: RPATH issue with libpq on Solaris 8 (gcc)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 05, 2007 at 08:07:04AM +0100, Peter Eisentraut wrote:
> Am Samstag, 3. November 2007 schrieb Tom Lane:
> > > That also seems to have the positive effect of getting libpq.so to find
> > > the shared objects that it depends on.  So is the fact that I need to
> > > edit src/Makefile.global after I run configure mean that I found a bug?
> > > ;-)
> >
> > Seems more like a feature request: there should be a way to override
> > rpathdir from a configure switch.  We already have an enable-rpath
> > switch, but it's just a boolean.  Maybe allow
> > 	configure --enable-rpath=PATH
> > ?
> 
> Well, the rpath option affects the rpath to our own libraries.  To find the 
> system libraries, the environment variable LD_RUN_PATH can be used.  
> Otherwise you'd have to convince every software product in existence to add 
> the appropriate configuration options.
> 
> -- 
> Peter Eisentraut
> http://developer.postgresql.org/~petere/
> 

We use LD_RUN_PATH in our Solaris builds for that reason.

Ken

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your
       message can get through to the mailing list cleanly

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux