{"action":"created","issue":{"url":"https://api.github.com/repos/ethz-adrl/ifopt/issues/14","repository_url":"https://api.github.com/repos/ethz-adrl/ifopt","labels_url":"https://api.github.com/repos/ethz-adrl/ifopt/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/ethz-adrl/ifopt/issues/14/comments","events_url":"https://api.github.com/repos/ethz-adrl/ifopt/issues/14/events","html_url":"https://github.com/ethz-adrl/ifopt/issues/14","id":331102960,"node_id":"MDU6SXNzdWUzMzExMDI5NjA=","number":14,"title":"ifopt- ipopt problem","user":{"login":"yousiri","id":20435188,"node_id":"MDQ6VXNlcjIwNDM1MTg4","avatar_url":"https://avatars0.githubusercontent.com/u/20435188?v=4","gravatar_id":"","url":"https://api.github.com/users/yousiri","html_url":"https://github.com/yousiri","followers_url":"https://api.github.com/users/yousiri/followers","following_url":"https://api.github.com/users/yousiri/following{/other_user}","gists_url":"https://api.github.com/users/yousiri/gists{/gist_id}","starred_url":"https://api.github.com/users/yousiri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yousiri/subscriptions","organizations_url":"https://api.github.com/users/yousiri/orgs","repos_url":"https://api.github.com/users/yousiri/repos","events_url":"https://api.github.com/users/yousiri/events{/privacy}","received_events_url":"https://api.github.com/users/yousiri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-06-11T09:04:49Z","updated_at":"2018-06-12T14:40:24Z","closed_at":null,"author_association":"NONE","body":"I have installed ipopt in /usr/local and it can be use directly. But when i use it in ifopt, some problems occur as the following (i have changed the part of \"Find IPOPT\" in the CMakeList.txt)\r\n/usr/local/lib/libipopt.so: undefined reference to `dlopen'\r\n/usr/local/lib/libipopt.so: undefined reference to `dlclose'\r\n/usr/local/lib/libipopt.so: undefined reference to `dlerror'\r\n/usr/local/lib/libipopt.so: undefined reference to `dlsym'\r\n\r\ni want to get some help, thank you.  "},"comment":{"url":"https://api.github.com/repos/ethz-adrl/ifopt/issues/comments/396614165","html_url":"https://github.com/ethz-adrl/ifopt/issues/14#issuecomment-396614165","issue_url":"https://api.github.com/repos/ethz-adrl/ifopt/issues/14","id":396614165,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjYxNDE2NQ==","user":{"login":"yousiri","id":20435188,"node_id":"MDQ6VXNlcjIwNDM1MTg4","avatar_url":"https://avatars0.githubusercontent.com/u/20435188?v=4","gravatar_id":"","url":"https://api.github.com/users/yousiri","html_url":"https://github.com/yousiri","followers_url":"https://api.github.com/users/yousiri/followers","following_url":"https://api.github.com/users/yousiri/following{/other_user}","gists_url":"https://api.github.com/users/yousiri/gists{/gist_id}","starred_url":"https://api.github.com/users/yousiri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yousiri/subscriptions","organizations_url":"https://api.github.com/users/yousiri/orgs","repos_url":"https://api.github.com/users/yousiri/repos","events_url":"https://api.github.com/users/yousiri/events{/privacy}","received_events_url":"https://api.github.com/users/yousiri/received_events","type":"User","site_admin":false},"created_at":"2018-06-12T14:40:24Z","updated_at":"2018-06-12T14:40:24Z","author_association":"NONE","body":"i have solve my problem, i put \"CMAKE_DL_LIBS\" into the \"target_link_libraries\" as the following: \r\n\r\n# The IPOPT solver interface\r\nadd_library(${PROJECT_NAME} src/ipopt_adapter.cc)\r\ntarget_link_libraries(${PROJECT_NAME}\r\n  ${IPOPT_LIBRARIES}\r\n  ${ifopt_core_LIBRARIES}\r\n  ${IPOPT_HSL_LIBRARIES}\r\n  ${IPOPT_BLAS_LIBRARIES}\r\n  ${IPOPT_LAPACK_LIBRARIES}\r\n  ${IPOPT_MUMPS_LIBRARIES}\r\n  ${IPOPT_METIS_LIBRARIES}\r\n  ${CMAKE_DL_LIBS}\r\n)"}}
{"actor":{"display_login":"yousiri"}}