pg.ddx.io  pgsql-testers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lou Picciano <loupicciano@comcast.net>
To: Josh Berkus <josh@agliodbs.com>
Cc: pgsql-testers <pgsql-testers@postgresql.org>
Subject: Re: v9 beta 2 - Build on Solaris SPARC - links to two different libxml2 implementations?
Date: Wed, 9 Jun 2010 01:50:58 +0000 (UTC)
Message-ID: <751110634.3549141276048258918.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net> (raw)
In-Reply-To: <967846407.3547321276048004047.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net>

Josh, 


Yup, that was it. Now, with libxslt installed into /usr/local/lib, everything works great. ldd reports only one reference to each of libxml and libxslt, and the compile is nice and smooth... Hope at least this journey may help someone else. 



# ldd src/backend/postgres 
libxslt.so.1 => /usr/local/lib/libxslt.so.1 
libxml2.so.2 => /usr/local/lib/libxml2.so.2 


Meanwhile, it might be nice to have a syntax to hard wire specific library options, especially if available as an [=/path] option to the --with-<feature> directives. There may be occasions to do much more intricate specification of configuration (such as we were doing with our custom SSL builds). 


Thanks for your help. 


Lou Picciano 

----- Original Message ----- 
From: "Lou Picciano" <loupicciano@comcast.net> 
To: "Josh Berkus" <josh@agliodbs.com> 
Cc: "pgsql-testers" <pgsql-testers@postgresql.org> 
Sent: Tuesday, June 8, 2010 8:08:26 PM GMT -05:00 US/Canada Eastern 
Subject: Re: [TESTERS] v9 beta 2 - Build on Solaris SPARC - links to two different libxml2 implementations? 




We have: 


/usr/local/lib/ 
...libxml2.so.2.6.31 


also: /usr/local/bin/xml2-config 


/usr/lib/ 
...libxml2.so.2 
...libxslt.so.1 


with LDFLAGS="-L/usr/local/lib -R/usr/local/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib" 


I'd prefer to hard code paths myself (had to manually modify a php config script recently; yikes!), but those '--with-' syntaxes don't support the '=/path/name' options, do they? 


Oddly, there is no libsxlt in our designated LD path, yet configure finds it (presumably the config script is searching the more 'default' /usr/lib by design?) 


Next step, as I realize we don't have the SunFreeware xslt package installed, I'll install that next and try the build again. The SunFreeware stuff is installed into /usr/local, as you know. 


Lou 

----- Original Message ----- 
From: "Josh Berkus" <josh@agliodbs.com> 
To: "Lou Picciano" <loupicciano@comcast.net> 
Cc: pgsql-testers@postgresql.org 
Sent: Tuesday, June 8, 2010 2:24:10 PM GMT -05:00 US/Canada Eastern 
Subject: Re: [TESTERS] v9 beta 2 - Build on Solaris SPARC - links to two different libxml2 implementations? 


> --with-libxml \ 
> --with-libxslt \ 

Ok, so there's no specific locations there. Can you see what's in that 
LD path in terms of XML libraries? It's possible that you do have both 
libraries in the path you've defined, and libxml picked up one and 
libxslt the other. Solaris' OSS library situation is rather messed up, 
and I generally hardcode the links myself. 

-- 
-- Josh Berkus 
PostgreSQL Experts Inc. 
http://www.pgexperts.com 

view thread (7+ messages)  latest in thread

Message-ID: <751110634.3549141276048258918.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net>
Permalink:  ../751110634.3549141276048258918.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net/
Also on:    postgresql.org/message-id/751110634.3549141276048258918.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-testers@postgresql.org
  Cc: loupicciano@comcast.net, josh@agliodbs.com
  Subject: Re: v9 beta 2 - Build on Solaris SPARC - links to two different libxml2 implementations?
  In-Reply-To: <751110634.3549141276048258918.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net>
  References: <967846407.3547321276048004047.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net> <751110634.3549141276048258918.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox