亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 2656 | 回復: 2
打印 上一主題 下一主題

緊急求助!make php with oracle error! [復制鏈接]

論壇徽章:
0
跳轉到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2004-04-30 09:35 |只看該作者 |倒序瀏覽
freebsd 5.2.1  php 4.3.5 oracle 9.0.4.0
安裝前cvsup port
oracle 參照http://ezine.daemonnews.org/200402/oracle.html 安裝完成
測試數(shù)據(jù)庫及客戶端運行正常
安裝 apache2 mysql40
安裝 php configure --with-oci8=$ORACLE_HOME --with-apxs=/usr/local/sbin/apxs --with-sigchild
configure出錯
/usr/bin/ld: cannot find -ldl
collect2: ld returned 1 exit status

config.log中反復出現(xiàn)類似錯誤:
int main()
{
    int8 i;
    return 0;
}

configure:55595: checking base type of last arg to accept
configure:55623: c++ -c -O -pipe -mcpu=pentiumpro  conftest.C 1>;&5
configure:55672: checking return type of qsort
configure:55690: gcc2 -c -O -pipe -mcpu=pentiumpro  conftest.c 1>;&5
configure:56042: checking for mysql_close in -lmysqlclient
configure:56061: gcc2 -o conftest -O -pipe -mcpu=pentiumpro  -R/usr/local/lib/mysql -L/usr/local/lib/mysql  -R/usr/local/lib -L/usr/local/lib -R/usr/X11R6/lib -L/usr/X11R6/lib conftest.c -lmysqlclient  -lmhash -lmcrypt -lltdl -liconv -lintl -lt1 -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -lbz2 -lz -lm  1>;&5
configure:56642: checking for ncurses support
configure:57613: checking for Oracle-OCI8 support
configure:57658: checking Oracle Install-Dir
configure:57953: checking Oracle version
configure:58607: checking for OCIEnvNlsCreate in -lclntsh
configure:58626: gcc2 -o conftest -O -pipe -mcpu=pentiumpro  -R/u01/app/oracle/product/9.2.0.2.0/lib -L/u01/app/oracle/product/9.2.0.2.0/lib  -R/usr/local/lib -L/usr/local/lib -R/usr/X11R6/lib -L/usr/X11R6/lib -R/usr/local/lib/mysql -L/usr/local/lib/mysql -R/u01/app/oracle/product/9.2.0.2.0/lib -L/u01/app/oracle/product/9.2.0.2.0/lib conftest.c -lclntsh  -lmysqlclient -lmhash -lmcrypt -lltdl -liconv -lintl -lt1 -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -lbz2 -lz -lm  -ldl -lm -lnsl -lirc -lclntsh 1>;&5
/usr/bin/ld: cannot find -ldl
collect2: ld returned 1 exit status
configure: failed program was:
#line 58615 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char OCIEnvNlsCreate();

int main() {
OCIEnvNlsCreate()
; return 0; }
configure:58950: checking for OCILobIsTemporary in -lclntsh
configure:58969: gcc2 -o conftest -O -pipe -mcpu=pentiumpro  -R/u01/app/oracle/product/9.2.0.2.0/lib -L/u01/app/oracle/product/9.2.0.2.0/lib  -R/usr/local/lib -L/usr/local/lib -R/usr/X11R6/lib -L/usr/X11R6/lib -R/usr/local/lib/mysql -L/usr/local/lib/mysql -R/u01/app/oracle/product/9.2.0.2.0/lib -L/u01/app/oracle/product/9.2.0.2.0/lib conftest.c -lclntsh  -lmysqlclient -lmhash -lmcrypt -lltdl -liconv -lintl -lt1 -lfreetype -lX11 -lXpm -lpng -lz -ljpeg -lbz2 -lz -lm  -ldl -lm -lnsl -lirc -lclntsh 1>;&5
/usr/bin/ld: cannot find -ldl
collect2: ld returned 1 exit status
configure: failed program was:
#line 58958 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char OCILobIsTemporary();

有什么辦法可以解決,萬分感謝!!

論壇徽章:
0
2 [報告]
發(fā)表于 2004-04-30 12:31 |只看該作者

緊急求助!make php with oracle error!

port php的時候會出現(xiàn)一個界面,你選擇ORACLE CLIENT后,不能PORT成功嗎?

論壇徽章:
0
3 [報告]
發(fā)表于 2008-04-11 12:41 |只看該作者
我的問題是解決了,不要使用ICC版的.
方法confdefs.h
http://xok.la/2008/04/php_configure_memcpy_confdefs.html
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復

  

北京盛拓優(yōu)訊信息技術有限公司. 版權所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關心和支持過ChinaUnix的朋友們 轉載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP