Amd 64

Same problem on Xeon 64Bit btw..

FC3 with 64Bit kernel gives me a:
o ssl_module uses ConfigStart/End
+ SSL interface: mod_ssl/2.8.22
+ SSL interface build type: DSO
+ SSL interface compatibility: enabled
+ SSL interface experimental code: disabled
+ SSL interface conservative code: disabled
+ SSL interface vendor extensions: disabled
+ SSL interface plugin: Built-in SDBM
+ SSL library path: /usr
+ SSL library version: OpenSSL 0.9.7a Feb 19 2003
Error: Cannot find SSL library files under /usr
./configure:Error: APACI failed

*** There was an error while trying to configure apache+mod_ssl. Check the configure.apache_ssl file
 
That fixed the SSL problem, it now kicks out on GD:


usr/local/lib -ljpeg -lfontconfig -lpng12 -lz -lm -Wl,-rpath -Wl,/usr/local/lib -Wl,-soname -Wl,libgd.so.2 -o .libs/libgd.so.2.0.0
/usr/bin/ld: /usr/local/lib/libjpeg.a(jcparam.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libjpeg.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libgd.la] Error 1
make[2]: Leaving directory `/usr/local/directadmin/customapache/gd-2.0.33'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/customapache/gd-2.0.33'
make: *** [all] Error 2

*** The make has failed, do you want to try to make again? (y,n):
 
This may happen because libjpeg doesn't like the 64bit enviroment ?

When I try to manually compile libjpeg with the shared library:
[root@da jpeg-6b]# ./configure --enable-shared
..
..
checking host system type... Invalid configuration `x86_64-unknown-linux-gnu': machine `x86_64-unknown' not recognized
 
Wunk said:
That fixed the SSL problem, it now kicks out on GD:

usr/local/lib -ljpeg -lfontconfig -lpng12 -lz -lm -Wl,-rpath -Wl,/usr/local/lib -Wl,-soname -Wl,libgd.so.2 -o .libs/libgd.so.2.0.0
/usr/bin/ld: /usr/local/lib/libjpeg.a(jcparam.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
libjpeg needs -fpic... GD can't link against it otherwise.

In your build script, change
Code:
make libjpeg.a
to
Code:
make CFLAGS=-fpic libjpeg.a

then rebuild libjpeg.
 
\o/

Great, took a bit for it to see that libjpeg changed (had to build clean and remove all libjpeg.a instances, then seperately build libjpeg with the build script)

PHP kicks out on the MySQL library check now, but that doesn't look like a major problem, trying to fix that now..
 
MySQL problem solved, I uninstalled the MySQL packages that came with DA and downloaded the EMT64 rpms from mysql.com and installed those.

Last thing to do was to link all /usr/lib64/libmysql* files to /usr/lib/ and PHP compiles properly too..

Now time to test the machine a bit, I'm really happy it finally works so far, since we've got 51 Dell SC1425's coming our way, all with 3.2Ghz 64Bit Xeon processors..

Shame if I'd have to install a 32bit OS on that :-)
 
Nice going fixing the MySQL on Linux. Any idea of how to do this with FreeBSD 5.4? So far it looks like DA doesn't install properly and core dumps and when it gets to MySQL that core dumps too of course leading to a PHP failure. This really sucks.

Big Wil
 
If you're running an AMD64 chip and a 64-bit OS, then you need a MySQL package that will work with your 64-bit OS and with and AMD64 processor. I don't think DA ever announced compatibility with specific 64-bit processors and specific 64-bit operating systems.

I've read plenty of reviews of 64-bit systems, and all of them point out various incompatibilities.

Jeff
 
Well they sort of did to me directly as I contacted them before making this jump. Supposedly it is supposed to run fine with 32bit compatibility in place. But don't worry as I have never planned on holding them to it. They help us out too much for me to get cranky.

But I did notice some other users here that seem to have gotten it running on what seems to be FreeBSD 5.x and was sort of wondering how they got that far.

Big Wil
 
Last edited:
No dice! Way too many problems in the way for a production machine. Anybody have a good howto on how to downgrade from AMD64 to I386. I think the biggest problem is that I have a geom mirror going. Don't see how I can downgrade that and still be able to talk to the machine remotely.

Help?

Big Wil
 
I can attempt it for you, a howto might not be advisable from me for something I havent tried to do in the past, reply to my email I sent regarding the other post if you want me to do this.
 
Back
Top