{"action":"created","issue":{"url":"https://api.github.com/repos/pgRouting/pgrouting/issues/1157","repository_url":"https://api.github.com/repos/pgRouting/pgrouting","labels_url":"https://api.github.com/repos/pgRouting/pgrouting/issues/1157/labels{/name}","comments_url":"https://api.github.com/repos/pgRouting/pgrouting/issues/1157/comments","events_url":"https://api.github.com/repos/pgRouting/pgrouting/issues/1157/events","html_url":"https://github.com/pgRouting/pgrouting/issues/1157","id":380056598,"node_id":"MDU6SXNzdWUzODAwNTY1OTg=","number":1157,"title":"Installation problem in macOS","user":{"login":"juifa-tsai","id":28759523,"node_id":"MDQ6VXNlcjI4NzU5NTIz","avatar_url":"https://avatars3.githubusercontent.com/u/28759523?v=4","gravatar_id":"","url":"https://api.github.com/users/juifa-tsai","html_url":"https://github.com/juifa-tsai","followers_url":"https://api.github.com/users/juifa-tsai/followers","following_url":"https://api.github.com/users/juifa-tsai/following{/other_user}","gists_url":"https://api.github.com/users/juifa-tsai/gists{/gist_id}","starred_url":"https://api.github.com/users/juifa-tsai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juifa-tsai/subscriptions","organizations_url":"https://api.github.com/users/juifa-tsai/orgs","repos_url":"https://api.github.com/users/juifa-tsai/repos","events_url":"https://api.github.com/users/juifa-tsai/events{/privacy}","received_events_url":"https://api.github.com/users/juifa-tsai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-13T04:37:55Z","updated_at":"2018-11-13T08:16:19Z","closed_at":null,"author_association":"NONE","body":"Hi expert,\r\n\r\nI am trying to install the pgrouting in Mac. But I got the error in end of installation with `sudo make install` as following error message:\r\n```text\r\nScanning dependencies of target pgrouting-2.6\r\n[100%] Linking CXX shared module lib/libpgrouting-2.6.so\r\nUndefined symbols for architecture x86_64:\r\n  \"_ArrayGetNItems\", referenced from:\r\n      _pgr_get_bigIntArr in arrays_input.c.o\r\n  \"_BlessTupleDesc\", referenced from:\r\n      _alphashape in alpha.c.o\r\n      _turn_restrict_shortest_path_edge in trsp.c.o\r\n  \"_CurrentMemoryContext\", referenced from:\r\n      _MemoryContextSwitchTo in dijkstra.c.o\r\n      _MemoryContextSwitchTo in dijkstraVia.c.o\r\n      _MemoryContextSwitchTo in floydWarshall.c.o\r\n      _MemoryContextSwitchTo in johnson.c.o\r\n      _MemoryContextSwitchTo in astar.c.o\r\n      _MemoryContextSwitchTo in many_to_dist_driving_distance.c.o\r\n      _MemoryContextSwitchTo in many_to_dist_withPointsDD.c.o\r\n      ...\r\n  \"_DatumGetFloat4\", referenced from:\r\n      _pgr_SPI_getFloat8 in get_check_data.c.o\r\n  \"_DatumGetFloat8\", referenced from:\r\n      _pgr_SPI_getFloat8 in get_check_data.c.o\r\n      _astarManyToMany in astar.c.o\r\n      _driving_many_to_dist in many_to_dist_driving_distance.c.o\r\n      _many_withPointsDD in many_to_dist_withPointsDD.c.o\r\n      _eucledianTSP in eucledianTSP.c.o\r\n      _newTSP in newTSP.c.o\r\n      _alphashape in alpha.c.o\r\n      ...\r\n  \"_Float8GetDatum\", referenced from:\r\n      _many_to_many_dijkstra in dijkstra.c.o\r\n      _dijkstraVia in dijkstraVia.c.o\r\n      _floydWarshall in floydWarshall.c.o\r\n      _johnson in johnson.c.o\r\n      _astarManyToMany in astar.c.o\r\n      _driving_many_to_dist in many_to_dist_driving_distance.c.o\r\n      _many_withPointsDD in many_to_dist_withPointsDD.c.o\r\n      ...\r\n  \"_HeapTupleHeaderGetDatum\", referenced from:\r\n      _many_to_many_dijkstra in dijkstra.c.o\r\n      _dijkstraVia in dijkstraVia.c.o\r\n      _floydWarshall in floydWarshall.c.o\r\n      _johnson in johnson.c.o\r\n      _astarManyToMany in astar.c.o\r\n      _driving_many_to_dist in many_to_dist_driving_distance.c.o\r\n      _many_withPointsDD in many_to_dist_withPointsDD.c.o\r\n      ...\r\n  \"_RelationNameGetTupleDesc\", referenced from:\r\n      _turn_restrict_shortest_path_edge in trsp.c.o\r\n  \"_SPI_connect\", referenced from:\r\n      _pgr_SPI_connect in postgres_connection.c.o\r\n      _compute_alpha_shape in alpha.c.o\r\n      _compute_trsp in trsp.c.o\r\n     (maybe you meant: _pgr_SPI_connect)\r\n  \"_SPI_cursor_close\", referenced from:\r\n      _pgr_get_points in points_input.c.o\r\n      _pgr_get_matrixRows in matrixRows_input.c.o\r\n      _get_edges_flow in edges_input.c.o\r\n      _get_edges_5_columns in edges_input.c.o\r\n      _get_edges_9_columns in edges_input.c.o\r\n      _get_edges_basic in edges_input.c.o\r\n      _pgr_get_pd_orders_general in orders_input.c.o\r\n      ...\r\n  \"_SPI_cursor_fetch\", referenced from:\r\n      _pgr_get_points in points_input.c.o\r\n      _pgr_get_matrixRows in matrixRows_input.c.o\r\n      _get_edges_flow in edges_input.c.o\r\n      _get_edges_5_columns in edges_input.c.o\r\n      _get_edges_9_columns in edges_input.c.o\r\n      _get_edges_basic in edges_input.c.o\r\n      _pgr_get_pd_orders_general in orders_input.c.o\r\n      ...\r\n  \"_SPI_cursor_open\", referenced from:\r\n      _pgr_SPI_cursor_open in postgres_connection.c.o\r\n      _compute_alpha_shape in alpha.c.o\r\n      _compute_trsp in trsp.c.o\r\n     (maybe you meant: _pgr_SPI_cursor_open)\r\n  \"_SPI_finish\", referenced from:\r\n      _pgr_SPI_finish in postgres_connection.c.o\r\n      _finish in trsp.c.o\r\n     (maybe you meant: _pgr_SPI_finish)\r\n  \"_SPI_fnumber\", referenced from:\r\n      _fetch_column_info in get_check_data.c.o\r\n      _fetch_vertices_columns in alpha.c.o\r\n      _fetch_edge_columns in trsp.c.o\r\n      _fetch_restrict_columns in trsp.c.o\r\n  \"_SPI_freetuptable\", referenced from:\r\n      _pgr_get_points in points_input.c.o\r\n      _pgr_get_matrixRows in matrixRows_input.c.o\r\n      _get_edges_flow in edges_input.c.o\r\n      _get_edges_5_columns in edges_input.c.o\r\n      _get_edges_9_columns in edges_input.c.o\r\n      _get_edges_basic in edges_input.c.o\r\n      _pgr_get_pd_orders_general in orders_input.c.o\r\n      ...\r\n  \"_SPI_getbinval\", referenced from:\r\n      _pgr_SPI_getChar in get_check_data.c.o\r\n      _pgr_SPI_getBigIntArr in get_check_data.c.o\r\n      _pgr_SPI_getBigInt in get_check_data.c.o\r\n      _pgr_SPI_getFloat8 in get_check_data.c.o\r\n      _fetch_vertex in alpha.c.o\r\n      _fetch_edge in trsp.c.o\r\n      _fetch_restrict in trsp.c.o\r\n      ...\r\n  \"_SPI_gettypeid\", referenced from:\r\n      _fetch_column_info in get_check_data.c.o\r\n      _fetch_vertices_columns in alpha.c.o\r\n      _fetch_edge_columns in trsp.c.o\r\n      _fetch_restrict_columns in trsp.c.o\r\n  \"_SPI_getvalue\", referenced from:\r\n      _pgr_SPI_getText in get_check_data.c.o\r\n      _fetch_restrict in trsp.c.o\r\n  \"_SPI_palloc\", referenced from:\r\n      char* pgr_alloc<char>(unsigned long, char*) in pgr_alloc.cpp.o\r\n      General_path_element_t* pgr_alloc<General_path_element_t>(unsigned long, General_path_element_t*) in dijkstra_driver.cpp.o\r\n      Routes_t* pgr_alloc<Routes_t>(unsigned long, Routes_t*) in dijkstraVia_driver.cpp.o\r\n      matrix_cell* pgr_alloc<matrix_cell>(unsigned long, matrix_cell*) in floydWarshall_driver.cpp.o\r\n      matrix_cell* pgr_alloc<matrix_cell>(unsigned long, matrix_cell*) in johnson_driver.cpp.o\r\n      General_path_element_t* pgr_alloc<General_path_element_t>(unsigned long, General_path_element_t*) in astar_driver.cpp.o\r\n      General_path_element_t* pgr_alloc<General_path_element_t>(unsigned long, General_path_element_t*) in drivedist_driver.cpp.o\r\n      ...\r\n  \"_SPI_pfree\", referenced from:\r\n      General_path_element_t* pgr_free<General_path_element_t>(General_path_element_t*) in dijkstra_driver.cpp.o\r\n      Routes_t* pgr_free<Routes_t>(Routes_t*) in dijkstraVia_driver.cpp.o\r\n      matrix_cell* pgr_free<matrix_cell>(matrix_cell*) in floydWarshall_driver.cpp.o\r\n      matrix_cell* pgr_free<matrix_cell>(matrix_cell*) in johnson_driver.cpp.o\r\n      General_path_element_t* pgr_free<General_path_element_t>(General_path_element_t*) in astar_driver.cpp.o\r\n      General_path_element_t* pgr_free<General_path_element_t>(General_path_element_t*) in drivedist_driver.cpp.o\r\n      General_path_element_t* pgr_free<General_path_element_t>(General_path_element_t*) in withPoints_dd_driver.cpp.o\r\n      ...\r\n  \"_SPI_prepare\", referenced from:\r\n      _pgr_SPI_prepare in postgres_connection.c.o\r\n      _compute_alpha_shape in alpha.c.o\r\n      _compute_trsp in trsp.c.o\r\n     (maybe you meant: _pgr_SPI_prepare)\r\n  \"_SPI_processed\", referenced from:\r\n      _pgr_get_points in points_input.c.o\r\n      _pgr_get_matrixRows in matrixRows_input.c.o\r\n      _get_edges_flow in edges_input.c.o\r\n      _get_edges_5_columns in edges_input.c.o\r\n      _get_edges_9_columns in edges_input.c.o\r\n      _get_edges_basic in edges_input.c.o\r\n      _pgr_get_pd_orders_general in orders_input.c.o\r\n      ...\r\n  \"_SPI_repalloc\", referenced from:\r\n      char* pgr_alloc<char>(unsigned long, char*) in pgr_alloc.cpp.o\r\n      General_path_element_t* pgr_alloc<General_path_element_t>(unsigned long, General_path_element_t*) in dijkstra_driver.cpp.o\r\n      Routes_t* pgr_alloc<Routes_t>(unsigned long, Routes_t*) in dijkstraVia_driver.cpp.o\r\n      matrix_cell* pgr_alloc<matrix_cell>(unsigned long, matrix_cell*) in floydWarshall_driver.cpp.o\r\n      matrix_cell* pgr_alloc<matrix_cell>(unsigned long, matrix_cell*) in johnson_driver.cpp.o\r\n      General_path_element_t* pgr_alloc<General_path_element_t>(unsigned long, General_path_element_t*) in astar_driver.cpp.o\r\n      General_path_element_t* pgr_alloc<General_path_element_t>(unsigned long, General_path_element_t*) in drivedist_driver.cpp.o\r\n      ...\r\n  \"_SPI_result\", referenced from:\r\n      _fetch_column_info in get_check_data.c.o\r\n  \"_SPI_tuptable\", referenced from:\r\n      _pgr_get_points in points_input.c.o\r\n      _pgr_get_matrixRows in matrixRows_input.c.o\r\n      _fetch_column_info in get_check_data.c.o\r\n      _get_edges_flow in edges_input.c.o\r\n      _get_edges_5_columns in edges_input.c.o\r\n      _get_edges_9_columns in edges_input.c.o\r\n      _get_edges_basic in edges_input.c.o\r\n      ...\r\n  \"_TupleDescInitEntry\", referenced from:\r\n      _contractGraph in contractGraph.c.o\r\n  \"_construct_array\", referenced from:\r\n      _contractGraph in contractGraph.c.o\r\n  \"_cstring_to_text\", referenced from:\r\n      _contractGraph in contractGraph.c.o\r\n  \"_deconstruct_array\", referenced from:\r\n      _pgr_get_bigIntArr in arrays_input.c.o\r\n  \"_elog_finish\", referenced from:\r\n      _pgr_send_error in postgres_connection.c.o\r\n      _pgr_SPI_finish in postgres_connection.c.o\r\n      _pgr_SPI_connect in postgres_connection.c.o\r\n      _pgr_SPI_prepare in postgres_connection.c.o\r\n      _pgr_SPI_cursor_open in postgres_connection.c.o\r\n      _pgr_notice in e_report.c.o\r\n      _pgr_notice2 in e_report.c.o\r\n      ...\r\n  \"_elog_start\", referenced from:\r\n      _pgr_send_error in postgres_connection.c.o\r\n      _pgr_SPI_finish in postgres_connection.c.o\r\n      _pgr_SPI_connect in postgres_connection.c.o\r\n      _pgr_SPI_prepare in postgres_connection.c.o\r\n      _pgr_SPI_cursor_open in postgres_connection.c.o\r\n      _pgr_notice in e_report.c.o\r\n      _pgr_notice2 in e_report.c.o\r\n      ...\r\n  \"_end_MultiFuncCall\", referenced from:\r\n      _many_to_many_dijkstra in dijkstra.c.o\r\n      _dijkstraVia in dijkstraVia.c.o\r\n      _floydWarshall in floydWarshall.c.o\r\n      _johnson in johnson.c.o\r\n      _astarManyToMany in astar.c.o\r\n      _driving_many_to_dist in many_to_dist_driving_distance.c.o\r\n      _many_withPointsDD in many_to_dist_withPointsDD.c.o\r\n      ...\r\n  \"_errcode\", referenced from:\r\n      _many_to_many_dijkstra in dijkstra.c.o\r\n      _dijkstraVia in dijkstraVia.c.o\r\n      _floydWarshall in floydWarshall.c.o\r\n      _johnson in johnson.c.o\r\n      _astarManyToMany in astar.c.o\r\n      _driving_many_to_dist in many_to_dist_driving_distance.c.o\r\n      _many_withPointsDD in many_to_dist_withPointsDD.c.o\r\n      ...\r\n  \"_errfinish\", referenced from:\r\n      _check_parameters in check_parameters.c.o\r\n      _pgr_notice in e_report.c.o\r\n      _pgr_notice2 in e_report.c.o\r\n      _pgr_error in e_report.c.o\r\n      _pgr_error2 in e_report.c.o\r\n      _pgr_global_report in e_report.c.o\r\n      _fetch_vehicles in vehicles_input.c.o\r\n      ...\r\n  \"_errhint\", referenced from:\r\n      _check_parameters in check_parameters.c.o\r\n      _pgr_notice2 in e_report.c.o\r\n      _pgr_error in e_report.c.o\r\n      _pgr_error2 in e_report.c.o\r\n      _pgr_global_report in e_report.c.o\r\n      _fetch_vehicles in vehicles_input.c.o\r\n      _process in pickDeliverEuclidean.c.o\r\n      ...\r\n  \"_errmsg\", referenced from:\r\n      _check_parameters in check_parameters.c.o\r\n      _pgr_notice in e_report.c.o\r\n      _pgr_notice2 in e_report.c.o\r\n      _fetch_vehicles in vehicles_input.c.o\r\n      _many_to_many_dijkstra in dijkstra.c.o\r\n      _dijkstraVia in dijkstraVia.c.o\r\n      _floydWarshall in floydWarshall.c.o\r\n      ...\r\n  \"_errmsg_internal\", referenced from:\r\n      _pgr_error in e_report.c.o\r\n      _pgr_error2 in e_report.c.o\r\n      _pgr_global_report in e_report.c.o\r\n  \"_errstart\", referenced from:\r\n      _check_parameters in check_parameters.c.o\r\n      _pgr_notice in e_report.c.o\r\n      _pgr_notice2 in e_report.c.o\r\n      _pgr_error in e_report.c.o\r\n      _pgr_error2 in e_report.c.o\r\n      _pgr_global_report in e_report.c.o\r\n      _fetch_vehicles in vehicles_input.c.o\r\n      ...\r\n  \"_get_call_result_type\", referenced from:\r\n      _many_to_many_dijkstra in dijkstra.c.o\r\n      _dijkstraVia in dijkstraVia.c.o\r\n      _floydWarshall in floydWarshall.c.o\r\n      _johnson in johnson.c.o\r\n      _astarManyToMany in astar.c.o\r\n      _driving_many_to_dist in many_to_dist_driving_distance.c.o\r\n      _many_withPointsDD in many_to_dist_withPointsDD.c.o\r\n      ...\r\n  \"_get_typlenbyvalalign\", referenced from:\r\n      _pgr_get_bigIntArr in arrays_input.c.o\r\n      _contractGraph in contractGraph.c.o\r\n  \"_heap_form_tuple\", referenced from:\r\n      _many_to_many_dijkstra in dijkstra.c.o\r\n      _dijkstraVia in dijkstraVia.c.o\r\n      _floydWarshall in floydWarshall.c.o\r\n      _johnson in johnson.c.o\r\n      _astarManyToMany in astar.c.o\r\n      _driving_many_to_dist in many_to_dist_driving_distance.c.o\r\n      _many_withPointsDD in many_to_dist_withPointsDD.c.o\r\n      ...\r\n  \"_init_MultiFuncCall\", referenced from:\r\n      _many_to_many_dijkstra in dijkstra.c.o\r\n      _dijkstraVia in dijkstraVia.c.o\r\n      _floydWarshall in floydWarshall.c.o\r\n      _johnson in johnson.c.o\r\n      _astarManyToMany in astar.c.o\r\n      _driving_many_to_dist in many_to_dist_driving_distance.c.o\r\n      _many_withPointsDD in many_to_dist_withPointsDD.c.o\r\n      ...\r\n  \"_palloc\", referenced from:\r\n      _pgr_cstring2char in postgres_connection.c.o\r\n      _pgr_get_restrictions in restrictions_input.c.o\r\n      _pgr_get_bigIntArr in arrays_input.c.o\r\n      _many_to_many_dijkstra in dijkstra.c.o\r\n      _dijkstraVia in dijkstraVia.c.o\r\n      _floydWarshall in floydWarshall.c.o\r\n      _johnson in johnson.c.o\r\n      ...\r\n  \"_palloc0\", referenced from:\r\n      _pgr_get_points in points_input.c.o\r\n      _pgr_get_matrixRows in matrixRows_input.c.o\r\n      _get_edges_flow in edges_input.c.o\r\n      _get_edges_5_columns in edges_input.c.o\r\n      _get_edges_9_columns in edges_input.c.o\r\n      _get_edges_basic in edges_input.c.o\r\n      _pgr_get_pd_orders_general in orders_input.c.o\r\n      ...\r\n  \"_per_MultiFuncCall\", referenced from:\r\n      _many_to_many_dijkstra in dijkstra.c.o\r\n      _dijkstraVia in dijkstraVia.c.o\r\n      _floydWarshall in floydWarshall.c.o\r\n      _johnson in johnson.c.o\r\n      _astarManyToMany in astar.c.o\r\n      _driving_many_to_dist in many_to_dist_driving_distance.c.o\r\n      _many_withPointsDD in many_to_dist_withPointsDD.c.o\r\n      ...\r\n  \"_pfree\", referenced from:\r\n      _pgr_get_bigIntArr in arrays_input.c.o\r\n      _process in dijkstra.c.o\r\n      _process in dijkstraVia.c.o\r\n      _process in floydWarshall.c.o\r\n      _process in johnson.c.o\r\n      _process in astar.c.o\r\n      _driving_many_to_dist in many_to_dist_driving_distance.c.o\r\n      ...\r\n  \"_pg_detoast_datum\", referenced from:\r\n      _pgr_SPI_getBigIntArr in get_check_data.c.o\r\n      _many_to_many_dijkstra in dijkstra.c.o\r\n      _dijkstraVia in dijkstraVia.c.o\r\n      _floydWarshall in floydWarshall.c.o\r\n      _johnson in johnson.c.o\r\n      _astarManyToMany in astar.c.o\r\n      _driving_many_to_dist in many_to_dist_driving_distance.c.o\r\n      ...\r\n  \"_repalloc\", referenced from:\r\n      _pgr_get_points in points_input.c.o\r\n      _pgr_get_matrixRows in matrixRows_input.c.o\r\n      _get_edges_flow in edges_input.c.o\r\n      _get_edges_5_columns in edges_input.c.o\r\n      _get_edges_9_columns in edges_input.c.o\r\n      _get_edges_basic in edges_input.c.o\r\n      _pgr_get_pd_orders_general in orders_input.c.o\r\n      ...\r\n  \"_text_to_cstring\", referenced from:\r\n      _many_to_many_dijkstra in dijkstra.c.o\r\n      _dijkstraVia in dijkstraVia.c.o\r\n      _floydWarshall in floydWarshall.c.o\r\n      _johnson in johnson.c.o\r\n      _astarManyToMany in astar.c.o\r\n      _driving_many_to_dist in many_to_dist_driving_distance.c.o\r\n      _many_withPointsDD in many_to_dist_withPointsDD.c.o\r\n      ...\r\nld: symbol(s) not found for architecture x86_64\r\nclang: error: linker command failed with exit code 1 (use -v to see invocation)\r\nmake[2]: *** [lib/libpgrouting-2.6.so] Error 1\r\nmake[1]: *** [CMakeFiles/pgrouting-2.6.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n```\r\n### Steps to reproduce the problem\r\nI built with `cmake` and installed by following the README.md, the log of cmake shows all the package seems are okay. The `cmake` log is \r\n```text\r\nCMake Deprecation Warning at CMakeLists.txt:11 (cmake_policy):\r\n  The OLD behavior for policy CMP0046 will be removed from a future version\r\n  of CMake.\r\n  The cmake-policies(7) manual explains that the OLD behaviors of all\r\n  policies are deprecated and that a policy should be set to OLD only under\r\n  specific short-term circumstances.  Projects should be ported to the NEW\r\n  behavior and not rely on setting a policy to OLD.\r\n\r\n-- CMAKE_BUILD_TYPE\r\n-- CMAKE_BUILD_TYPE\r\n-- The C compiler identification is AppleClang 10.0.0.10001145\r\n-- The CXX compiler identification is AppleClang 10.0.0.10001145\r\n-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc\r\n-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works\r\n-- Detecting C compiler ABI info\r\n-- Detecting C compiler ABI info - done\r\n-- Detecting C compile features\r\n-- Detecting C compile features - done\r\n-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++\r\n-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works\r\n-- Detecting CXX compiler ABI info\r\n-- Detecting CXX compiler ABI info - done\r\n-- Detecting CXX compile features\r\n-- Detecting CXX compile features - done\r\nCMake Deprecation Warning at CMakeLists.txt:50 (cmake_policy):\r\n  The OLD behavior for policy CMP0054 will be removed from a future version\r\n  of CMake.\r\n\r\n  The cmake-policies(7) manual explains that the OLD behaviors of all\r\n  policies are deprecated and that a policy should be set to OLD only under\r\n  specific short-term circumstances.  Projects should be ported to the NEW\r\n  behavior and not rely on setting a policy to OLD.\r\n\r\n\r\n-- DOXYGEN_MINIMUM_VERSION=1.7\r\n-- SPHINX_MINIMUM_VERSION=1.1\r\n-- POSTGRESQL_MINIMUM_VERSION=9.2.0\r\n-- POSTGIS_MINIMUM_VERSION=2.0.0\r\n-- GNU_CXX_MINIMUM_VERSION=4.6\r\n-- CLANG_CXX_MINIMUM_VERSION=\r\n-- MSVC_CXX_MINIMUM_VERSION=18.0\r\n-- dir='/Users/juifa.tsai/Downloads/pgrouting/cmake'\r\n-- Performing Test COMPILER_SUPPORTS_CXX0X\r\n-- Performing Test COMPILER_SUPPORTS_CXX0X - Success\r\n-- Performing Test COMPILER_SUPPORTS_CXX11\r\n-- Performing Test COMPILER_SUPPORTS_CXX11 - Success\r\n-- Unknown compiler minimum version for AppleClang\r\n-- Using  -std=c++11.\r\n-- Found Perl: /usr/bin/perl (found version \"5.18.2\")\r\n-- POSTGRESQL_PG_CONFIG is /Library/PostgreSQL/9.6/bin/pg_config\r\n-- POSTGRESQL_EXECUTABLE is /Applications/postgres.app/Contents/MacOS/Postgres\r\n-- POSTGRESQL_VERSION_STRING in FindPostgreSQL.cmake is PostgreSQL 9.6.11\r\n-- POSTGRESQL_INCLUDE_DIR: /Library/PostgreSQL/9.6/include/postgresql/server\r\n-- POSTGRESQL_LIBRARIES: /Library/PostgreSQL/9.6/lib\r\n-- PGSQL_VERSION=96\r\n-- Boost version: 1.68.0\r\n-- Boost headers were found here: /usr/local/include\r\n-- Looking for pthread.h\r\n-- Looking for pthread.h - found\r\n-- Looking for pthread_create\r\n-- Looking for pthread_create - found\r\n-- Found Threads: TRUE\r\n-- Boost version: 1.68.0\r\n-- Found the following Boost libraries:\r\n--   thread\r\n--   chrono\r\n--   system\r\n--   date_time\r\n--   atomic\r\n-- Boost version: 1.68.0\r\n-- Found the following Boost libraries:\r\n--   thread\r\n--   system\r\n--   chrono\r\n--   date_time\r\n--   atomic\r\n-- CGAL_INCLUDE_DIR=/usr/local/include\r\n-- CGAL_LIBRARIES=/usr/local/lib/libCGAL.dylib\r\n-- BOOST_THREAD_LIBRARIES=/usr/local/lib/libboost_thread-mt.dylib;/usr/local/lib/libboost_system-mt.dylib;/usr/local/lib/libboost_chrono-mt.dylib;/usr/local/lib/libboost_date_time-mt.dylib;/usr/local/lib/libboost_atomic-mt.dylib\r\n-- GMP_LIBRARIES=/usr/local/lib/libgmp.dylib\r\n-- Found CGAL: /usr/local/include, /usr/local/lib/libCGAL.dylib, /usr/local/lib/libboost_thread-mt.dylib;/usr/local/lib/libboost_system-mt.dylib;/usr/local/lib/libboost_chrono-mt.dylib;/usr/local/lib/libboost_date_time-mt.dylib;/usr/local/lib/libboost_atomic-mt.dylib, /usr/local/lib/libgmp.dylib\r\n-- Performing Test C_COMPILER_SUPPORTS_FPIC\r\n-- Performing Test C_COMPILER_SUPPORTS_FPIC - Success\r\n-- Performing Test CXX_COMPILER_SUPPORTS_FPIC\r\n-- Performing Test CXX_COMPILER_SUPPORTS_FPIC - Success\r\n-- Performing Test C_COMPILER_SUPPORTS_ROUNDING_MATH\r\n-- Performing Test C_COMPILER_SUPPORTS_ROUNDING_MATH - Success\r\n-- Performing Test CXX_COMPILER_SUPPORTS_ROUNDING_MATH\r\n-- Performing Test CXX_COMPILER_SUPPORTS_ROUNDING_MATH - Failed\r\n-- Configuring done\r\n-- Generating done\r\n-- Build files have been written to: /Users/juifa.tsai/Downloads/pgrouting/build\r\n```\r\n\r\n### Specifications like the version of pgRouting/PostGIS and PostgreSQL as well as Operating System\r\nMy environments are\r\n* Clang version\r\n   * Apple LLVM version 10.0.0 (clang-1000.11.45.5)\r\n   * Target: x86_64-apple-darwin17.7.0\r\n* pgrouting download with 'master' branch.   \r\n\r\nNot sure if I miss something, I hope someone can point out the right step for me.\r\n\r\nMany thanks!\r\nJ.F.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pgRouting/pgrouting/issues/comments/438175544","html_url":"https://github.com/pgRouting/pgrouting/issues/1157#issuecomment-438175544","issue_url":"https://api.github.com/repos/pgRouting/pgrouting/issues/1157","id":438175544,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODE3NTU0NA==","user":{"login":"cvvergara","id":5035290,"node_id":"MDQ6VXNlcjUwMzUyOTA=","avatar_url":"https://avatars1.githubusercontent.com/u/5035290?v=4","gravatar_id":"","url":"https://api.github.com/users/cvvergara","html_url":"https://github.com/cvvergara","followers_url":"https://api.github.com/users/cvvergara/followers","following_url":"https://api.github.com/users/cvvergara/following{/other_user}","gists_url":"https://api.github.com/users/cvvergara/gists{/gist_id}","starred_url":"https://api.github.com/users/cvvergara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cvvergara/subscriptions","organizations_url":"https://api.github.com/users/cvvergara/orgs","repos_url":"https://api.github.com/users/cvvergara/repos","events_url":"https://api.github.com/users/cvvergara/events{/privacy}","received_events_url":"https://api.github.com/users/cvvergara/received_events","type":"User","site_admin":false},"created_at":"2018-11-13T08:16:19Z","updated_at":"2018-11-13T08:16:19Z","author_association":"MEMBER","body":"I don't have a mac, so my comments are just guess, I have no way to duplicate\r\n```\r\n_ArrayGetNItems\", referenced from:\r\n      _pgr_get_bigIntArr in arrays_input.c.o\r\n```\r\n`_ArrayGetNItems` is a postgres function\r\n\r\nWhat I see is that only where postgres is needed things failed, (Mainly C files)\r\nkind of postgres not really being linked\r\n\r\nCan you make (a clean build) with this flags\r\n```\r\ncmake -DCMAKE_VERBOSE_MAKEFILE=ON -DPGROUTING_DEBUG=ON ..\r\n```\r\nOutput will be huge, paste the\r\n- cmake log,\r\n- some C files compilation (\"common\" has many C files)\r\n- some CPP files\r\n- if the linking output changes, then also the linking output\r\n\r\nBut really anything I can tell you is a guess.\r\nI haven't being able to make a travis test (since 2013 that I started on the team) for macOS, because I have no idea of how mac works\r\n\r\nThis is a travis test with postgres 9.6 (on trusty)\r\nhttps://travis-ci.org/pgRouting/pgrouting/jobs/431985880"}}
{"actor":{"display_login":"cvvergara"}}