Re: Install problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Illó Gábor schreef:
Hello

I have this error when i type make:

ml2 -lz -liconv -lm -lxml2 -lz -liconv -lm -lcrypt -o libphp5.la
/usr/bin/ld: /usr/local/lib/libz.a(compress.o): relocation R_X86_64_32 can
not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libz.a: could not read symbols: Bad value
*** Error code 1

try adding '--with-pic' to the configure line.

Can somebody help me? SYS: FreeBSD 7.0 AMD64

./configure --prefix=/usr/local/php \
--with-apxs2=/usr/local/sbin/apxs \
--with-mysql \
--with-gd \
--with-jpeg-dir=/usr/lib \
--with-png-dir=/usr/lib \
--enable-shared \
--enable-static \

aren't these last two a bit mutually exclusive?

--with-pear \
--with-mcrypt \
--with-iconv \
--with-openssl \
--with-config-file-path=/usr/local/php \
--enable-mbstring \
--with-sqlite \
--with-pdo-sqlite \
--without-sybase-ct \
--without-pgsql \
--without-mssql \
--without-msql \
--enable-ftp \
--enable-sockets \
--enable-pcntl \
--with-imap=/usr/lib \
--with-imap-ssl=/usr/lib



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux