Closed yohanyee closed 6 years ago
Sounds like an issue with LD_LIBRARY_PATH
I don't exactly understand what has gone wrong with your installation but I'm reluctant to add such ad hoc steps to the installation process.
From: Gabriel A. Devenyi notifications@github.com Sent: May 31, 2017 10:08:34 AM To: Mouse-Imaging-Centre/pyminc Cc: Subscribed Subject: Re: [Mouse-Imaging-Centre/pyminc] Cannot find libminc2.so (#26)
Sounds like an issue with LD_LIBRARY_PATH
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Mouse-2DImaging-2DCentre_pyminc_issues_26-23issuecomment-2D305197987&d=DQMCaQ&c=Dvjge31PR3JZstzk2paJYiflTxRSxp35GBhsbHdd2Zw&r=v3Chm4sCUETLltY6-53m2uQfL8HQ7l79D29BO0w4Fso&m=OB2cgBRC1sI_CgAj3odtQTTSFtGpsq_2ohN3Uk3l44U&s=Z8Uy5nYYxbv2qdARAKnJwXrMKo1Ko3uLSHpXrQrCuuY&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AAKBNN3edkQCVioirfAcOUX9oF-5Fhl0Ppks5r-5FXRigaJpZM4NrGCQ&d=DQMCaQ&c=Dvjge31PR3JZstzk2paJYiflTxRSxp35GBhsbHdd2Zw&r=v3Chm4sCUETLltY6-53m2uQfL8HQ7l79D29BO0w4Fso&m=OB2cgBRC1sI_CgAj3odtQTTSFtGpsq_2ohN3Uk3l44U&s=GJvLmgaa_g1Po2Iz3pZVPus15HbK-rg_Z4-YG9JxdFk&e=.
This e-mail may contain confidential, personal and/or health information(information which may be subject to legal restrictions on use, retention and/or disclosure) for the sole use of the intended recipient. Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact the sender and delete all copies.
I had the same issus. This step works for me : export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/minc/1.9.17/lib (if you use minctoolkit v2)
You have not run the "source" command specified for use of the minc-toolkit after install
If libminc2.so is already installed on the system and when installing pyminc via pip in Anaconda, the installation completes with no errors but importing pyminc results in an error related to finding libminc2.so . The issue is with the path to the library, which I fixed by symlinking ${ANACONDA_INSTALL_PATH}/lib/libminc2.so to /usr/lib/x86_64-linux-gnu/libminc2.so.4.0.0 . Can this step be added in the install process?