Good times!
FreeBSD 7.1 has put himself confronted with two problemomi
1. poorly updated MySql
line 2239
replaced by
2. does not compile PHP
config
installing
help deal with the problem vtaroy
Thank you!
Sincerely EvAngel p.s. Ruslan
FreeBSD 7.1 has put himself confronted with two problemomi
1. poorly updated MySql
line 2239
Code:
MYSQLPACK=mysql-${MYSQL_VER}
BINPACK=`ls $MYSQLPACK-*i386.tar.gz $MYSQLPACK-*i686.tar.gz $MYSQLPACK-*i486.tar.gz $MYSQLPACK-*x86_64.tar.gz 2>/dev/null | head -n 1`
if [ "$BINPACK" = "" ]; then
compile_mysql_binary
fi
#make sure were back
cd ${CWD};
BINPACK=`ls $MYSQLPACK-*i386.tar.gz $MYSQLPACK-*i686.tar.gz $MYSQLPACK-*i486.tar.gz 2>/dev/null | head -n 1`
Code:
MYSQLPACK=mysql-${MYSQL_VER}
BINPACK=`ls $MYSQLPACK-*amd64.tar.gz $MYSQLPACK-*i386.tar.gz $MYSQLPACK-*i686.tar.gz $MYSQLPACK-*i486.tar.gz $MYSQLPACK-*x86_64.tar.gz 2>/dev/null | head -n 1`
if [ "$BINPACK" = "" ]; then
compile_mysql_binary
fi
#make sure were back
cd ${CWD};
BINPACK=`ls $MYSQLPACK-*amd64.tar.gz $MYSQLPACK-*i386.tar.gz $MYSQLPACK-*i686.tar.gz $MYSQLPACK-*i486.tar.gz $MYSQLPACK-*x86_64.tar.gz 2>/dev/null | head -n 1`
2. does not compile PHP
config
Code:
#!/bin/sh
./configure \
--with-apxs2 \
--with-curl=/usr/local/lib \
--with-gd \
--enable-gd-native-ttf \
--with-ttf \
--with-gettext \
--with-jpeg-dir=/usr/local/lib \
--with-freetype-dir=/usr/local/lib \
--with-kerberos \
--with-openssl \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr/local/mysql \
--with-mysqli=/usr/local/bin/mysql_config \
--with-pdo-mysql=/usr/local/mysql \
--with-pear \
--with-png-dir=/usr/local/lib \
--with-zlib \
--with-zlib-dir=/usr/local/lib \
--enable-zip \
--with-iconv=/usr/local \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-mbstring
Code:
/usr/local/lib/libjpeg.so: could not read symbols: Invalid operation
*** Error code 1
/usr/local/lib/libjpeg.so: could not read symbols: Invalid operation
*** Error code 1
2 errors
-e \n*** The make has failed, do you want to try to make again? (y,n):
Thank you!
Sincerely EvAngel p.s. Ruslan