Problem working with mapserver on linux

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem working with mapserver on linux

amit tripathi
Hi All,

When i try to use mapserver on linux using jdk1.5.10, i got this error:
[]java.lang.UnsatisfiedLinkError: /home/nsehra/FDfolio/FD-runtime/FDMonitor-runtime/mapserver/libmapscript.so: Can't load IA 32-bit .so on a IA 32-bit platform
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
        at java.lang.Runtime.loadLibrary0(Runtime.java:822)
        at java.lang.System.loadLibrary(System.java:993)
        at edu.umn.gis.mapscript.mapscriptJNI.<clinit>(mapscriptJNI.java:23)
        at edu.umn.gis.mapscript.pointObj.<init>(pointObj.java:98)
        at com.freightdesk.fdmonitor.common.KPIDisplayManager.getMapDisplayType(KPIDisplayManager.java:323)



can somebody help me? I am getting maps run with the same setup on a different server.

Best Regards,
Amit





      ___________________________________________________________
Rise to the challenge for Sport Relief with Yahoo! For Good  

http://uk.promotions.yahoo.com/forgood/
_______________________________________________
mapserver-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Reply | Threaded
Open this post in threaded view
|

Re: Problem working with mapserver on linux

richf
amit tripathi wrote
[]java.lang.UnsatisfiedLinkError: /home/nsehra/FDfolio/FD-runtime/FDMonitor-runtime/mapserver/libmapscript.so: Can't load IA 32-bit .so on a IA 32-bit platform
It's a horrible error message.  Execute the following:

ldd /home/nsehra/FDfolio/FD-runtime/FDMonitor-runtime/mapserver/libmapscript.so

You are likely missing some libraries, or at least missing them from the appropriate path (can't remember offhand if that's just LD_LIBRARY_PATH, or maybe something else at play wrt java mapscript)

- Rich
Reply | Threaded
Open this post in threaded view
|

Re: Problem working with mapserver on linux

amit tripathi
In reply to this post by amit tripathi
Hi,

Since jdk1.5.10 wraps error, i moved back to jdk1.5.07 and got this error:
 []java.lang.UnsatisfiedLinkError:/home/nsehra/FDfolio/FD-runtime/FDMonitor-runtime/mapserver/libmapscript.so:libproj.so.0: cannot open shared object file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1676)
        at java.lang.Runtime.loadLibrary0(Runtime.java:822)
        at java.lang.System.loadLibrary(System.java:992)
        at edu.umn.gis.mapscript.mapscriptJNI.<clinit>(mapscriptJNI.java:23)

I also tried changing mode of the file to be executable, and run lddbut repeatedly got this error. Although the same setup is working onother server.

Best Regards,
Amit

----- Original Message ----
From: rich.fromm <[hidden email]>
To: [hidden email]
Sent: Thursday, 13 March, 2008 12:51:22 AM
Subject: Re: [MAPSERVER-USERS] Problem working with mapserver on linux



amit tripathi wrote:
>
> []java.lang.UnsatisfiedLinkError:
> /home/nsehra/FDfolio/FD-runtime/FDMonitor-runtime/mapserver/libmapscript.so:
> Can't load IA 32-bit .so on a IA 32-bit platform
>

It's a horrible error message.  Execute the following:

ldd
/home/nsehra/FDfolio/FD-runtime/FDMonitor-runtime/mapserver/libmapscript.so

You are likely missing some libraries, or at least missing them from the
appropriate path (can't remember offhand if that's just LD_LIBRARY_PATH, or
maybe something else at play wrt java mapscript)

- Rich

--
View this message in context: http://www.nabble.com/Problem-working-with-mapserver-on-linux-tp16001810p16012515.html
Sent from the Mapserver - User mailing list archive at Nabble.com.

_______________________________________________
mapserver-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapserver-users





      __________________________________________________________
Sent from Yahoo! Mail.
The World's Favourite Email http://uk.docs.yahoo.com/nowyoucan.html

_______________________________________________
mapserver-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Reply | Threaded
Open this post in threaded view
|

Re: Problem working with mapserver on linux

Oliver Lichte
Hi Amit,

seems not to be the equal setup. You should do

ldd libmapscript.so

within a bash and post the output here. I guess the libproj.so.0 and maybe
others are not in path to be bound by libmapscript.so.

Best regards
Oliver

Am Donnerstag 13 März 2008 04:38 schrieb amit tripathi:
> Problem working with mapserver on linux
>  Datum: Heute 04:38:38

--
Diplom-Informatiker                          Carl-von-Ossietzky-Straße 9-11
AG Integrative Modellierung                  D-26129 Oldenburg
Institut für Chemie und Biologie des Meeres  Tel.: +49-441-798-3622 Fax: -3404
Carl-v.-Ossietzky Universität Oldenburg      www.icbm.de/impulse
_______________________________________________
mapserver-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Reply | Threaded
Open this post in threaded view
|

Re: Problem working with mapserver on linux

amit tripathi
In reply to this post by amit tripathi
Hi Oliver,

I got the problem solved, it was a permission issue.

Best Regards,
Amit

----- Original Message ----
From: Oliver Lichte <[hidden email]>
To: [hidden email]
Cc: amit tripathi <[hidden email]>; rich.fromm <[hidden email]>
Sent: Thursday, 13 March, 2008 9:12:42 PM
Subject: Re: [MAPSERVER-USERS] Problem working with mapserver on linux

Hi Amit,

seems not to be the equal setup. You should do

ldd libmapscript.so

within a bash and post the output here. I guess the libproj.so.0 and maybe
others are not in path to be bound by libmapscript.so.

Best regards
Oliver

Am Donnerstag 13 März 2008 04:38 schrieb amit tripathi:
> Problem working with mapserver on linux
>  Datum: Heute 04:38:38

--
Diplom-Informatiker                          Carl-von-Ossietzky-Straße 9-11
AG Integrative Modellierung                  D-26129 Oldenburg
Institut für Chemie und Biologie des Meeres  Tel.: +49-441-798-3622 Fax: -3404
Carl-v.-Ossietzky Universität Oldenburg      www.icbm.de/impulse





      ___________________________________________________________
Rise to the challenge for Sport Relief with Yahoo! For Good  

http://uk.promotions.yahoo.com/forgood/
_______________________________________________
mapserver-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Reply | Threaded
Open this post in threaded view
|

Version 4.6.2 binaries

Juan Luis Cardoso-2
In reply to this post by amit tripathi


Hi

How can i get the binary files of the Mapserver 4.6.2 version?
I can`t find them in the site.
Thanks in advance.

Juan Luis Cardoso

_______________________________________________
mapserver-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Reply | Threaded
Open this post in threaded view
|

Re: Version 4.6.2 binaries

Sara Yurman
Yes, Olga, I'd planned to do it.  When do we need it completed?  I'm neck deep in the US Census, but can give it time this weekend.

Sara
 
 Sara Yurman
 Spatial Focus, Inc.
    On Tue Mar 25 13:00 , "Juan Luis Cardoso"  sent:  > > >Hi  > >How can i get the binary files of the Mapserver 4.6.2 version? >I can`t find them in the site. >Thanks in advance. > >Juan Luis Cardoso > >_______________________________________________ >mapserver-users mailing list >[hidden email] >http://lists.osgeo.org/mailman/listinfo/mapserver-users 
_______________________________________________
mapserver-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
Reply | Threaded
Open this post in threaded view
|

Re: Version 4.6.2 binaries

Jeff McKenna-2
In reply to this post by Juan Luis Cardoso-2
Older source and windows binaries are still available at:
http://www.maptools.org/php_mapscript/index.phtml?page=download-archives.html

-jeff




Juan Luis Cardoso wrote:
>
> Hi
>
> How can i get the binary files of the Mapserver 4.6.2 version?
> I can`t find them in the site.
> Thanks in advance.
>
> Juan Luis Cardoso

_______________________________________________
mapserver-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/mapserver-users