Altera_Forum
Honored Contributor
15 years agoAltera Installer on Fedora 12 (and other Linux distros)
running the Altera Installer on Fedora 12, you might see and error with libXi.so as we've seen in the past running quartus:
$ ./altera_installer.external.mod.sh
Creating directory bin
Verifying archive integrity... All good.
Uncompressing Altera Installer............................................................................................................................
Fontconfig error: "conf.d", line 1: no element found
Fontconfig warning: line 73: unknown element "cachedir"
Fontconfig warning: line 74: unknown element "cachedir"
./altera_installer_gui: symbol lookup error: /usr/lib/libXi.so: undefined symbol: XESetWireToEventCookie
in the Quartus II install, we could simply remove $QUARTUS_ROOTDIR/linux/libX11.so.6 and quartus would run fine. unfortunately, the Altera Installer isn't easy to figure out if you manually remove the .so and go back to run the installer. i've created a patch that removes the .so after the archive is extracted, and compensates the head commands to make up for the extra line i added. here are instructions for installing the patch using the .tar.gz: $ tar -zxvf altera_installer_rm_libX11.so.6_lib.tar.gz
altera_installer_rm_libX11.so.6_lib.patch
$ patch altera_installer.external.sh altera_installer_rm_libX11.so.6_lib.patch
patching file altera_installer.external.sh
$ chmod +x altera_installer.external.sh
$ ./altera_installer.external.sh
Creating directory bin
Verifying archive integrity... All good.
Uncompressing Altera Installer............................................................................................................................rm: cannot remove `libX11.so.6': No such file or directory
Fontconfig error: "conf.d", line 1: no element found
Fontconfig warning: line 73: unknown element "cachedir"
Fontconfig warning: line 74: unknown element "cachedir" here's the actual patch: 96c96
< offset=`head -n 402 "$1" | wc -c | tr -d " "`
---
> offset=`head -n 403 "$1" | wc -c | tr -d " "`
139a140
> rm libX11.so.6
205c206
< offset=`head -n 402 "$0" | wc -c | tr -d " "`
---
> offset=`head -n 403 "$0" | wc -c | tr -d " "`
214c215
< offset=`head -n 402 "$0" | wc -c | tr -d " "`
---
> offset=`head -n 403 "$0" | wc -c | tr -d " "`
341c342
< offset=`head -n 402 "$0" | wc -c | tr -d " "`
---
> offset=`head -n 403 "$0" | wc -c | tr -d " "`
let me know if you use the patch or have any improvements. from the log output you can see its trying to rm the .so twice. it works as is, so :) do note that Fedora (any version) is not supported by Altera, neither is this install flow