While trying to get Zend to work this is the error:
--------------------------------------------------
/usr/libexec/elf/ld: cannot find -lltdl
*** Error code 1
Stop in /usr/local/directadmin/customapache/php-4.3.4.
--------------------------------------------------
If you try to just build zend you will get this:
--------------------------------------------------
ELF binary type "0" not known.
Abort trap
--------------------------------------------------
This is a error telling you that the linux binary is not working so I...
Made sure I had the linux compatiblity binary installed
#pkg_info | grep linux
linux_base-7.1_5 The base set of packages needed in Linux mode
#pico /etc/rc.conf
Added the following line
linux_enable="YES"
Loaded the binary
#linux
Made sure it was working
#kldstat
Id Refs Address Size Name
1 2 0xc0100000 43d388 kernel
2 1 0xc1c72000 15000 linux.ko
At this point I could run ./build zend and install Zend but it does not work properly. I then realized that I was tring to install Zend for linux on a FreeBSD box so
I downloaded ZendOptimizer-2.1.0b-FreeBSD4.0-i386.tar
Untar file
#tar -xz ZendOptimizer-2.1.0b-FreeBSD4.0-i386.tar
#cd /ZendOptimizer-2.1.0b-FreeBSD4.0-i386
Ran the installer
#./install.sh
Answered all the questions, reloaded Apache and Zend was installed
I included the Linux binary details because you may want to have this running for anything that DA or other linux apps you might want to run in the future. I don't see the build in FreeBSD grabbing the correct file I think we just need a if, else statement just like the frontpage stuff.
Hopefully that helps someone
--------------------------------------------------
/usr/libexec/elf/ld: cannot find -lltdl
*** Error code 1
Stop in /usr/local/directadmin/customapache/php-4.3.4.
--------------------------------------------------
If you try to just build zend you will get this:
--------------------------------------------------
ELF binary type "0" not known.
Abort trap
--------------------------------------------------
This is a error telling you that the linux binary is not working so I...
Made sure I had the linux compatiblity binary installed
#pkg_info | grep linux
linux_base-7.1_5 The base set of packages needed in Linux mode
#pico /etc/rc.conf
Added the following line
linux_enable="YES"
Loaded the binary
#linux
Made sure it was working
#kldstat
Id Refs Address Size Name
1 2 0xc0100000 43d388 kernel
2 1 0xc1c72000 15000 linux.ko
At this point I could run ./build zend and install Zend but it does not work properly. I then realized that I was tring to install Zend for linux on a FreeBSD box so
I downloaded ZendOptimizer-2.1.0b-FreeBSD4.0-i386.tar
Untar file
#tar -xz ZendOptimizer-2.1.0b-FreeBSD4.0-i386.tar
#cd /ZendOptimizer-2.1.0b-FreeBSD4.0-i386
Ran the installer
#./install.sh
Answered all the questions, reloaded Apache and Zend was installed
I included the Linux binary details because you may want to have this running for anything that DA or other linux apps you might want to run in the future. I don't see the build in FreeBSD grabbing the correct file I think we just need a if, else statement just like the frontpage stuff.
Hopefully that helps someone