[Feed-back] Installing PostgreSQL 8.0.0 on SPARC/Solaris. Configure and install issues.

From: Rolf Sponsel <Rolf(dot)Sponsel(at)kstr(dot)lth(dot)se>
To: pgsql-bugs(at)postgresql(dot)org, pgsql-ports(at)postgresql(dot)org
Subject: [Feed-back] Installing PostgreSQL 8.0.0 on SPARC/Solaris. Configure and install issues.
Date: 2005-01-29 20:06:21
Message-ID: 41FBECBD.2000906@kstr.lth.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers pgsql-ports

Hi,

I've successfully built PostgreSQL 8.0.0
on SPARC/Solaris (7), with gcc-3.2.2.
Hardware is SPARCstation 5, 170 MHz.

Because it doesn't build optimally right
out of the box, I'd like to provide you
with some feed-back.

From my understanding, the preferred way
for Solaris is to only set LD_RUN_PATH,
and avoid setting LD_LIBRARY_PATH, at
link-time. This is what I usually do.

Should you need information about this
then please have a look at:

http://www.visi.com/~barr/ldpath.html
Why LD_LIBRARY_PATH is bad

During the build, I had the following
issues:

1). If I run './configure --with-pam --with-ssl' with
LD_RUN_PATH = '/usr/local/ssl/lib:/usr/local/lib'
configure will fail to find the ssl libs, if I do
not have LD_LIBRARY_PATH set.

2). If I do set LD_LIBRARY_PATH, './configure ...' will
not find OpenSSL's include files.

3). Thus, to configure/build with OpenSSL, using only
LD_RUN_PATH, i have to explicitly specify the paths
to OpenSSL's libraries and include files.

4). 'make install' fails unless LD_LIBRARY_PATH is set.

Please see the attached log file showing these issues
in deatail.

Please feel free to contact me if you should need more
information.

Hope this information helps you to improve the
installation procedures for PostgreSQL even more.

Thank you all! for your efforts, and for providing
providing this excellent piece of software.

Kind Regards,
Rolf Sponsel

--
----
------
--------

Rolf Sponsel

___________________________________________e_n_d___o_f___m_e_s_s_a_g_e_

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Kris Jurka 2005-01-29 20:31:48 Re: BUG #1449: JDBC client driver bug waiting to happen
Previous Message Bruce Momjian 2005-01-29 16:32:21 Re: BUG #1434: ERROR: type "bigserial" does not exist

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-01-29 21:21:09 Re: Implementing Bitmap Indexes
Previous Message Dawid Kuroczko 2005-01-29 19:57:29 Re: Implementing Bitmap Indexes

Browse pgsql-ports by date

  From Date Subject
Next Message Dmitry Konnov 2005-01-31 08:06:37 win32. Please help me to compile PostGre
Previous Message Christopher Browne 2005-01-28 03:57:45 Re: PostgreSQL replication on Windows