Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
a0d82817
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
a0d82817
编写于
3月 13, 2001
作者:
P
Peter Eisentraut
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update
上级
1b87e24c
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
24 addition
and
55 deletion
+24
-55
doc/FAQ_Solaris
doc/FAQ_Solaris
+24
-55
未找到文件。
doc/FAQ_Solaris
浏览文件 @
a0d82817
=======================================================
Frequently Asked Questions (FAQ) for PostgreSQL V
6.5
Sun Solaris
S
pecific
TO BE READ IN CONJUNCTION WITH THE NORMAL FAQ
=======================================================
last updated: $Date: 200
0/10/19 03:18:56
$
=======================================================
=====
Frequently Asked Questions (FAQ) for PostgreSQL V
7.1
Sun Solaris
s
pecific
to be read in conjunction with the installation instructions
=======================================================
=====
last updated: $Date: 200
1/03/13 20:42:11
$
current maintainer: Marc Liyanage (liyanage@access.ch)
original author: Marc Liyanage (liyanage@access.ch)
...
...
@@ -11,36 +11,19 @@ original author: Marc Liyanage (liyanage@access.ch)
Contents:
1
.1
) What tools do I need to build and install PostgreSQL on Solaris?
1.2) What else do I have to do before building PostgreSQL?
1) What tools do I need to build and install PostgreSQL on Solaris?
2) Why do I get problems when building with OpenSSL support?
Notes:
- The commands given here are for the bash shell. If you use
a different shell, you'll have to change the commands accordingly,
especially these regarding environment variables.
- These instructions are written for Solaris 2.6
----------------------------------------------------------------------
Section 1: Building and Installing PostgreSQL
----------------------------------------------------------------------
1.1) What tools do I need to build and install PostgreSQL on Solaris?
1) What tools do I need to build and install PostgreSQL on Solaris?
You will need
- GNU flex 2.5.4 or better (the lex included in Solaris 2.6 won't work)
- GNU bison (the yacc included in Solaris 2.6 won't work)
- GNU zip (gzip and especially gunzip for installing the docs)
- GNU zip (for installing the documentation)
- GNU make
- GNU readline library
- GNU readline library
(optional)
We also used
- GNU cc (gcc 2.8.1)
Both GCC and the Sun compiler suite work.
If you like Solaris packages, you can find these tools here:
http://www.sunfreeware.com
...
...
@@ -49,33 +32,19 @@ If you prefer sources, look here:
http://www.gnu.org/order/ftp.html
2) Why do I get problems when building with OpenSSL support?
1.2) What else do I have to do before building PostgreSQL?
Shared libraries
----------------
The default installation procedure puts the shared libraries
into "/usr/local/pgsql/lib", but the dynamic loader won't
find them there at runtime unless you use some hack like
symlinking the libraries in /usr/lib or setting LD_LIBRARY_PATH
for every user that will use the DB system.
The first time you'll encounter this problem is usually when
running "initdb". It will fail with something like
ld.so.1: pg_id: fatal: libpq.so: open failed: No such file or directory
We recommend that you store the path of the directory containing
the libraries in the environment variable LD_RUN_PATH *before*
starting the build. This will cause the linker to store this
path in the binaries.
Do this:
When you build PostgreSQL with OpenSSL support you will probably get
compilation errors in the following files:
# export LD_RUN_PATH=/usr/local/pgsql/lib
src/backend/libpq/crypt.c
src/backend/libpq/password.c
src/interfaces/libpq/fe-auth.c
src/interfaces/libpq/fe-connect.c
(or wherever you choose to put the libraries)
This is because of a namespace conflict between the standard
/usr/include/crypt.h header and the header files provided by OpenSSL.
We believe that this should be fixed by OpenSSL.
The
re is some good information about this here:
http://www.visi.com/~barr/ldpath.html
The
problem can be worked around by removing the inclusion of
<crypt.h> in these four files.
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录