I got the following problem when running "imresize":
MATLAB:dispatcher:loadLibrary Can't load '/usr/local/MATLAB/R2011b/bin/glnxa64/libmwmathlinalg.so': libgfortran.so.3: cannot open shared object file: No such file or directory.
The file libmwmathlinalg.so is located in that folder but Matlab cannot find it. It is likely many other .so files are not accessible either so it's a big problem. I suspect that this is caused by a bad linking. Yesterday I wanted to mex a fortran code, and I did the following
sudo ln -sf /usr/local/MATLAB/R2011b/sys/os/glnxa64 /usr/local/MATLAB/R2011b/bin/glnxa64/libgfortran.so.3
Later when Matlab restarted I found the problem. I have removed the link using
sudo rm /usr/local/MATLAB/R2011b/sys/os/glnxa64/libgfortran.so.3
But the problem persists. I think that maybe the folder
/usr/local/MATLAB/R2011b/sys/os/glnxa64
should be somehow linked to
/usr/local/MATLAB/R2011b/bin/glnxa64
but it's not doing so. Any ideas?
Edit: Actually, could anybody upload a screenshot about the files (including links) inside the
/usr/local/MATLAB/R2011b/sys/os/glnxa64
folder? That may be helpful. I've shown mine here.
Solved by removing and installing again the whole Matlab 2011. Trivial and non-trivial...
Related
I've scoured other forums that talk about this problem and have tried all of the recommendations I've found, but I cannot seem to get VSCode to recognize my Julia.exe path and execute commands in a .jl file. Every time I run even a simple .jl file, I get /bin/sh: julia: command not found (pictured below).
I have ensured that the executable path is set properly in the .json file, and have tried moving the executable to other locations (using an M1 Mac), but it seems it still cannot find/recognize the Julia.exe:
I have even tried just pointing to the binary folder /bin, and /bin/julia.exe (with the extension), and though VSCode does not generate the error when it cannot confirm the .exe path, the actual code still generates the error above.
I'm at my wits end here. I'm sure it's a simple answer that someone could spot in a second, or know the troubleshooting for, but I've never had this issue to this degree before with installing other languages like Kotlin. Any help is greatly appreciated.
Problem was fixed by the MacOS recommendation found here:
julialang.org/downloads/platform/#optional_add_julia_to_path
Copying the binary .exe elsewhere (outside of /Applications) and changing the executable path in VSCode fixed the issue.
I've been struggling for a couple of hours now trying to link Allegro 5 to Eclipse on Ubuntu. And yes, I've been searching for it but I must be missing something really simple and you guys will surely find it right away, so please help me out...
I create the project like this:
And when I try to link any library (example below)
I get this error when compiling my program!
And here is a pic of the relevant folders with the correctly compiled libraries:
EDIT:
If you are struggling with this as well, all I had to do was very simple, you just need to add these to you libraries:
here is the list so you can just copy and paste it:
allegro
allegro_acodec
allegro_audio
allegro_color
allegro_dialog
allegro_font
allegro_image
allegro_main
allegro_memfile
allegro_physfs
allegro_primitives
allegro_ttf
You should get out of eclipse and just use the command line until you have this sorted. Eclipse is just a complex way to obfuscating the command line.
To link a .so, you need:
-LpathToLibrary
-lnameOfLibrary, with 'lib' and '.so' stripped off.
If your library is sitting in /usr/lib, which is suggested by what you are trying, then you don't need the -L at all. If the name is 'liballegro5.so', you'll need -lallegro5.
I recommend:
find /usr -name liballegro.so -print
if the answer is '/usr/lib/liballegro.so', then all you need is -lallegro.
If the answer is /SOMETHINGELSE/liballegro.so, then you need -L/SOMETHINGELSE/.
If you don't find liballegro, then you need to figure out if it's actually liballegro5.so.
You can also stop using -L and -l and just put the entire path of the .so in there.
I am new for centos installation. I downloaded a minimul version of centos 6.5, around 339.7mb of size. I am trying to install this with GUI interface but I got an error after selecting the drive option, which comes after selecting the country.
This is complete message,
Unable to read package metadata. This may be due to missing repodata directory. Please ensure that your install tree has been correctly generated.
Failare:
repodata/743fec56b2af0ce8d6ec82c47a4efafc2a4d18cddfa9683f29611cb18d1a33de-primary.sqlite.bz2 from anaconda-CentOS-201311271240.i386: [Ermo 256] No more mirrors to try.
Sorry but I am new here, so I can't put the exact image here.
I believe that i had this same issue and was able to solve it.
The files under the /repodata folder are missing their file extensions and are not matching their full names in the "TRANS.TBL" file, under this same dir.
Rename all the files to match what is in the "TRANS.TBL" file, then try the install over again.
Please let everyone know if this works for you.
In the past i would just put a URL in that pointed to the correct files on a server, i feel that most people take this workaround and that's why it's not as hot of an item as it should be. I hope this gets fixed in the .ISO.
Thank you,
YourFriend
It worked for me.
I renamed all 8 files.
i.e. 0e371b19e547b9d7a7e8acc4b8c0c7c074509d33653cfaef9e8f4fd1d62d95de
0e371b19e547b9d7a7e8acc4b8c0c7c074509d33653cfaef9e8f4fd1d62d95de-primary.sqlite.bz2
The correct file name is given in file "repomd" under folder repodata
example - location href="repodata/b124f0ec5323cfee56b420906a3103f0daef656dde3f7ac8220120aa7504e57a-primary.xml.gz"
I had exactly the same issue ;
under "repodata" directory opened "repmod" xml file
Searched file name within repmond xml file
Found matching strings
Renamed 8 files as specified in .xml file
and it worked like a charm
Thanks to "Your Friend"
I had the same problem. Even if you manage to get past this step, you will encounter at a later point other errors related to filenames.
The root cause was using Unetbootin to create the bootable media. I switched to Rufus and everything works fine now.
I am following this Matlab tutorial.
But I could not find the tutorial file in my computer, which is supposed to be in
docroot\toolbox\eml\gs\examples\sl_kalman
Where can I download these files on internet?
Thank you very much
Copying Files Locally should provide you with the necessary tools. Calling cd(docroot) from the command line will change your current directory to docroot. From there on navigate to the desired location.
Keep in mind, that your referenced tutorial is for release 2010b. Possibly file locations may change between releases. Check the Archived MathWorks Documentation for your MATLAB version.
I have been working on this issue for over a week with no luck and tried every possible solution e.g. delete and reinstall certificates, profiles, and everything seems to be ok.
My problem show up when I try to upload with Application Uploader where it shows ""The CodeResources file must be a symbolic link .... " error , so I checked my application package and found CodeResources as symbolic and properly linked to "_CodeSignature/CodeResources"
To make sure I deleted "CodeResources" file and recreate symbolic link to "_CodeSignature/CodeResources" using command: ln -s _CodeSignature/CodeResources CodeResources
But even this didn't solve my problem. So I thought to remove "CodeResources" then zip package and try to upload... Surprisingly Application Loader accepted it and start uploading!!
I have searched all over internet and tried all solutions I found but didn't solve this irritating problem.
BTW, I tried to zip the app package with -y parameter but still no luck
Kindly assist me to solve it
Thanks in advance
Finally, uploaded app successfully .
I don't know exactly what was the issue, but glad that my app has been uploaded successfully
Anyhow, all I did was running disk utility and repair permissions (several times). and put English language in the top of languages list (System preferences -> Language & Text) then reboot system before I try to upload.
Thanks