You are not logged in.

#1 2013-07-26 18:16:10

febrefebril
Member
Registered: 2013-07-26
Posts: 13

qt software that use qt stop working after i install qt 4

after installing qt 4 all apps (dolphin, virtualbox, etc) stopped working. I think it's a common problem but I am not knowing how to solve. Traing to solve i Installqtchooser and still could not run any application that make uses of qt.
I'm using zsh as shell and as a window manager i3. Someone I know indacar a path?
thanks  for all

ps: sorry for my misspelled ... I'm not native English speaking

Offline

#2 2013-07-26 18:20:26

febrefebril
Member
Registered: 2013-07-26
Posts: 13

Re: qt software that use qt stop working after i install qt 4

when i try to run i get this erros:
dolphin: error while loading shared libraries: libpng16.so.16: cannot open shared object file: No such file or directory
or
VirtualBox: supR3HardenedMainGetTrustedMain: dlopen("/usr/lib/virtualbox/VirtualBox.so",) failed: libpng16.so.16: cannot open shared object file: No such file or directory

Offline

#3 2013-07-26 18:20:55

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: qt software that use qt stop working after i install qt 4

I think your English abilities are more than adequate in getting your question across, so don't worry.

I am not a heavy qt user, but I am curious if the applications in question work if you uninstall qt4.  Have you uninstalled qt4 to see if functionality would return? How did you determine that it is the existence of qt4 specifically that is causing these issues?  Is that the only thing that changed before breakage?


Edit: Okay you have a second post now.  Are you doing partial upgrades?  That is, you do "pacman -Sy <package>" without doing a "pacman -Syu"?  If so, then you are going to break your stuff simply because new packages are built against the libraries that are currently in the repos. 

What version of libpng do you have?  (pacman -Qi libpng)

Last edited by WonderWoofy (2013-07-26 18:22:43)

Offline

#4 2013-07-26 18:39:46

febrefebril
Member
Registered: 2013-07-26
Posts: 13

Re: qt software that use qt stop working after i install qt 4

Name           : libpng
Version        : 1.5.15-1
Description    : A collection of routines used to create PNG format graphics files
Architecture   : x86_64
URL            : http://www.libpng.org/pub/png/libpng.html
Licenses       : custom
Groups         : None
Provides       : None
Depends On     : zlib  sh
Optional Deps  : None
Required By    : cairo  gdk-pixbuf2  ghostscript  imlib2  lib32-libpng  libcups  libwebp  mjpegtools  qt4  qt5-base  virtualbox
Optional For   : imagemagick
Conflicts With : None
Replaces       : None
Installed Size : 708.00 KiB
Packager       : Ionut Biru <ibiru@archlinux.org>
Build Date     : Tue Apr 9 15:07:53 2013
Install Date   : Wed Apr 24 12:33:36 2013
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By   : Signature

Offline

#5 2013-07-26 18:42:50

febrefebril
Member
Registered: 2013-07-26
Posts: 13

Re: qt software that use qt stop working after i install qt 4

my pacman log before crashing virtualbox, dolphin ...

[2013-07-26 10:52] [PACMAN] installed filezilla (3.7.1.1-1)
[2013-07-26 11:44] [PACMAN] Running 'pacman -U qt4-4.8.5-1-x86_64.pkg.tar.xz'
[2013-07-26 11:44] [ALPM] warning: directory permissions differ on /usr/share/
filesystem: 775  package: 755
[2013-07-26 11:44] [ALPM] warning: directory permissions differ on /usr/share/icons/
filesystem: 775  package: 755
[2013-07-26 11:44] [ALPM] warning: directory permissions differ on /usr/share/icons/hicolor/
filesystem: 775  package: 755
[2013-07-26 11:44] [ALPM] warning: directory permissions differ on /usr/share/icons/hicolor/32x32/
filesystem: 775  package: 755
[2013-07-26 11:44] [ALPM] warning: directory permissions differ on /usr/share/icons/hicolor/32x32/apps/
filesystem: 775  package: 755
[2013-07-26 11:44] [PACMAN] upgraded qt4 (4.8.4-16 -> 4.8.5-1)
[2013-07-26 14:40] [PACMAN] Running 'pacman -U qt5-base-5.1.0-1-x86_64.pkg.tar.xz'
[2013-07-26 14:40] [PACMAN] installed qtchooser (31-1)
[2013-07-26 14:40] [ALPM] warning: directory permissions differ on /usr/share/
filesystem: 775  package: 755
[2013-07-26 14:40] [PACMAN] installed qt5-base (5.1.0-1)
[2013-07-26 14:45] [PACMAN] Running 'pacman -U qtchooser-31-1-x86_64.pkg.tar.xz'
[2013-07-26 14:45] [PACMAN] reinstalled qtchooser (31-1)

Offline

#6 2013-07-26 18:53:05

febrefebril
Member
Registered: 2013-07-26
Posts: 13

Re: qt software that use qt stop working after i install qt 4

I have not uninstalled qt 4 ... 'll do it now

Offline

#7 2013-07-26 18:53:37

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: qt software that use qt stop working after i install qt 4

Partial upgrades are not supported.  So you need to actually update your system. 

Run "pacman -Syu"!

Offline

#8 2013-07-26 19:03:58

febrefebril
Member
Registered: 2013-07-26
Posts: 13

Re: qt software that use qt stop working after i install qt 4

After uninstalling qt 4 and qt 5 the problem continues

Offline

#9 2013-07-26 19:05:05

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: qt software that use qt stop working after i install qt 4

You need to update your system. Partial updates are not supported!

Offline

#10 2013-07-26 19:14:13

febrefebril
Member
Registered: 2013-07-26
Posts: 13

Re: qt software that use qt stop working after i install qt 4

after "pacman -Syu" the problem continues

Offline

#11 2013-07-26 19:37:12

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: qt software that use qt stop working after i install qt 4

What's the output of

file /usr/lib/libpng16.so.16

?

Offline

#12 2013-07-26 20:00:24

febrefebril
Member
Registered: 2013-07-26
Posts: 13

Re: qt software that use qt stop working after i install qt 4

Things that i did till now:
unistall dolphing and install agan just for test purpose.
And nothing change.
Install the libpng16 using:
[2013-07-26 16:37] [PACMAN] Running 'pacman -U libpng-1.6.3-1-x86_64.pkg.tar.xz'
[2013-07-26 16:37] [ALPM] warning: directory permissions differ on /usr/share/
filesystem: 775  package: 755
[2013-07-26 16:37] [PACMAN] upgraded libpng (1.5.15-1 -> 1.6.3-1)

now i have a new situation. When I try to run virtualbox got an error in terminal:
Qt WARNING: libpng warning: ICCP: known incorrect sRGB profile

and a windows with a critical error:
Failed to create the VirtualBox COM object.

Callee RC:
NS_BASE_STREAM_WOULD_BLOCK (0x80470007)

The application will now terminate.

Offline

#13 2013-07-26 20:02:08

febrefebril
Member
Registered: 2013-07-26
Posts: 13

Re: qt software that use qt stop working after i install qt 4

karol wrote:

What's the output of

file /usr/lib/libpng16.so.16

?

file /usr/lib/libpng16.so.16         
/usr/lib/libpng16.so.16: symbolic link to `libpng16.so.16.3.0'

Offline

#14 2013-07-26 20:04:20

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: qt software that use qt stop working after i install qt 4

"libpng warning: ICCP: known incorrect sRGB profile" warning is harmless https://bbs.archlinux.org/viewtopic.php … 7#p1298737

As for the VB error, try searching yourself a bit, I found e.g. https://bbs.archlinux.org/viewtopic.php … 2#p1268712

Last edited by karol (2013-07-26 20:06:24)

Offline

#15 2013-07-26 20:08:34

febrefebril
Member
Registered: 2013-07-26
Posts: 13

Re: qt software that use qt stop working after i install qt 4

whem i try to run i3lock -d i have the same erros that i have wen try to run dolphin

i3lock: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory
dolphin: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory

Offline

#16 2013-07-26 20:10:45

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: qt software that use qt stop working after i install qt 4

Did you update your whole system? Updating just a package here and there breaks things.
Please post the versions of the packages you have problems with, like dolphin and i3lock.

Offline

#17 2013-07-26 20:50:04

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: qt software that use qt stop working after i install qt 4

Again.  You need to update your whole system.  Run "pacman -Syu"!

Offline

#18 2013-07-26 21:15:06

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: qt software that use qt stop working after i install qt 4

Why are you updating packages from the official repos by downloading them and running pacman -U <pkg>? This is bound to break your system.

WonderWoofy wrote:

Again.  You need to update your whole system.  Run "pacman -Syu"!


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#19 2013-07-26 22:00:04

febrefebril
Member
Registered: 2013-07-26
Posts: 13

Re: qt software that use qt stop working after i install qt 4

I solve this problem instaling the libpng15 in https://aur.archlinux.org/packages/libp … lang=pt_BR

Offline

#20 2013-07-26 22:03:29

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: qt software that use qt stop working after i install qt 4

Please post the versions of the packages you have problems with, like dolphin and i3lock.

Offline

#21 2013-07-26 22:04:59

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: qt software that use qt stop working after i install qt 4

febrefebril wrote:

I solve this problem instaling the libpng15 in https://aur.archlinux.org/packages/libp … lang=pt_BR

Then you are a fool. You have solved nothing. Your system will just break again and worse. You need to update your system. I'm sorry if this sounds harsh but you have been told what you need to do and you have chosen to ignore that advice. That is obviously your choice but please do not ask for help when you reap the rewards of not heeding it.

To any other user experiencing a similar problem: Do not use the OP's solution. Instead, upgrade your system using pacman -Syu. That is the correct solution - the only solution, in fact.

Last edited by cfr (2013-07-26 22:06:39)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#22 2013-07-26 22:05:12

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: qt software that use qt stop working after i install qt 4

febrefebril wrote:

I solve this problem instaling the libpng15 in https://aur.archlinux.org/packages/libp … lang=pt_BR

Why are you asking for help if you are simply going to ignore anything suggested?!?!

Offline

#23 2013-07-26 22:09:25

febrefebril
Member
Registered: 2013-07-26
Posts: 13

Re: qt software that use qt stop working after i install qt 4

yes i have run the pacman -Syu
and i get an error error: failed to prepare transaction (could not satisfy dependencies)
and because of that i try to install the lib using the PKGBUI
more info in https://bbs.archlinux.org/viewtopic.php?id=162913

Offline

#24 2013-07-26 22:16:41

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: qt software that use qt stop working after i install qt 4

Did you get just

error: failed to prepare transaction (could not satisfy dependencies)

and nothing else?

You didn't update your system, because you run into an error. Post the whole output of 'pacman -Syu' using [ code ] tags https://bbs.archlinux.org/help.php#bbcode

Offline

#25 2013-07-26 22:16:49

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: qt software that use qt stop working after i install qt 4

If you can't run an update, you have far more problems i your system than just your qt applications...

Offline

Board footer

Powered by FluxBB