Reply to Re: HELP : PHP 4.4.4 with pgsql : Apache 1.3.37 compile error !

Your name:

Reply:


Posted by Fred on 11/09/06 10:19

J.O. Aho a écrit :
> Fred wrote:
>> Hi,
>>
>> I'm trying to install PHP 4.4.4 and Apache 1.3.37 with the followings
>> options :
>>
>> PHP 4.4.4 :
>>
>> ./configure --with-apache=../apache_1.3.37 --with-xml --with-dom
>> --with-gd --with-jpeg-dir --with-jpeg-dir=/usr --with-png-dir
>> --with-png-dir=/usr --with-freetype-dir --with-gettext --with-mysql
>> --with-pgsql --with-zlib-dir --with-imap --with-kerberos
>> --with-imap-ssl --with-openssl --with-gettext --with-mcrypt
>> --with-iconv --with-mime-magic=/usr/share/magic.mime
>> --with-curl=/usr/local/lib --enable-mbstring=all --enable-mbregex
>> --enable-sysvsem --enable-sysvshm --enable-gd-native-ttf
>> --enable-trans-sid --enable-ftp --enable-bcmath --enable-calendar
>> --enable-exif
>>
>> APACHE 1.3.37 :
>>
>> ./configure --prefix=/usr/local/apache
>> --activate-module=src/modules/php4/libphp4.a --enable-suexec
>> --suexec-caller=nobody --suexec-userdir=www --suexec-docroot=/home
>> --suexec-logfile=/usr/local/apache/logs/cgi.log --suexec-uidmin=99
>> --suexec-gidmin=99 --suexec-safepath=/usr/local/bin:/usr/bin:/bin
>> --enable-module=so --enable-module=rewrite
>> --add-module=src/modules/extra/mod_gzip.c --enable-module=ssl
>>
>>
>> I compile PHP, all is OK
>> BUT , compiling Apache , i've got errors :
>>
>> /usr/lib/libc-client.a(osdep.o): In function `ssl_onceonlyinit':
>> /usr/src/build/41512-i386/BUILD/imap-2000c/c-client/auth_ssl.c:153:
>> the use of `tmpnam' is dangerous, better use `mkstemp'
>> /usr/bin/ld: warning: libcom_err.so.3, needed by /usr/lib/libpq.so,
>> may conflict with libcom_err.so.2
>> modules/php4/libphp4.a(pgsql.o): In function `zif_pg_escape_string':
>> /home/ovh/src/php-4.4.4/ext/pgsql/pgsql.c:2713: undefined reference to
>> `PQescapeString'
>> modules/php4/libphp4.a(pgsql.o): In function `zif_pg_escape_bytea':
>> /home/ovh/src/php-4.4.4/ext/pgsql/pgsql.c:2730: undefined reference to
>> `PQescapeBytea'
>> modules/php4/libphp4.a(pgsql.o): In function `php_pgsql_convert':
>> /home/ovh/src/php-4.4.4/ext/pgsql/pgsql.c:3662: undefined reference to
>> `PQescapeString'
>> /home/ovh/src/php-4.4.4/ext/pgsql/pgsql.c:3952: undefined reference to
>> `PQescapeBytea'
>> collect2: ld returned 1 exit status
>> make[2]: *** [target_static] Erreur 1
>> make[2]: Quitte le répertoire `/home/ovh/src/apache_1.3.37/src'
>> make[1]: *** [build-std] Erreur 2
>> make[1]: Quitte le répertoire `/home/ovh/src/apache_1.3.37'
>> make: *** [build] Erreur 2
>>
>>
>> It seems to be due to pgsql module (i use postgresql 8.1.4)
>> How to do then ?
>>
>> Thanks a lot for any help !
>>
>> Regards,
>>
>> Fred
>
> The problem is here
>
> "libcom_err.so.3, needed by /usr/lib/libpq.so" and for you thiungs has
> earlier been linked against libcom_err.so.2, you need to see to that you
> have only one of those libraries and that you have only one set of
> headers to that library.
>
>
> //Aho

Hi Aho and thanks for your response,

How to resolve this so ?
What must i recompile ?

Thanks

Regards

Fred

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация