LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   error: "no such file or directory" ...but it's right there! (http://www.linuxquestions.org/questions/slackware-14/error-no-such-file-or-directory-but-its-right-there-4175411668/)

WhiteHotLoveTiger 06-15-2012 03:06 PM

error: "no such file or directory" ...but it's right there!
 
I'm not sure if this should be under Slackware or Software, so mods please move it if you think I shouldn't be here...

I'm running the latest slackware on a linode, and I'm trying to use imagemagick to alter some files.
This is what happening though:

# mogrify -resize 200 IMG_2659.JPG
mogrify: error while loading shared libraries: libpangocairo-1.0.so.0: cannot open shared object file: No such file or directory

I read that this library was part of GTK, so I installed those packages, but I've still got this error.



On a possibly related note, I'm running a separate instance of slackware as a desktop vm in virtualbox with a windows 7 host. I'm trying to install firefox 13 from the the firefox-13.0.tar.bz2 file from mozilla. I've followed the instructions on mozilla's site, but when I try to run firefox, I get a similar error:

# ~/firefox/firefox
bash: /home/username/firefox/firefox: No such file or directory

Of course, I can see the file when I run ls.

Is there some basic slackware package that I've missed? Am I overlooking something obvious?

volkerdi 06-15-2012 03:16 PM

Any chance that you might be trying to run 64-bit binaries on a 32-bit system? Check the failing binaries with 'file' and compare that with 'uname -m'.

WhiteHotLoveTiger 06-15-2012 04:51 PM

Ok, as for my first problem with mogrify, it turns out I'm just a fool. The libraries I needed apparently weren't part of GTK. I had to download pango and cairo (as well as a pile of other libraries) before it started to work.

As for firefox 13, my system is 64-bit, and the file is 32-bit. After a little searching on here, I've found this link detailing how to set up 64-bit slackware to run 32-bit programs.

Thanks for the help volkerdi.

mats_b_tegner 06-15-2012 06:55 PM

If you don't want to switch to a multilib setup, there are 64-bit binaries of Firefox 13.0.1 available on Mozilla's FTP site.


All times are GMT -5. The time now is 11:39 AM.