[Mapserver-users] php_mapscript from cvs undefined symbol: curl_multi_info_read ?

Tyler Mitchell TMitchell at lignum.com
Wed Apr 9 08:09:02 PDT 2003


Right-o Vincent.  That's exactly what I've done and it is now working just
fine...

Thanks.


                                                                                                                           
                      Vincent Schut                                                                                        
                      <schut at sarvision.        To:       "Tyler Mitchell" <TMitchell at lignum.com>,                          
                      com>                      mapserver-users at lists.gis.umn.edu                                          
                                               cc:                                                                         
                      04/09/2003 06:11         Fax to:                                                                     
                      AM                       Subject:  Re: [Mapserver-users] php_mapscript from cvs undefined symbol:    
                                                curl_multi_info_read ?                                                     
                                                                                                                           




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