PDA

View Full Version : FreeBSD 7.1 x64



Evangel
02-18-2009, 10:27 AM
Good times!
FreeBSD 7.1 has put himself confronted with two problemomi

1. poorly updated MySql
line 2239


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`

replaced by


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


#!/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

installing


/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):
help deal with the problem vtaroy
Thank you!

Sincerely EvAngel p.s. Ruslan

scsi
02-18-2009, 10:36 AM
Since when is 7.1 64bit supported.