LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 09-26-2012, 02:45 PM   #1
mauripeta
LQ Newbie
 
Registered: Sep 2012
Distribution: Ubuntu 12.04
Posts: 6

Rep: Reputation: Disabled
QyPt Installation


Hi guys, my name is Mauricio and well, I think I'm in troubles.
Here I go:

I'm trying to install PyQt on my Ubuntu 12.04 and when I'm running the "sudo make install" part everything goes well until this promt appears:

/usr/bin/ld: cannot find -lqpycore
collect2: ld returned 1 exit status
make[1]: *** [QtCore.so] Error 1
make[1]: Leaving directory `/home/mauricio/PyQt-x11-gpl-4.9.4/QtCore'
make: *** [install] Error 2
mauricio@pirincho:~/PyQt-x11-gpl-4.9.4$

Can you help me please?
 
Old 09-26-2012, 05:32 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Hi, welcome to LQ!

Have you considered something like
aptitude install python2.7-qt4
?

[edit]
If that's not the python/qt versions you're after,
try an aptitude search qt| grep -i python
[/edit]

Or do you have specific reasons to compile from source?


Cheers,
Tink

Last edited by Tinkster; 09-26-2012 at 05:34 PM. Reason: edit
 
Old 09-28-2012, 12:08 PM   #3
mauripeta
LQ Newbie
 
Registered: Sep 2012
Distribution: Ubuntu 12.04
Posts: 6

Original Poster
Rep: Reputation: Disabled
Hello, Tinkster, thanks for your answer

I've tried: sudo aptitude install python2.7-qt4

and the answer was: No packages will be installed, upgraded, or removed.

I'm really confussed

Hope somebody will find the solution.

Best regards!!

Last edited by mauripeta; 09-28-2012 at 12:11 PM.
 
Old 09-28-2012, 12:29 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
I think that was not the whole output of that command, you either get the message that the package you want to install can not be found or that it is already installed. Try it again and post the complete output.
 
Old 09-28-2012, 12:32 PM   #5
mauripeta
LQ Newbie
 
Registered: Sep 2012
Distribution: Ubuntu 12.04
Posts: 6

Original Poster
Rep: Reputation: Disabled
The complete output was:

No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

Best regards!
 
Old 09-28-2012, 12:40 PM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
That is weird, the package manager should mention if it is already installed or can not be found. In your case I would simply assume that it is already on your system.
 
Old 09-28-2012, 12:43 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
How about : sudo apt-get update && sudo apt-get install python2.7-qt4


If your setup is OK, the package will be installed or reinstalled.

.
 
Old 09-28-2012, 12:52 PM   #8
mauripeta
LQ Newbie
 
Registered: Sep 2012
Distribution: Ubuntu 12.04
Posts: 6

Original Poster
Rep: Reputation: Disabled
the output was:

Note, selecting 'python-qt4' instead of 'python2.7-qt4'
python-qt4 is already the newest version.
python-qt4 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 36 not upgraded.

This means that the package is already installed?
 
Old 09-28-2012, 02:14 PM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154Reputation: 3154
You are right, the package name is python-qt4
http://packages.ubuntu.com/precise/python-qt4

Providing all this ...
http://packages.ubuntu.com/precise/i...n-qt4/filelist

And yes, the package is already installed.

.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
RHEL6 Installation with basic video driver, things to be verified after installation. brittocj Linux - Laptop and Netbook 3 08-31-2011 04:40 PM
Dom U Installation Problems on RHEL5+ Xen (installation exits abnormally) dmpatra Red Hat 1 07-24-2007 06:46 PM
Installation doesn't recognize Red Hat Enterprise Linux ES installation cd bizkut Red Hat 2 08-15-2004 09:57 AM


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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration