TheCableGuy96
Verified User
- Joined
- Apr 29, 2010
- Messages
- 43
Hello,
I've been trying to update one of my servers with the DirectAdmin update script, however it's been failing with the following error:
====================================
In file included from urldata.h:156,
from base64.c:42:
ssh.h:150:4: error: #error "SCP/SFTP protocols require libssh2 0.16 or later"
make[2]: *** [base64.lo] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/curl-7.21.0/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/directadmin/custombuild/curl-7.21.0/lib'
make: *** [all-recursive] Error 1
====================================
I've installed libssh2 but it appears the script is using it's own version and not the systems version.
I emailed John at Tech support who advised me to edit the build script to find the:
doCURL()
funciton, then change:
./configure --disable-file
to be:
./configure --disable-file --without-ssl --without-libssh2
That did the trick but now my whole billing system is down as I cannot use cURL with SSL to order domains, process payments or anything.
I've emailed John again but I know he's always busy and was hoping someone on here might be able to help me out as I might not get a response from him till tomorrow.
Anyone any idea's how I can fix this please?
I've been trying to update one of my servers with the DirectAdmin update script, however it's been failing with the following error:
====================================
In file included from urldata.h:156,
from base64.c:42:
ssh.h:150:4: error: #error "SCP/SFTP protocols require libssh2 0.16 or later"
make[2]: *** [base64.lo] Error 1
make[2]: Leaving directory `/usr/local/directadmin/custombuild/curl-7.21.0/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/local/directadmin/custombuild/curl-7.21.0/lib'
make: *** [all-recursive] Error 1
====================================
I've installed libssh2 but it appears the script is using it's own version and not the systems version.
I emailed John at Tech support who advised me to edit the build script to find the:
doCURL()
funciton, then change:
./configure --disable-file
to be:
./configure --disable-file --without-ssl --without-libssh2
That did the trick but now my whole billing system is down as I cannot use cURL with SSL to order domains, process payments or anything.
I've emailed John again but I know he's always busy and was hoping someone on here might be able to help me out as I might not get a response from him till tomorrow.
Anyone any idea's how I can fix this please?