[Gambas-user] Using FTPClient
Adrien Hernot
amh at ...859...
Wed Feb 23 20:51:55 CET 2005
Hi Again,
I have now installed libcurl-7.11.0 and curl-7.11.0.
The connection to the FTP server works at each attemp with the curl utility but fails very often with gambas.
I have only one libcurl, it is /usr/lib/libcurl.so.2.0.2 and a synlink to it named libcurl.so.2.
I made sure that /usr/bin/curl uses that lib and also that /usr/lib/gambas/lib.gb.net.curl.so and similar uses that lib (using the ldd command).
I have not tryed to recompile Gambas from source. But how can that help?
Cheers,
Adrien
On Wed, Feb 23, 2005 at 08:58:04AM +0100, Daniel Campos wrote:
> 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
>
>
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_ide95&alloc_id396&opick
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
More information about the User
mailing list