You are not logged in.
Pages: 1
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
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
I'm not installing from the AUR because I need version 13.0, not 15
Offline
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
Well, that is exactly my problem. Where do I get libpng12? I did install libpng, is it not the same?
Offline
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
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
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
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
Nevermind, figured it out
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
Pages: 1