Here is the log of my test run. Please note that *libctlgeom.6.dylib* is
not found anywhere. I see *libctlgeom.7.dylib* though. I did configure all
the paths though.

(meep) durgeshs-mbp:~ dsanagaram$ sh meep-strip.sh

Traceback (most recent call last):

  File "meep-strip.py", line 2, in <module>

    import meep as mp

  File
"/opt/anaconda3/envs/meep/lib/python3.6/site-packages/meep/__init__.py",
line 8, in <module>

    from . import _meep

ImportError:
dlopen(/opt/anaconda3/envs/meep/lib/python3.6/site-packages/meep/_meep.so,
2): Library not loaded: @rpath/libctlgeom.6.dylib

  Referenced from:
/opt/anaconda3/envs/meep/lib/python3.6/site-packages/meep/_meep.so

  Reason: image not found

(meep) durgeshs-mbp:~ dsanagaram$


(meep) durgeshs-mbp:~ dsanagaram$ locate libctlgeom

/Users/dsanagaram/libctl/libctl-3.2.2/utils/.libs/libctlgeom.a

/Users/dsanagaram/libctl/libctl-3.2.2/utils/.libs/libctlgeom.la

/Users/dsanagaram/libctl/libctl-3.2.2/utils/.libs/libctlgeom.lai

/Users/dsanagaram/libctl/libctl-3.2.2/utils/libctlgeom.la

/Users/dsanagaram/libctl-3.2.2/utils/.libs/libctlgeom.a

/Users/dsanagaram/libctl-3.2.2/utils/.libs/libctlgeom.la

/Users/dsanagaram/libctl-3.2.2/utils/.libs/libctlgeom.lai

/Users/dsanagaram/libctl-3.2.2/utils/libctlgeom.la

/opt/anaconda3/envs/meep/lib/libctlgeom.7.dylib

/opt/anaconda3/envs/meep/lib/libctlgeom.dylib

/opt/anaconda3/pkgs/libctl-4.2.0-h1de35cc_0/lib/libctlgeom.7.dylib

/opt/anaconda3/pkgs/libctl-4.2.0-h1de35cc_0/lib/libctlgeom.dylib

/opt/anaconda3/pkgs/libctl-4.5.0-h0b31af3_1/lib/libctlgeom.7.dylib

/opt/anaconda3/pkgs/libctl-4.5.0-h0b31af3_1/lib/libctlgeom.dylib

/usr/local/lib/libctlgeom.a

/usr/local/lib/libctlgeom.la


Thanks,

Dhruv

On Tue, Jun 23, 2020 at 1:15 PM Steven G. Johnson <stevenj....@gmail.com>
wrote:

> Sounds like a path issue.  See "paths for running" in the manual:
>
> https://meep.readthedocs.io/en/latest/Build_From_Source/#installation-paths
>
> On Jun 22, 2020, at 10:45 PM, Dhruv Sanagaram <dhruvsanaga...@gmail.com>
> wrote:
>
> Hi,
>
> I am Dhruv and I've been trying to execute the script from the MPB Project
> #1 on the MEEP tutorials website
> (http://www.simpetus.com/projects.html#mpb_waveguide) but I've been
> receiving an error message that the library libctlgeom.6.dylib
> cannot be loaded. After typing "locate libctlgeom", I found that there is
> a libctlgeom.7.dylib which comes as part of the anaconda libctl-4.5.0
> installation. I ran the commands ./configure, make and make install in the
> libctil-4.5.0 folder, and executed the script to no avail.
> I'm not sure how I can make the version of libctlgeom from version 7 to 6,
> so if you have any insights, please let me know.
> I've also attached a logfile consisting of my error and the results of the
> locate libctlgeom command below.
>
> Regards,
>
> Dhruv
> <libctlissue.txt>_______________________________________________
> meep-discuss mailing list
> meep-discuss@ab-initio.mit.edu
> http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss
>
>
>
_______________________________________________
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to