You are not logged in.

#1 2016-05-02 01:02:00

arthurluz
Member
Registered: 2016-05-02
Posts: 6

[SOLVED] Problems launching Quartus II

So, I've downloaded Quartus II web edition 13.0 (altera software) and installed it with no error messages.
When I tried running it I go this problem

sudo ./quartus
quartus: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

I have installed libpng

sudo pacman -Syu libpng

and still got the same problem. I saw one thread online saying I should download multilib-devel, and so i did (link to the thread: https://bbs.archlinux.org/viewtopic.php?id=190304), but I am still getting the same error. What should I do?

Last edited by arthurluz (2016-05-03 00:24:24)

Offline

#2 2016-05-02 06:40:00

TheChickenMan
Member
From: United States
Registered: 2015-07-25
Posts: 354

Re: [SOLVED] Problems launching Quartus II

Why aren't you just installing quartus from the AUR?
https://aur.archlinux.org/packages/quartus-free/


If quantum mechanics hasn't profoundly shocked you, you haven't understood it yet.
Niels Bohr

Offline

#3 2016-05-02 09:05:28

arthurluz
Member
Registered: 2016-05-02
Posts: 6

Re: [SOLVED] Problems launching Quartus II

I'm not installing from the AUR because I need version 13.0, not 15

Offline

#4 2016-05-02 09:46:45

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: [SOLVED] Problems launching Quartus II

Version 13.0 is also available from AUR: https://aur.archlinux.org/packages/quartus-free-130/
You could at least check the dependencies from the PKGBUILD for reference. Looks like you need libpng12 or lib32-libpng12 depending on your $CARCH.

Offline

#5 2016-05-02 20:18:43

arthurluz
Member
Registered: 2016-05-02
Posts: 6

Re: [SOLVED] Problems launching Quartus II

Well, that is exactly my problem. Where do I get libpng12? I did install libpng, is it not the same?

Offline

#6 2016-05-02 22:33:38

arthurluz
Member
Registered: 2016-05-02
Posts: 6

Re: [SOLVED] Problems launching Quartus II

Ok, so I actually do have libpng12.so.0 as shown in the code below.

locate libpng12.so                                          127 
/home/arthurgl/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/libpng12.so.0
/home/arthurgl/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu/libpng12.so.0.46.0
/home/arthurgl/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libpng12.so.0
/home/arthurgl/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu/libpng12.so.0.46.0
/home/arthurgl/src/libpng12/pkg/libpng12/usr/lib/libpng12.so
/home/arthurgl/src/libpng12/pkg/libpng12/usr/lib/libpng12.so.0
/home/arthurgl/src/libpng12/pkg/libpng12/usr/lib/libpng12.so.0.56.0
/home/arthurgl/src/libpng12/src/libpng-1.2.56/.libs/libpng12.so
/home/arthurgl/src/libpng12/src/libpng-1.2.56/.libs/libpng12.so.0
/home/arthurgl/src/libpng12/src/libpng-1.2.56/.libs/libpng12.so.0.56.0
/usr/lib/libpng12.so
/usr/lib/libpng12.so.0
/usr/lib/libpng12.so.0.56.0

What should I do then? Seen that Quartus II still won't launch, giving me the same error.

Offline

#7 2016-05-02 22:41:04

TheChickenMan
Member
From: United States
Registered: 2015-07-25
Posts: 354

Re: [SOLVED] Problems launching Quartus II

arthurluz wrote:

Well, that is exactly my problem. Where do I get libpng12? I did install libpng, is it not the same?

Do your own research
https://aur.archlinux.org/packages/?O=0&K=libpng


If quantum mechanics hasn't profoundly shocked you, you haven't understood it yet.
Niels Bohr

Offline

#8 2016-05-02 23:08:17

arthurluz
Member
Registered: 2016-05-02
Posts: 6

Re: [SOLVED] Problems launching Quartus II

TheChickenMan wrote:
arthurluz wrote:

Well, that is exactly my problem. Where do I get libpng12? I did install libpng, is it not the same?

Do your own research
https://aur.archlinux.org/packages/?O=0&K=libpng

I did as you told me and I need the libpng12, not the one I was getting with pacman.
Now I've installed (via AUR) the libpng12 package, and it does appear on both /usr/lib and /lib/ directories, but I still get the same error, any advice on this problem?

Thanks in advance.

Offline

#9 2016-05-02 23:47:48

TheChickenMan
Member
From: United States
Registered: 2015-07-25
Posts: 354

Re: [SOLVED] Problems launching Quartus II

arthurluz wrote:

Any advice?

1. Install software from the AUR instead of building it yourself. It's best practice and keeps the system cleaner and more maintainable.
--- If you need to install version 13 instead of version 16 then install the AUR package for version 13.

2. Read the documentation.
--- The PKGBUILD says what is required to build and run each piece of software in Arch.
--- The PKGBUILD for each of those things says what each of them need, etc.

https://aur.archlinux.org/cgit/aur.git/ … ee-130#n35

if [[ $CARCH = x86_64 ]]
then
   depends=('lib32-glibc' 'lib32-libxext' 'lib32-libx11' 
				    'lib32-libxau' 'lib32-libxdmcp' 'lib32-freetype2'
				    'lib32-fontconfig' 'lib32-expat' 'lib32-libpng12')
   optdepends=('lib32-gtk: For eclipse-nios2 support'
               'lib32-libxtst: For eclipse-nios2 support')
fi

If quantum mechanics hasn't profoundly shocked you, you haven't understood it yet.
Niels Bohr

Offline

#10 2016-05-02 23:48:59

arthurluz
Member
Registered: 2016-05-02
Posts: 6

Re: [SOLVED] Problems launching Quartus II

Nevermind, figured it out big_smile
Had to add the path of the shared library to the ld.so.conf file and the run sudo ldconfig.

Thank you for your replies guys.

PS: Thanks for your patience with a arch newbie ChickenMan, also, thanks for the tips you gave me!

Last edited by arthurluz (2016-05-03 00:05:46)

Offline

Board footer

Powered by FluxBB