tsp (#20) - using routing_tsp on linux (#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_

  • Message #1005

    I have a problem that could be similar. I can't find the library, but I'm sure I installed everything following the instruction for installation in ubuntu 9.04

    I do have the library librouting.sql, but not librouting_tsp.sql. Should I reinstall the TSP module?

    So, I use postgresql 8.3

    postgis 1.3.6

    pgrouting 1.03

    and I got the TSP from  http://downloads.sourceforge.net/gaul/gaul-devel-0.1849-0.tar.gz modtime=1114163427&big_mirror=0

    so... any help will be very welcome.