Problem compiling 64 bit on Linux

Image Ici on parle français ou anglais, comme on veut, comme on peut.
Image Here we speak french or english, as we want, as we can.

Moderator: jza

Forum rules
Image Ici on parle français ou anglais, comme on veut, comme on peut, mais on n'oublie jamais que l'on discute entre humains.
Il ne faut surtout pas oublier les mots magiques: bonjour, salut, merci, etc.
Les messages impolis sont rejetés et restent sans réponse.
Il faut souvent être patient, car il y a plein d'autres activités encore plus passionantes dans notre vie.

Image Here we speak french or english, as we want, as we can, but we never forget that we discuss between humans.
Do not forget the magic words: hello, hi, thank you, etc.
Rude messages are rejected and remain unanswered.
It is often necessary to be patient because there are many other activities even more exciting in our life.
Post Reply
coogor
Posts: 43
Joined: 29 Mar 2010 10:04

Problem compiling 64 bit on Linux

Post by coogor » 06 Oct 2010 17:33

Hi,

I tried to build zyGrib on openSUSE. In all later distros the error is the same:

Code: Select all

objs/moc_MenuBar.o objs/moc_POI.o  objs/moc_POI_Editor.o objs/moc_PositionEditor.o objs/moc_Projection.o  objs/moc_MapDrawer.o objs/moc_Terrain.o objs/moc_Util.o    -L/usr/lib64  -Lbzip2 -lbz2 -Lzlib-1.2.3 -Lproj-4.6.0/src -lproj -lQtXml -L/usr/lib64  -pthread -pthread -lQtGui -L/usr/X11R6/lib64 -pthread -lpng -lfreetype  -lSM -lICE -pthread -pthread -lXrender -lXrandr -lXfixes -lXcursor  -lXinerama -lfontconfig -lXext -lX11 -lQtNetwork -pthread -pthread  -lQtCore -lz -lm -pthread -lgthread-2.0 -lrt -lglib-2.0 -ldl -lpthread
/usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../x86_64-suse-linux/bin/ld:  skipping incompatible proj-4.6.0/src/libproj.a when searching for  -lproj
/usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../x86_64-suse-linux/bin/ld: cannot find -lproj
collect2: ld returned 1 exit status
make[1]: *** [zyGrib] Error 1
Any idea what this could be? What is this lproj?

Thanks

jza
Site Admin
Posts: 601
Joined: 19 Jan 2009 00:22

Re: Problem compiling 64 bit on Linux

Post by jza » 06 Oct 2010 20:52

Hi
Ooops, I don't clean the source before to make the package.

Try to compile with

Code: Select all

make veryclean; make
Any idea what this could be? What is this lproj?
The projection library http://trac.osgeo.org/proj/
Perhaps a precompiled version for your distribution exists, I don't know.

To avoid this problem, It would be better to use "configure" tools...
I update the toto list... and perhaps... in the future...
A+
Jacques

coogor
Posts: 43
Joined: 29 Mar 2010 10:04

Re: Problem compiling 64 bit on Linux

Post by coogor » 20 Nov 2010 11:50

The build for all openSUSE -Versions 11.* is fixed. Version 3.9.7 is available now

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests