pgRouting

Forum #20 - Topic #75 - Message List

using routing_tsp on linux

HI all

when i install pgrouting with tsp module on linux, i have to change '$libdir/routing_tsp' to '$libdir/librouting_tsp' and move the librouting_tsp.so from /usr/lib to /usr/lib/pgsql (is that correct????).

After this, when i try to run the routing_tsp.sql, i have the following message:

psql -U postgres -f /usr/share/postlbs/routing_tsp.sql routing

psql:/usr/share/postlbs/routing_tsp.sql:28: ERROR: could not load library "/usr/lib/pgsql/librouting_tsp.so": /usr/lib/pgsql/librouting_tsp.so: undefined symbol: ga_select_one_randomrank

I already tried on ubuntu 7.10 and fedora 8 and i got the same error. Any idea on how to fix this error?

Bughi.

ps. sorry about my poor english. ;-)

  • Message #276

    Which version of pgRouting are you using?

  • Message #281

    I´ve exactly the same problem with "tsp":

    I´m using the following system and libs:

    opensuse-10.3

    postgresql-8.2.4

    postgis-1.3.2

    pgrouting-1.0

    boost(-devel)-1.33.1

    CGAL-3.2.1

    gaul-devel-0.1849-0

    With "dd" I´ve the following error, when I want to load the routing_dd.sql in my database:

    ERROR: could not load library "/usr/lib/postgresql/librouting_dd.so": /usr/lib/postgresql/librouting_dd.so: undefined symbol: _ZN4CGALmiERKNS_8MP_FloatES2_