Try passing LDFLAGS="-L/usr/local/epd/lib/" to configure while compiling. Also, do not forget to set LD_LIBRARY_PATH as I said, before trying to import the library. On 05.02.2017 17:13, bloodymeli wrote:
Dear Tiago,
Thanks for the tip. Please see the attached log file. As far as I know, there were no flags added, but perhaps the epd setup script (setup.csh) was first initialized. The EPD python is the python interpreter I would like to use.
Best, Eli
On Sun, Feb 5, 2017 at 6:09 PM, Tiago Peixoto [via Main discussion list for the graph-tool project] <[hidden email] </user/SendEmail.jtp?type=node&node=4026991&i=0>> wrote:
On 05.02.2017 14:08, bloodymeli wrote: > Thanks! > > This is indeed strange, as the library is installed to > /usr/local/epd/lib/python2.7/site-packages/graph_tool/libgraph_tool_core.so > > but compiled against: > libpython2.6.so.1.0 => /usr/lib64/libpython2.6.so.1.0 (0x00007ffff38ce000) > > How do I specify which libpython to use?
This should be detected automatically when ./configure is run. The specific python interpreter can be overridden by setting the PYTHON environment variable to ./configure.
But your symptom can also be caused by your custom python library (which seems to be installed in the nonstandard path /usr/local/epd) not being set in the linker's path. This could be fixed by doing something like: export LD_LIBRARY_PATH=/usr/local/epd/lib/
But these are just some guesses, since you gave us very little information. Ideally, you would give us all parameters you passed to ./configure during compilation, as well as the contents to config.log.
Best, Tiago
-- Tiago de Paula Peixoto <[hidden email] <http:///user/SendEmail.jtp?type=node&node=4026990&i=0>>
_______________________________________________ graph-tool mailing list [hidden email] <http:///user/SendEmail.jtp?type=node&node=4026990&i=1> https://lists.skewed.de/mailman/listinfo/graph-tool <https://lists.skewed.de/mailman/listinfo/graph-tool>
*signature.asc* (849 bytes) Download Attachment <http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/attachment/4026990/0/signature.asc> -- Tiago de Paula Peixoto <[hidden email] </user/SendEmail.jtp?type=node&node=4026991&i=1>>
---------------------------------------------------------------------------- If you reply to this email, your message will be added to the discussion below: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/... <http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/general-did-not-match-C-signature-error-tp4026983p4026990.html>
To unsubscribe from general "did not match C++ signature" error, click here. NAML <http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
*setup.csh* (302 bytes) Download Attachment <http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/attachment/4026991/0/setup.csh> *config.log* (144K) Download Attachment <http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/attachment/4026991/1/config.log>
---------------------------------------------------------------------------- View this message in context: Re: general "did not match C++ signature" error <http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/general-did-not-match-C-signature-error-tp4026983p4026991.html> Sent from the Main discussion list for the graph-tool project mailing list archive <http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/> at Nabble.com.
_______________________________________________ graph-tool mailing list graph-tool@skewed.de https://lists.skewed.de/mailman/listinfo/graph-tool
-- Tiago de Paula Peixoto <tiago@skewed.de>