Mapserver 4.6.1 Make problems - mapogr.o
Christian Schaffer
christian.schaffer at MUENCHEN.DE
Fri Sep 9 02:48:52 PDT 2005
Hi Steve,
sorry for not answering earlier.
My system´s running Solaris 10. I also used the --with-wmsclient option
to configure, but I actually used gmake to build my mapserver binary,
which worked very well then.
The error, you´re mentioning seems to be in context with php_mapscript.
I found the following, which might be helpful:
http://www.filibeto.org/pipermail/solaris-users/2004-March/000660.html
Regards,
Chris
Steve Benzo schrieb:
>Christian,
>
>Danke, for that, enabling LD_OPTIONS with the /usr/lib
>and /usr/local/lib solved a lot of the issues, I'm
>able to make (as opposed to gmake) mapserver with a
>few options now.
>
>There's one final issue I'm confronting. When I enable
>--with-wmsclient, I get this error:
>
>ld: fatal: relocations remain against allocatable but
>non-writable sections
>collect2: ld returned 1 exit status
>make[1]: *** [php_mapscript.so] error 1
>
>above that are a bunch of calls for libcrypto.a,
>libssl.a, and some others i think...
>
>Any suggestions? This is on Solaris 9.
>
>--- Christian Schaffer
><christian.schaffer at muenchen.de> wrote:
>
>
>
>>Hello Steve,
>>hi list,
>>
>>I experienced a pretty similar issue trying to
>>compile 4.6.0 on Solaris
>>10 a few weeks ago. Joshua Buysse gave me the
>>relevant hint to avoid the
>>problem: Try to set LD_OPTIONS in your environment,
>>e.g.
>>LD_OPTIONS='-R/opt/csw/lib -L/opt/csw/lib
>>-R/opt/csw/postgresql/lib
>>-L/opt/csw/postgresql/lib -R/usr/local/lib
>>-L/usr/local/lib
>>-R/opt/oracle/lib -L/opt/oracle/lib'
>>export LD_OPTIONS
>>
>>In your case, find the libclntsh.so.9.0 and make the
>>LD_OPTIONS point to it.
>>
>>For me, that works perfectly. After recompiling with
>>this option set,
>>calling mapserver via web gives you the desired
>>output.
>>
>>Hope that helps.
>>
>>Regards,
>>Chris
>>
>>Steve Benzo schrieb:
>>
>>
>>
>>>Daniel,
>>>
>>>
>>>
>>>
>>>
>>>>That's possible if you link with libs that are not
>>>>in your default lib
>>>>path settings.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>I set the ldlibpath to the libs that mapserver
>>>requires before i compile, but it doesn't seem to
>>>'remember' those when it comes time to run
>>>
>>>
>>mapserver
>>
>>
>>>later? Is there a way to hard code those values at
>>>compile time?
>>>
>>>
>>>
>>>
>>>
>>>>Did you look in your Apache error_log to look for
>>>>hints? It may be that
>>>>your Apache config is also missing the
>>>>ld_library_path settings, that
>>>>would explain the problem, and you would see
>>>>something to that effect in
>>>>the error_log.
>>>>
>>>>Daniel
>>>>
>>>>
>>>>
>>>>
>>>The error log shows the same errors I get when I
>>>
>>>
>>try
>>
>>
>>>to run mapserver without those libs defined:
>>>
>>>[Fri Sep 02 16:53:03 2005] [error] [client xxx]
>>>Premature end of script headers: mapserv_new
>>>
>>>[Fri Sep 02 16:53:03 2005] [error] [client xxx]
>>>ld.so.1: /usr/local/apache/cgi-bin/mapserv_new:
>>>
>>>
>>fatal:
>>
>>
>>>libclntsh.so.9.0: open failed: No such file or
>>>directory
>>>
>>>PS Thanks a lot for your help on this!
>>>
>>>
>>>
>>>
>>>
>>____________________________________________________
>>
>>
>>>Start your day with Yahoo! - make it your home page
>>>
>>>
>>>http://www.yahoo.com/r/hs
>>>
>>>
>>>
>>>
>>>
>>>
>>--
>>
>>
>>
>______________________________________________________________
>
>
>> Landeshauptstadt München
>>
>> Referat für Gesundheit und
>>Umwelt
>> Informationsverarbeitung
>>Christian Schaffer
>> Bayerstraße 28a
>> 80335 München
>>
>> Tel: 089 - 233 - 4 76 67
>> Fax: 089 - 233 - 4 76 62
>>
>>
>> http://www.muenchen.de
>>
>>christian.schaffer at muenchen.de
>>
>>
>>
>______________________________________________________________
>
>
>>
>>
>
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam? Yahoo! Mail has the best spam protection around
>http://mail.yahoo.com
>
>
>
--
______________________________________________________________
Landeshauptstadt München
Referat für Gesundheit und Umwelt
Informationsverarbeitung
Christian Schaffer
Bayerstraße 28a
80335 München
Tel: 089 - 233 - 4 76 67
Fax: 089 - 233 - 4 76 62
http://www.muenchen.de
christian.schaffer at muenchen.de
______________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20050909/70eea08f/attachment.htm>
More information about the MapServer-users
mailing list