LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   libXft.so.2: cannot open shared object file: No such file or directory (https://www.linuxquestions.org/questions/linux-newbie-8/libxft-so-2-cannot-open-shared-object-file-no-such-file-or-directory-4175413269/)

mainstream 06-25-2012 08:58 AM

libXft.so.2: cannot open shared object file: No such file or directory
 
I'm trying to run PGCedit, but i'm getting into problems doing so:
Code:

./pgcedit
./pgcedit: error while loading shared libraries: libXft.so.2: cannot open shared object file: No such file or directory

I did a full system search and located the files in
"/usr/lib/x86_64-linux-gnu":
Code:

mainstream@dopamine-pc:/usr/lib/x86_64-linux-gnu$ ls -la | grep libXft
lrwxrwxrwx  1 root root      15 Mar 30 12:10 libXft.so.2 -> libXft.so.2.2.0
-rw-r--r--  1 root root    85168 Mar  2 07:06 libXft.so.2.2.0

They do seem to exist. I also tried to place these files in the same directory as PGCedit, but no luck there either. Also tried symlinking...
Code:

$ ln -s /usr/lib/x86_64-linux-gnu/libXft.so.2.2.0 libXft.so.2
$ ./pgcedit
./pgcedit: error while loading shared libraries: libXft.so.2: cannot open shared object file: No such file or directory

Still the same error!

What may be causing this?

TobiSGD 06-25-2012 09:14 AM

As far as I can see PGCedit is only available as 32 bit binary but you have a 64 bit OS. You need to install the 32 bit versio of that library.

mainstream 06-26-2012 12:23 PM

Thanks that worked. Stupid me :)

Quote:

The following NEW packages will be installed:
libxft2:i386


All times are GMT -5. The time now is 02:42 AM.