LinuxQuestions.org
Review your favorite Linux distribution.
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 09-26-2012, 01: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, 04:32 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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 04:34 PM. Reason: edit
 
Old 09-28-2012, 11:08 AM   #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 11:11 AM.
 
Old 09-28-2012, 11:29 AM   #4
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
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, 11:32 AM   #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, 11:40 AM   #6
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
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, 11:43 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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, 11:52 AM   #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, 01:14 PM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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



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 03:40 PM
Dom U Installation Problems on RHEL5+ Xen (installation exits abnormally) dmpatra Red Hat 1 07-24-2007 05:46 PM
Installation doesn't recognize Red Hat Enterprise Linux ES installation cd bizkut Red Hat 2 08-15-2004 08:57 AM

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

All times are GMT -5. The time now is 06:03 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
Open Source Consulting | Domain Registration