[Gambas-user] Using FTPClient

Daniel Campos danielcampos at ...282...
Wed Feb 23 08:58:04 CET 2005


Adrien Hernot escribió:

>In fact, It works perfectly well with a newer version of the curl library.
>At least using the curl command line utility.
>
>But the upgrade of libcurl does not seem to affect my Gambas apllication. Is the libcurl statically linked in gambas?
>
>Thanks you for your support, Daniel.
>
>Adrien
>
>
>  
>
No, all in Gambas is dinamically linked. You should remove the old 
library from your system
and may be create symbolic links to the new one: for example, if you 
look at /usr/lib and you
find something like :

/usr/lib/libcurl.a
/usr/lib/libcurl.so.2
/usr/lib/libcurl.so.3.0.0*
/usr/lib/libcurl.la*
/usr/lib/libcurl.so.2.0.2*
/usr/lib/libcurl.so
/usr/lib/libcurl.so.3

You should remove (or better backup it in another safe place) all the 
*.so.2 files and
create symlinks with these names to the *.so.3 ones, and then run 
'ldconfig'.

If even this does not work, you should recompile the gb.net.curl component
if you installed Gambas from sources. Make './reconf' and './configure' 
at {gambas sources} folder,
and, as root, go to {gambas sources/src/lib/net/curl} and perform 'make 
install'.
gambas sources folder.

Regards,

D. Campos






More information about the User mailing list