Re: v9 beta 2 - Build on Solaris SPARC - links to two different libxml2 implementations? - Mailing list pgsql-testers

From Lou Picciano
Subject Re: v9 beta 2 - Build on Solaris SPARC - links to two different libxml2 implementations?
Date
Msg-id 1191439031.3503831276042106313.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net
Whole thread Raw
List pgsql-testers
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

pgsql-testers by date:

Previous
From: Josh Berkus
Date:
Subject: Re: v9 beta 2 - Build on Solaris SPARC - links to two different libxml2 implementations?
Next
From: Lou Picciano
Date:
Subject: Re: v9 beta 2 - Build on Solaris SPARC - links to two different libxml2 implementations?