[Mapserver-users] php_mapscript from cvs undefined symbol: curl_multi_info_read ?
Vincent Schut
schut at sarvision.com
Wed Apr 9 06:11:42 PDT 2003
TM,
as you mentioned in your ldd output that your libcurl.so.2 is in /usr/lib,
this might be an old remnant of an *binary installation* of libcurl you did
and forgot to undo before you compiled curl yourself. If you compile curl and
do not specify the prefix, it will install in /usr/local/lib, not in
/usr/lib. Probably you (or your automagic installer) have installed an older
(and incompatible) version of libcurl long ago which is still there. Usually
/usr/lib has preference over /usr/local/lib for the dynamic linker, so the
old version will be found and used, resulting in an error.
To check if this is true: is there also a libcurl.so.2 in /usr/local/lib? What
is the date of the libcurl.so.2 in /usr/lib (probably pretty old, not the
date you compiled curl).
What should you do if this is the case: properly remove the old curl (rpm,
apt-get, yast, whatever your linux distro uses...) or manually delete the
libcurl* files and the files belonging to it in /usr/include (!!!).
Eventually recompile and install curl to make sure it gets installed right in
place.
That should do the trick.
Regards,
Vincent Schut.
On Monday 07 April 2003 17:35, Tyler Mitchell wrote:
> Hi all,
> I updated from cvs over the weekend to the latest greatest, adding curl,
> etc as per migration instructions for 3.7.
> From within my gmap application I'm getting the notice:
>
> Warning: Unable to load dynamic library
> '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/php_mapscript_37.s
>o'
>
> -
> /usr/local/lib/php/extensions/no-debug-non-zts-20020429/php_mapscript_37.so
>:
>
> undefined symbol: curl_multi_info_read in /var/www/gmap/htdocs/gmap75.phtml
> on line 63
>
> Anyone give me some pointers on what problems:
>
> curl_multi_info_read
>
> ...is related to?
>
> TM
>
>
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
--
______________________________________
Vincent Schut (schut at sarvision.com)
Sarvision B.V.
Wageningen, The Netherlands
www.sarvision.com
More information about the MapServer-users
mailing list