[pgrouting-users] undefined symbol: __gmpq_equal

Hi List

I am running Postgres 8.4.10 on 2.6.38-13-generic #54-Ubuntu, I was
having some issues with the pgr source code, so I down loaded it and
attempted to build it.

Everything seemed to go ok until I tried to use the driving distance code
when I got the diagnostic

psql:routing_dd.sql:28: ERROR: could not load library
"/usr/lib/postgresql/9.1/lib/librouting_dd.so":
/usr/lib/postgresql/9.1/lib/librouting_dd.so: undefined symbol:
__gmpq_equal

I have tried the bug fix DD_routing and PostgreSQL 9.1, which seems to
fixes other peoples problems with the same bug, but it does not work on my
machine.

Any suggestion as to what to do next?

From what I have seen it looks like a version issue/relocation error. I

looked at most of the liabires with nm -C and can not find the ' missing
library'

Dave.

Hi Dave,

Do you mean this fix that didn’t work for you?
https://github.com/pgRouting/pgrouting/issues/48

With Ubuntu 11.04 there was such an error as well, but that time this small fix was sufficient:
https://github.com/pgRouting/pgrouting/commit/803092f4103f3ebd7420e598c5ab5231fe40def4

Daniel

On Sun, Feb 5, 2012 at 5:55 PM, Dave Potts <dave.potts@pinan.co.uk> wrote:

Hi List

I am running Postgres 8.4.10 on 2.6.38-13-generic #54-Ubuntu, I was
having some issues with the pgr source code, so I down loaded it and
attempted to build it.

Everything seemed to go ok until I tried to use the driving distance code
when I got the diagnostic

psql:routing_dd.sql:28: ERROR: could not load library
“/usr/lib/postgresql/9.1/lib/librouting_dd.so”:
/usr/lib/postgresql/9.1/lib/librouting_dd.so: undefined symbol:
__gmpq_equal

I have tried the bug fix DD_routing and PostgreSQL 9.1, which seems to
fixes other peoples problems with the same bug, but it does not work on my
machine.

Any suggestion as to what to do next?

From what I have seen it looks like a version issue/relocation error. I
looked at most of the liabires with nm -C and can not find the ’ missing
library’

Dave.


Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users


Georepublic UG & Georepublic Japan
eMail: daniel.kastl@georepublic.de
Web: http://georepublic.de

Hi Dave,

Do you mean this fix that didn’t work for you?
https://github.com/pgRouting/pgrouting/issues/48

That is the one.

Sorry it did not, but I also noted that I was running postgres 8.4 and fix is for 9.1. I will upgrade the database first then try it again.

Dave.

With Ubuntu 11.04 there was such an error as well, but that time this small fix was sufficient:
https://github.com/pgRouting/pgrouting/commit/803092f4103f3ebd7420e598c5ab5231fe40def4

Will try this patch as well.

With Ubuntu 11.04 there was such an error as well, but that time this small fix was sufficient:
https://github.com/pgRouting/pgrouting/commit/803092f4103f3ebd7420e598c5ab5231fe40def4

Will try this patch as well.

I think the version of PostgreSQL that time was 8.4.
But I can’t tell this gmpq issue depends on the database version.

Daniel

Daniel

On Sun, Feb 5, 2012 at 5:55 PM, Dave Potts <dave.potts@pinan.co.uk> wrote:

Hi List

I am running Postgres 8.4.10 on 2.6.38-13-generic #54-Ubuntu, I was
having some issues with the pgr source code, so I down loaded it and
attempted to build it.

Everything seemed to go ok until I tried to use the driving distance code
when I got the diagnostic

psql:routing_dd.sql:28: ERROR: could not load library
“/usr/lib/postgresql/9.1/lib/librouting_dd.so”:
/usr/lib/postgresql/9.1/lib/librouting_dd.so: undefined symbol:
__gmpq_equal

I have tried the bug fix DD_routing and PostgreSQL 9.1, which seems to
fixes other peoples problems with the same bug, but it does not work on my
machine.

Any suggestion as to what to do next?

From what I have seen it looks like a version issue/relocation error. I
looked at most of the liabires with nm -C and can not find the ’ missing
library’

Dave.


Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users


Georepublic UG & Georepublic Japan
eMail: daniel.kastl@georepublic.de
Web: http://georepublic.de


_______________________________________________
Pgrouting-users mailing list
[Pgrouting-users@lists.osgeo.org](mailto:Pgrouting-users@lists.osgeo.org)
[http://lists.osgeo.org/mailman/listinfo/pgrouting-users](http://lists.osgeo.org/mailman/listinfo/pgrouting-users)


Pgrouting-users mailing list
Pgrouting-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/pgrouting-users


Georepublic UG & Georepublic Japan
eMail: daniel.kastl@georepublic.de
Web: http://georepublic.de