[Proj] general question about upgrading PROJ.4

Roger Oberholtzer roger at opq.se
Thu Oct 13 09:51:46 EST 2011


On Thu, 2011-10-13 at 14:50 +0100, Duffy, Garret wrote:
> Hi Roger,
> 
> This is what is returned when I type the commands:
> 
> garret at linux-gky9:~> ldd /usr/bin/proj
>         linux-gate.so.1 =>  (0xffffe000)
>         libproj.so.0 => /usr/local/lib/libproj.so.0 (0xb7fdb000)
>         libm.so.6 => /lib/libm.so.6 (0xb7fb5000)
>         libc.so.6 => /lib/libc.so.6 (0xb7e72000)
>         /lib/ld-linux.so.2 (0xb8031000)
> 
> garret at linux-gky9:~> ll /usr/lib/libproj.so*
> -rw-r--r-- 1 root root 230K 2011-08-18 12:43 /usr/lib/libproj.so.0.6.6
> lrwxrwxrwx 1 root root   16 2011-10-06 09:54 /usr/lib/libproj.so.0 -> libproj.so.0.6.6
> lrwxrwxrwx 1 root root   16 2011-10-06 09:54 /usr/lib/libproj.so -> libproj.so.0.6.6
> 
> garret at linux-gky9:~> rpm -ql libproj0-4.7.0-9.1
> /usr/lib/libproj.so.0
> /usr/lib/libproj.so.0.6.6
> 
> garret at linux-gky9:~> proj
> Rel. 4.5.0, 22 Oct 2006


I think I see your problem. What are the /usr/local/lib/libproj.so*
files? That is what the proj program is using. Not the ones in the
installed RPM. This must be wrong.

Get rid (safely of course) of /usr/local/lib/libproj.so* and things may
look different. Hopefully even look better. (Run 'ldconfig' after
removing the files.)


> 
> So, I think the same as you had.
> 
> I will try what you suggest, remove the SLE11 Geo repo and suse repos with suse version greater than 11 and add susefactory.  So, should I just reinstall grass and proj with this new configuration?
> 
> The reason I added the suse repos with version greater than 11 was to get python 2.6... but I guess you can't do that...

I don't know about that. 2.6 may be available. That is perhaps off topic
here. Send me a message off-list and maybe I can help.


> 
> I wonder can I upgrade to from 11.0 to 11.2 without doing a clean install?

No idea. 

> 
> Thanks again for your help.
> 
> Garret
> 
> -----Original Message-----
> From: proj-bounces at lists.maptools.org [mailto:proj-bounces at lists.maptools.org] On Behalf Of Roger Oberholtzer
> Sent: 13-Oct-11 2:05 PM
> To: PROJ.4 and general Projections Discussions
> Subject: Re: [Proj] general question about upgrading PROJ.4
> 
> On Thu, 2011-10-13 at 12:18 +0100, Garret Duffy wrote:
> > Hi,
> > 
> > Thanks for the reply.  When I run the command, I get:
> > 
> > libproj0-4.7.0-9.1
> > proj-4.7.0-9.1
> > libproj-devel-4.7.0-9.1
> 
> So at least the 4.5 RPM is not installed.
> 
> How about these commands:
> 
> % ldd /usr/bin/proj
>         linux-gate.so.1 =>  (0xffffe000)
>         libproj.so.0 => /usr/lib/libproj.so.0 (0xb76d0000)
>         libm.so.6 => /lib/libm.so.6 (0xb766d000)
>         libc.so.6 => /lib/libc.so.6 (0xb750d000)
>         /lib/ld-linux.so.2 (0xb770f000)
> 
> % ll /usr/lib/libproj.so*
> lrwxrwxrwx 1 root root     16 2011-03-28 13:07 /usr/lib/libproj.so -> libproj.so.0.6.6
> lrwxrwxrwx 1 root root     16 2011-03-28 13:05 /usr/lib/libproj.so.0 -> libproj.so.0.6.6
> -rw-r--r-- 1 root root 247676 2011-03-18 14:38 /usr/lib/libproj.so.0.6.6
> 
> % rpm -ql libproj0-4.7.0-9.1
> /usr/lib/libproj.so.0
> /usr/lib/libproj.so.0.6.6
> 
> What I want to see is that /usr/bin/proj is using the libs in the installed RPM. Yours may contain a lib ending with .0.6.6. What do you get for these?
> 
> > 
> > I have OpenSUSE 11.0 installed with repositories for 11.1 and 11.2 
> > added to
> > YaST2
> > 
> > I used SLE_11 because the list of OSs in the GEO repository are:
> >  Parent Directory                                 -
> >  CentOS_5/                   10-Oct-2011 02:11    -
> >  RHEL_4/                     18-Aug-2011 13:59    -
> >  RHEL_5/                     10-Oct-2011 02:11    -
> >  SLES_9/                     07-Oct-2011 18:05    -
> >  SLE_10/                     07-Oct-2011 18:04    -
> >  SLE_11/                     10-Oct-2011 20:35    -
> >  openSUSE_11.2/              10-Oct-2011 20:38    -
> >  openSUSE_11.3/              10-Oct-2011 20:43    -
> >  openSUSE_11.4/              10-Oct-2011 20:39    -
> >  openSUSE_Factory/           10-Oct-2011 22:33    -
> >  openSUSE_Tumblewe
> > 
> > I didn't see an entry for openSUSE 11.0 so I thought SLE_11 was it...  
> > is that where I went wrong?
> 
> I think perhaps. The problem is that 11.0 is no longer supported. I have
> 11.2 and am in the same boat.
> 
> I would try openSUSE_Factory/ and disable all the other ones. And not only in the Geo area. I cannot think of any package that is in the CentOS/RedHat/SLED repos that is not in an openSUSE repo. In fact, I wonder if any RPM from those repos have been installed. Those other repos are for users of those operating systems. openSUSE wants to provide a one-stop location for all distros. But that does not mean you can mix them on your system!
> 
> If the same version of an RPM is in openSUSE_11.4/ or earlier, I would use the one closest to 11.0. It minimizes the chance of other things needing to be changed.
> 
> 
> > I don't use linux every day, I only use it for grass and proj so you 
> > probably see that I am not an expert user by any means...
> > 
> > Thanks,
> > 
> > Garret
> > 
> > 
> > "Roger Oberholtzer" <roger at opq.se> wrote in message 
> > news:1318500905.9020.74.camel at acme.pacific...
> > > On Thu, 2011-10-13 at 10:43 +0100, Garret Duffy wrote:
> > >> Hi,
> > >>
> > >> I have installed PROJ.4 version 4.7.0-9.1 using OpenSUSE YaST2 with 
> > >> the
> > >> Geo/SLE_11 Repository.
> > >
> > > If you are using openSUSE, why are you taking things from the SLE_11 
> > > repository? Which version of openSUSE are you using?
> > >
> > > What do you get for:
> > >
> > > rpm -qa | grep proj
> > >
> > >
> > >>
> > >> Everything installs fine and according to YaST2, the correct 
> > >> version has just been installed.
> > >>
> > >> However, when I run /usr/bin/proj, I get the message that version 
> > >> 4.5 is still installed even though the new version is supposed to 
> > >> be installed to that location.  I have the same issue with GDAL, I 
> > >> upgraded it but when I run gdalinfo --version, it states the old 
> > >> version is still installed.
> > >>
> > >> I'm hoping someone can help.
> > >>
> > >> Garret
> > >>
> > >>
> > >>
> > >> _______________________________________________
> > >> Proj mailing list
> > >> Proj at lists.maptools.org
> > >> http://lists.maptools.org/mailman/listinfo/proj
> > >
> > > Yours sincerely,
> > >
> > > Roger Oberholtzer
> > >
> > > OPQ Systems / Rambll RST
> > >
> > > Office: Int +46 10-615 60 20
> > > Mobile: Int +46 70-815 1696
> > > roger.oberholtzer at ramboll.se
> > > ________________________________________
> > >
> > > Rambll Sverige AB
> > > Krukmakargatan 21
> > > P.O. Box 17009
> > > SE-104 62 Stockholm, Sweden
> > > www.rambollrst.se
> > >
> > >
> > > _______________________________________________
> > > Proj mailing list
> > > Proj at lists.maptools.org
> > > http://lists.maptools.org/mailman/listinfo/proj
> > 
> > 
> > begin 666 up.png
> > MB5!.1PT*&@H````-24A$4@```!8````6" 8```#$M&P[````!F)+1T0`_P#_ 
> > M`/^@O:>3````"7!(67,```L2```+$@'2W7[\````!W1)344'TPD"%3<BH.WN
> > MD ```CA)1$%4>-KME3UH$V$8QW]W27.V:6.DQ11:))&"E")-$031H047X806
> > MU$%$+JN#'Z6#>T?%4A%Q$*YS%P,Y* XE+FX.J8M0T%Q;8ZN-YFPNYI+<AT-* 
> > MVM*F6K2#X //\N=Y?[S/P_]]7L'S/ XC1 XI_CVP(,OR+O'U8$H1)52WPLSY 
> > MA<N)OW+C^:Z48N50)T]GB10+RGQ72OEC\%PX-6P[J ]&<PP.Q)B\YJ-3*JIS 
> > MX8/#&V"M(QEW7._%_8L?"1[K87$53"?$O4L>1Z6RJG4DE0.#M>!L',].)\ZN
> > MAFVIE\55&IFW0MPX5R7@<U4M./O;<(&K&W$$,7VF3PJ?C/B;%FZ4JKQ\*X!C
> > M)>3R]9E?@Z]\*R &PBU2$ "_#RZ<VBK0U^L)4*O5P#8!AF3K9F8_L!_/'<.Q
> > MJ/VPZH<]>^K+]T@\U%HO<#VHE3X;"&("1 - KBA-H5K@>1Q([_*QYG^F=A[O 
> > M4?JZM[0W'\ Q5S+ B&S?,II"_4_O at C@%)'>#?4^&\1U)#_1%\&\SX\*2`Z5E
> > M`Y@&9F3WM at Z@B8^CP"AP!X@"!H(8V_/E:<*C-&V]P_TG6G?H^2*L%\I07 at .W
> > MNCG,-F@)U0U6_F0 at B".R-Y[9VP:>.T9I.?MN)1J.1:2&W"Y!>W<K$&MH51MR
> > M7RM at Z@8P(GOCF:9+2&;"`(8P]4QV*8>>![,"5FTK\T7(KI7)K;P'4T\",9F)
> > MS+Y+:,=8>*ALSB^.&*BW7C4`=. 5,+T=V #__T$.'?P3(N;@\5,A'B\`````
> > (245.1*Y"8((`
> > `
> > end
> > 
> > begin 666 folder.png
> > MB5!.1PT*&@H````-24A$4@```!8````6" 8```#$M&P[````!&=!34$``+&.
> > M?/M1DP```"!C2%)-``!Z)0``@(,``/G_``" Z0``=3 ``.I@```ZF ``%V^2 
> > M7\5&````!F)+1T0`_P#_`/^@O:>3````"7!(67,```L3```+$P$`FIP8```$
> > MR$E$050XRYV4:6Q4513'__>]-Z_S9CHS+6VG"Z5I*66 at 34HIH0(I*!;+8ENB
> > M5F65A"4:1(W$)7S2J!\PT1AB8F*,-E:)0 at 11,2RFH!5,D+!(K=24MA:FG<J4
> > MMK.]-V^[QP_3`D$3*;^O]^:7_SWGW"/B7G!XE?R:K<U+-NSY<#2B.W0]>5UR
> > MY^9P+3PZ<85-3N at 1?26U\^?5K7NVYH%E3:;H\_Y\Y%B'/],=[;S4T=?WPZX=
> > M(","`-)="04)2E[ES.I5.YY9NG+YNO3<W-R>`1W62 QSJA<%SO^I=HUJ`_D0 MI 
> > S8_R&6/'ZG)[^LG%L&HL$_?B=#-9Q3J_)GU:[=4-^X>EM9><F,:U%B5X,1
> > M>+B 03X%%WM,=NUJPI8H*X,YO%/(5OMOBIE#$0H6/3Y_6?/6YU8MKEP1CB?Y
> > M9ZT'/HU>'^RO7[UFX\*:0'6,"U+O@ 91M^!VN'$I*",XS,!%)KE$.=^DS#B3 
> > MLPHI.70!`"11\3H6;MF]??N6#:\\4.XI$&4 at 9OE05O+T3ETGDF51[!HTD(@F
> > MD24[<%5UX\IUAC$UU2!!%)A+3,L<LUPD. N+>;0S53U?H+9TVZ:U+S17>0K2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G@[CIPY%?6OMEUX_KT3O?[*1UZ'J-Q;RG_'%EE:WMS[
> > >I(SI=9.NY3C_`'?'9X.OGHHO`````$E%3D2N0F""
> > `
> > end
> > 
> > 
> > _______________________________________________
> > Proj mailing list
> > Proj at lists.maptools.org
> > http://lists.maptools.org/mailman/listinfo/proj
> 
> Yours sincerely,
> 
> Roger Oberholtzer
> 
> OPQ Systems / Ramböll RST
> 
> Office: Int +46 10-615 60 20
> Mobile: Int +46 70-815 1696
> roger.oberholtzer at ramboll.se
> ________________________________________
> 
> Ramböll Sverige AB
> Krukmakargatan 21
> P.O. Box 17009
> SE-104 62 Stockholm, Sweden
> www.rambollrst.se
> 
> 
> _______________________________________________
> Proj mailing list
> Proj at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/proj
> _______________________________________________
> Proj mailing list
> Proj at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/proj

Yours sincerely,

Roger Oberholtzer

OPQ Systems / Ramböll RST

Office: Int +46 10-615 60 20
Mobile: Int +46 70-815 1696
roger.oberholtzer at ramboll.se
________________________________________

Ramböll Sverige AB
Krukmakargatan 21
P.O. Box 17009
SE-104 62 Stockholm, Sweden
www.rambollrst.se




More information about the Proj mailing list