LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-25-2012, 08:58 AM   #1
mainstream
Member
 
Registered: Oct 2010
Location: localhost
Distribution: Ubuntu / Linux Mint
Posts: 61

Rep: Reputation: 0
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?

Last edited by mainstream; 06-25-2012 at 09:02 AM.
 
Old 06-25-2012, 09:14 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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.
 
1 members found this post helpful.
Old 06-26-2012, 12:23 PM   #3
mainstream
Member
 
Registered: Oct 2010
Location: localhost
Distribution: Ubuntu / Linux Mint
Posts: 61

Original Poster
Rep: Reputation: 0
Thanks that worked. Stupid me

Quote:
The following NEW packages will be installed:
libxft2:i386
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] ??? Error: libXp.so.6: cannot open shared object file: No such file or directory castles Linux - Newbie 9 03-26-2018 04:31 AM
[SOLVED] cannot open shared object file: No such file or directory - but the file is there! Ook Slackware 5 08-24-2011 05:13 PM
libldap.so.2 cannot open shared object file- No such file or directory fuhrermasai Linux - Newbie 3 12-02-2010 11:41 PM
cannot open shared object file: No such file or directory (0) SQLSTATE=00000?? suliman_shah Programming 3 08-23-2007 01:02 PM
libawt.so: libXp.so.6: cannot open shared object file: No such file or directory man26 *BSD 0 09-10-2004 08:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration