Re: apache2+php4.3.4+mysql4.0.12-3+pg7.3.4
| From: | Bertrand PERRINE | Date: | Tue, 18 Nov 2003 09:51:47 +0000 |
| Subject: | Re: apache2+php4.3.4+mysql4.0.12-3+pg7.3.4 | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-12266@lists.php.net to get a copy of this message | ||
pgsql ... do you want to use posgresql and mysql ?
> hi everyone,
> I'm trying to install the packages in subject by source on my woody.
> Everything was installed from source but mysql:
>
> dpkg -l | grep mysql
> ii libdbd-mysql-p 1.2216-2 mySQL database interface for Perl
> ii libmysqlclient 3.23.49-8.5 mysql database client library
> ii libmysqlclient 3.23.49-8.5 mysql database development files
> ii libmysqlclient 4.0.12-3.nobse mysql database client library
> ii libpam-mysql 0.4.7-1 PAM module allowing authentication
> from a My
> ii mysql-client 4.0.12-3.nobse mysql database client binaries
> ii mysql-common 4.0.12-3.nobse mysql database common files (e.g.
> /etc/mysql
> ii mysql-server 3.23.49-8.5 mysql database server binaries
> ii postfix-mysql 1.1.11.0-3sher MYSQL map support for Postfix
> ii webmin-mysql 0.94-7woody1 mysql-server control module for webmin
>
>
> Anyway, now i'm trying to configure php to support either mysql or
> postgresql but it doesn't work. Actually I configure php as follows:
>
> ./configure --prefix=/usr --with-apxs2=/usr/sbin/apxs
> --enable-discard-path --with-config-file-path=/etc/apache2
> --enable-safe-mode --enable-roxen-zts --enable-fastcgi --with-openssl
> --enable-bcmath --with-bz2 --with-pic --enable-calendar --enable-ctype
> --with-imap-ssl --enable-ftp --with-gd --enable-gd-native-ttf
> --with-jpeg-dir=/usr --with-png-dir=/usr --with-t1lib=/usr
> --with-gmp=shared --with-pgsql=/usr/local/pgsql --with-mysql
> --with-xml=/usr --enable-trans-sid --enable-shmop --enable-sockets
> --with-regexp=php --enable-sysvsem --enable-sysvshm --enable-yp
> --enable-memory-limit --with-tsrm-pthreads --enable-shared
> --disable-debug --with-zlib=/usr --with-pspell=shared,/usr
> --with-unixODBC=shared,/usr --with-gettext=shared,/usr
> --enable-inline-optimization --disable-static --with-dom=/usr
> --with-java=/usr/local/j2sdk1.4.1_02 --with-curl=/usr
>
> Configure process is ok, but when i do the command make it gives me this
> error:
>
> ext/pgsql/pgsql.lo: In function `get_module':
> ext/pgsql/pgsql.lo(.text+0x0): multiple definition of `get_module'
> ext/mysql/php_mysql.lo(.text+0x0): first defined here
> collect2: ld returned 1 exit status
> make: *** [libphp4.la] Error 1
>
> I can understand the error, of course, but I don't know how to solve it.
> Any ideas?
>
> best regards,
> Francesco Biacca aka h4mm3r`