[mapserver-users] php_mapscript.so linkage problem?
Doyon, Jean-Francois
Jean-Francois.Doyon at ccrs.nrcan.gc.ca
Wed Jan 9 12:14:05 PST 2002
What do you mean by context exactly? The common problem here would be the
linker, but they abviously both share .. oh wait maybe not, could it because
I think that system may have 2 linkers on it ... the Solaris LD and the GNU
LD ... hmmm I'll look into that ...
Thanks!
J.F.
-----Original Message-----
From: John Carlson [mailto:carlson14 at llnl.gov]
Sent: Wednesday, January 09, 2002 3:06 PM
To: Doyon, Jean-Francois; 'mapserver-users at lists.gis.umn.edu'
Subject: Re: [mapserver-users] php_mapscript.so linkage problem?
I suspect there's a difference in your environment between the web server
context
and your command line context. But I don't guarantee that.
John
At 02:38 PM 1/9/2002 -0500, Doyon, Jean-Francois wrote:
>Hello all,
>
>I just tried to look at this problem again, and am still baffled.
>
>"ldd php_mapscript.so" suggests everything is fine! And the compile went
>without a hitch (Excpet for the odd usual warnings).
>
>I'm still not sure where the "main" symbol is supposed to come from, or why
>"httpd" is the one throwing the exception ... shouldn't it be libphp.so
>complaining?
>
>Any help would be greatly appreciated!
>
>Thanks!
>J.F.
>
>-----Original Message-----
>From: Doyon, Jean-Francois [mailto:Jean-Francois.Doyon at CCRS.NRCan.gc.ca]
>Sent: Friday, December 28, 2001 11:21 AM
>To: 'mapserver-users at lists.gis.umn.edu'
>Subject: [mapserver-users] PHP Problem
>
>
>Hello,
>
>I jus tried to compile/setup PHP mapscript for the first time in a while
and
>am having problems.
>
>The machine is a SunOS 5.8 with Apache 1.3.20 and PHP 4.0.6 compiled with:
>'./configure' '--with-apxs=/usr/local/apache/bin/apxs' '--without-mysql'
>'--with-system-regex' '--with-yaz'
>
>phpinfo() works fine.
>
>Then I compile Mapserver from the official 3.5 tarball using:
>
>./configure --with-proj --with-wmsclient --with-gdal --with-ogr
>--with-php=/usr/src/php-4.0.6/ --with-apxs=/usr/local/apache/bin/apxs
>
>No problems there, apart from the odd warning.
>
>But when I try to use dl() just before the phpinfo() I get:
>
>Warning: Unable to load dynamic library
>'/usr/local/lib/php/extensions/no-debug-non-zts-20001222/php_mapscript.so'
-
>ld.so.1: /usr/local/apache/bin/httpd: fatal: relocation error: file
>/usr/local/lib/php/extensions/no-debug-non-zts-20001222/php_mapscript.so:
>symbol main: referenced symbol not found in /home/httpd/html/info.php on
>line 3
>
>
>Anybody seen this before? The ldd output looks fine, so all the libs are OK
>... I'm not sure what that symbol is ... "main" .. sounds to me like it
>should be internal, so how could it not find it? :)
>
>Help!
>
>Thanks,
>
>Jean-François Doyon
>Internet Service Development and Systems Support
>GeoAccess Division
>Canadian Center for Remote Sensing
>Natural Resources Canada
>http://atlas.gc.ca
>Phone: (613) 992-4902
>Fax: (613) 947-2410
More information about the MapServer-users
mailing list