Skip Menu |

This queue is for tickets about the Geo-Proj4 CPAN distribution.

Report information
The Basics
Id: 106410
Status: resolved
Priority: 0/
Queue: Geo-Proj4

People
Owner: Nobody in particular
Requestors: lubomir.krizan [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: installation issue
Date: Thu, 13 Aug 2015 12:12:00 +0200
To: bug-Geo-Proj4 [...] rt.cpan.org
From: Ľubomír Križan <lubomir.krizan [...] gmail.com>
Hello, I am trying to install Geo::Proj4 on my RHEL 6 machine, but I am not able even after three days of googling. I tried out cpanm, cpan, yum and compile from tar.gz, each time the same failure. Outputs of commands perl Makefile.PL, make, make test, make install are attached. Output of command perl -e "use Geo::Proj4" after installation is: Can't load '/usr/local/lib64/perl5/auto/Geo/Proj4/Proj4.so' for module Geo::Proj4: /usr/local/lib64/perl5/auto/Geo/Proj4/Proj4.so: undefined symbol: pj_errno at /usr/lib64/perl5/DynaLoader.pm line 200. at -e line 1 Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1. Geo::Proj4 version: Geo-Proj4-1.05 - installed by default. My server: Linux 2.6.32-504.8.1.el6.x86_64 #1 SMP Fri Dec 19 12:09:25 EST 2014 x86_64 x86_64 x86_64 GNU/Linux My perl version: This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi Package Proj.4 version: Rel. 4.9.1, 04 March 2015 Can you please help me? What I am doing wrong? Thank you in advance. Best regards, Lubo

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

CC: ;
Subject: Re: [rt.cpan.org #106410] installation issue
Date: Thu, 13 Aug 2015 14:36:18 +0200
To: Ľubomír Križan via RT <bug-Geo-Proj4 [...] rt.cpan.org>
From: Mark Overmeer <solutions [...] overmeer.net>
* Ľubomír Križan via RT (bug-Geo-Proj4@rt.cpan.org) [150813 10:12]: Show quoted text
> Thu Aug 13 06:12:13 2015: Request 106410 was acted upon. > Transaction: Ticket created by lubomir.krizan@gmail.com > Queue: Geo-Proj4
Show quoted text
> I am trying to install Geo::Proj4 on my RHEL 6 machine, but I am not able > even after three days of googling.
Oh, that's far too long before decided to ask for help. Show quoted text
> Output of command perl -e "use Geo::Proj4" after installation is: > undefined symbol: pj_errno
.... Show quoted text
> Package Proj.4 version: Rel. 4.9.1, 04 March 2015
My Linux distribution contains proj 4.8.0, which compiles without a problem. I have build (not installed yet) the 4.9.1 master, and this says it contains the pj_errno symbol. Did you compile 4.9.1 yourself, or did it come with the distribution? -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
Subject: Re: [rt.cpan.org #106410] installation issue
Date: Thu, 13 Aug 2015 15:34:09 +0200
To: Ľubomír Križan via RT <bug-Geo-Proj4 [...] rt.cpan.org>
From: Mark Overmeer <solutions [...] overmeer.net>
* Ľubomír Križan via RT (bug-Geo-Proj4@rt.cpan.org) [150813 10:12]: Show quoted text
> Thu Aug 13 06:12:13 2015: Request 106410 was acted upon. > Transaction: Ticket created by lubomir.krizan@gmail.com > > Package Proj.4 version: Rel. 4.9.1, 04 March 2015 > Can you please help me? What I am doing wrong?
Do you have more than one version of libproj installed on your system? Please try: ldd blib/arch/auto/Geo/Proj4/Proj4.so to see which version of the so gets loaded. Older than 4.4.9 does not have pj_error. Is it the same link as reported by ldd $(which cs2cs) And what version does cs2cs report? Also, nm -D /usr/lib/../lib64/libproj.so.0 | grep pj_errno should report something like 0000000000251724 B pj_errno -- MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
Subject: Re: [rt.cpan.org #106410] installation issue
Date: Thu, 13 Aug 2015 16:01:51 +0200
To: bug-Geo-Proj4 [...] rt.cpan.org
From: Ľubomír Križan <lubomir.krizan [...] gmail.com>
I compiled 4.9.1 myself, then uninstall and compiled 4.8.0, both without problem. But Geo::Proj4 was not installed successfully with any of these versions, so I returned to 4.9.1 Output of commands: [root@kuko ~]# ldd blib/arch/auto/Geo/Proj4/Proj4.so ldd: blib/arch/auto/Geo/Proj4/Proj4.so: No such file or directory [root@kuko ~]# ldd $(which cs2cs) linux-vdso.so.1 => (0x00007fff885ff000) libproj.so.9 => /usr/local/lib/libproj.so.9 (0x00007fd2c43e8000) libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003aed800000) libm.so.6 => /lib64/libm.so.6 (0x0000003aee000000) libc.so.6 => /lib64/libc.so.6 (0x0000003aed400000) /lib64/ld-linux-x86-64.so.2 (0x0000003aed000000) [root@kuko ~]# cs2cs Rel. 4.9.1, 04 March 2015 usage: cs2cs [ -eEfIlrstvwW [args] ] [ +opts[=arg] ] [+to [+opts[=arg] [ files ] [root@kuko ~]# nm -D /usr/local/lib/libproj.so.0 | grep pj_errno 000000000024cd50 B pj_errno Best regards, Lubo 2015-08-13 15:34 GMT+02:00 Mark Overmeer via RT <bug-Geo-Proj4@rt.cpan.org>: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=106410 > > > * Ľubomír Križan via RT (bug-Geo-Proj4@rt.cpan.org) [150813 10:12]:
> > Thu Aug 13 06:12:13 2015: Request 106410 was acted upon. > > Transaction: Ticket created by lubomir.krizan@gmail.com > > > > Package Proj.4 version: Rel. 4.9.1, 04 March 2015 > > Can you please help me? What I am doing wrong?
> > Do you have more than one version of libproj installed on your > system? Please try: > > ldd blib/arch/auto/Geo/Proj4/Proj4.so > > to see which version of the so gets loaded. Older than 4.4.9 does > not have pj_error. Is it the same link as reported by > > ldd $(which cs2cs) > > And what version does cs2cs report? > > Also, nm -D /usr/lib/../lib64/libproj.so.0 | grep pj_errno > should report something like > 0000000000251724 B pj_errno > > -- > MarkOv > > ------------------------------------------------------------------------ > Mark Overmeer MSc MARKOV Solutions > Mark@Overmeer.net solutions@overmeer.net > http://Mark.Overmeer.net http://solutions.overmeer.net > > >
Subject: Re: [rt.cpan.org #106410] installation issue
Date: Thu, 13 Aug 2015 16:25:55 +0200
To: Ľubomír Križan via RT <bug-Geo-Proj4 [...] rt.cpan.org>
From: Mark Overmeer <solutions [...] overmeer.net>
* Ľubomír Križan via RT (bug-Geo-Proj4@rt.cpan.org) [150813 14:02]: Show quoted text
> Queue: Geo-Proj4 > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=106410 > > > I compiled 4.9.1 myself, then uninstall and compiled 4.8.0, both without > problem. But Geo::Proj4 was not installed successfully with any of these > versions, so I returned to 4.9.1
Ok, so it is a local installation problem at your side. (The module is used by many people, so installation is possible) Show quoted text
> Output of commands: > [root@kuko ~]# ldd blib/arch/auto/Geo/Proj4/Proj4.so > ldd: blib/arch/auto/Geo/Proj4/Proj4.so: No such file or directory
What I meant is: cd GeoProj4 perl Makefile.PL make ldd blib/arch/auto/Geo/Proj4/Proj4.so make test In your case equivalent to ldd /usr/local/lib64/perl5/auto/Geo/Proj4/Proj4.so Show quoted text
> [root@kuko ~]# ldd $(which cs2cs) > linux-vdso.so.1 => (0x00007fff885ff000) > libproj.so.9 => /usr/local/lib/libproj.so.9 (0x00007fd2c43e8000) > libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003aed800000) > libm.so.6 => /lib64/libm.so.6 (0x0000003aee000000) > libc.so.6 => /lib64/libc.so.6 (0x0000003aed400000) > /lib64/ld-linux-x86-64.so.2 (0x0000003aed000000) > > [root@kuko ~]# nm -D /usr/local/lib/libproj.so.0 | grep pj_errno > 000000000024cd50 B pj_errno
This means that the library is exporting the pj_errno name Did you try the simpelest installation: apt-get install libgeo-proj4-perl Did you install this: apt-get install libproj-dev -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions drs Mark A.C.J. Overmeer MARKOV Solutions Mark@Overmeer.net solutions@overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net
Subject: Re: [rt.cpan.org #106410] installation issue
Date: Fri, 14 Aug 2015 09:40:30 +0200
To: bug-Geo-Proj4 [...] rt.cpan.org
From: Ľubomír Križan <lubomir.krizan [...] gmail.com>
OK, so I did uninstall Proj 4.9.1, then install via yum: yum install proj and yum install proj-devel.x86_64 (both was installed in version 4.8.0-3.el6). Then cpanm Geo::Proj4 ran successfully. So my problem was missing proj-devel package. Thank you very much for advice. Best regards, Lubo 2015-08-13 16:26 GMT+02:00 Mark Overmeer via RT <bug-Geo-Proj4@rt.cpan.org>: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=106410 > > > * Ľubomír Križan via RT (bug-Geo-Proj4@rt.cpan.org) [150813 14:02]:
> > Queue: Geo-Proj4 > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=106410 > > > > > I compiled 4.9.1 myself, then uninstall and compiled 4.8.0, both without > > problem. But Geo::Proj4 was not installed successfully with any of these > > versions, so I returned to 4.9.1
> > Ok, so it is a local installation problem at your side. (The module > is used by many people, so installation is possible) >
> > Output of commands: > > [root@kuko ~]# ldd blib/arch/auto/Geo/Proj4/Proj4.so > > ldd: blib/arch/auto/Geo/Proj4/Proj4.so: No such file or directory
> > What I meant is: > cd GeoProj4 > perl Makefile.PL > make > ldd blib/arch/auto/Geo/Proj4/Proj4.so > make test > > In your case equivalent to > ldd /usr/local/lib64/perl5/auto/Geo/Proj4/Proj4.so >
> > [root@kuko ~]# ldd $(which cs2cs) > > linux-vdso.so.1 => (0x00007fff885ff000) > > libproj.so.9 => /usr/local/lib/libproj.so.9 (0x00007fd2c43e8000) > > libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003aed800000) > > libm.so.6 => /lib64/libm.so.6 (0x0000003aee000000) > > libc.so.6 => /lib64/libc.so.6 (0x0000003aed400000) > > /lib64/ld-linux-x86-64.so.2 (0x0000003aed000000) > > > > [root@kuko ~]# nm -D /usr/local/lib/libproj.so.0 | grep pj_errno > > 000000000024cd50 B pj_errno
> > This means that the library is exporting the pj_errno name > > Did you try the simpelest installation: > apt-get install libgeo-proj4-perl > > Did you install this: > apt-get install libproj-dev > -- > Regards, > MarkOv > > ------------------------------------------------------------------------ > Mark Overmeer MSc MARKOV Solutions > drs Mark A.C.J. Overmeer MARKOV Solutions > Mark@Overmeer.net solutions@overmeer.net > http://Mark.Overmeer.net http://solutions.overmeer.net > > >
ticket should have been closed ages ago.