View Full Version : No -lltdl
iStormy
09-18-2003, 05:29 PM
I'm on my 8th or 9th attempt to install DA.
The problem I'm having right now is that PHP won't link during ./install.sh:
....main/internal_functions.lo -lcrypt -lcrypt -lmcrypt -lltdl -lintl -lpng -lz -ljpeg -lcurl -lz -lm -lcurl -lz -lssl -lcrypto -lz -lcrypt -lcrypt -o libphp4.la
/usr/libexec/elf/ld: cannot find -lltdl
I've deleted /usr/local/directadmin and started from scratch 3 times with the same results. Mcrypt (which supplies ltdl) seems to compile and install without problem, though I don't have a libltdl in /usr/local/lib.
I also keep getting signal 10 errors from GCC. I don't know if that is hardware or software related. Fortunately, DA lets me continue, recompiling the failed file, and so I don't think that is causing this error.
Ideas?
iStormy
09-18-2003, 06:09 PM
Never mind.
I put the drive in another machine and DA installed perfectly.
I guess my new CPU is the problem.
bjseiler
09-23-2003, 07:12 AM
I would not say never mind yet. I got the same thing when I installed freetype and then tried reinstalling PHP with it.
/usr/libexec/elf/ld: cannot find -lltdl
*** Error code 1
Stop in /usr/local/directadmin/customapache/php-4.3.3.
-e \n*** The make has failed, do you want to try to make again? (y,n):
bjseiler
09-23-2003, 07:57 AM
I think I have a work around, but this seems like a bandaid and not a good solution.
wget http://www4.leadasp.com/libltdl.txt
cp libltdl.txt libltdl.so
chmod 755 libltdl.so
mv libltdl.so /usr/local/lib
I just took it from another FreeBSD server and shoved it in there and it seems to work now......
The Prohacker
09-23-2003, 06:51 PM
Actually I ran into this same problem on a RH9 box a few days ago...
DirectAdmin Support
09-24-2003, 12:45 AM
I noticed that they changed at least a few libraries when I was trying to compile very basic things on RedHat 9... kerberos for example. Had to go in and manually add the include lines to the compile.. big pain.
John
rhoekman
01-09-2004, 09:30 PM
This error pops up again when you do a reinstall or if you interrupted the script. Or they updated the libraries during the 10 minutes I was installing and reissued the ./setup.sh again. Not impossible, but very unlikely.
But I found that in the beginning there are errors in retrieving kerberos:
DirectAdmin will now be install on: FreeBSD 4.9
Is this correct? (must match license) (y,n) : y
beginning pre-checks, please wait...
adding krb5-libs ...
Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.9-release/Latest/krb5-libs.tgz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.9-release/Latest/krb5-libs.tgz' by URL
adding krb5-devel ...
Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.9-release/Latest/krb5-devel.tgz: File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.9-release/Latest/krb5-devel.tgz' by URL
edit: I checked manually with pkg_add -r krb5-libs and the packages are not retrievable at the moment on ftp.freebsd.org.
So my suggestion is to get a list of fallback mirrors or stop the installation at that point because it ignores the error.
DirectAdmin Support
01-10-2004, 01:16 PM
Hello,
Kerberos is checked because of RedHat 9.. it might not even exist on FreeBSD, but because of the universal nature of the script, it's checked anyway...
John
rhoekman
01-10-2004, 09:56 PM
On FreeBSD these packages do not exist the way you call them just to confirm that.. There is Kerberos but you need to call them by the package 'krb5'..
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.