Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
14972 Discussions

error opening quartus or compiling opencl files as This is happening with Quartus 19.1. Any env variable I am missing? quartus: error while loading shared libraries: libxerces-c-3.2.so: cannot open shared object file: No such file or directory

mvemp
Novice
1,419 Views
 
0 Kudos
11 Replies
MPetr24
Beginner
593 Views

Same here, which distro are you using? Mine is: Red Hat Enterprise Linux Workstation release 7.4 (Maipo), which should be fully supported as far as I know...

 

mvemp
Novice
593 Views

I am using Ubuntu 16.04.

Abe
Valued Contributor II
593 Views

Download and install the following package and then try:

 

https://rpmfind.net/linux/rpm2html/search.php?query=libxerces-c-3.2.so()(64bit)

 

Make sure you choose the right package for the Distro.

 

MPetr24
Beginner
593 Views

Thank you,

I was for downloading the package when I realized that there isn't any package for my distro (Red Hat Enterprise Linux Workstation release 7.4).

I then tried to look inside Red Hat repository and found that only version 3.1.1-9 of the package is available...

 

Any suggestion?

 

Thank you

Abe
Valued Contributor II
593 Views

You can try the following:

 

cd ~/opt wget http://apache.forsale.plus//xerces/c/3/sources/xerces-c-3.2.0.tar.gz tar -xzvf xerces-c-3.2.0.tar.gz mkdir -p xerces-c-3.2.0-build cd xerces-c-3.2.0-build cmake -DCMAKE_INSTALL_PREFIX=~/opt ../xerces-c-3.2.0 make make install

Or just try installing the package for Fedora and see if it helps. This should not cause issues as this package is mostly used by Quartus alone.

TRoux
Beginner
593 Views

The right access of the libxerces-c-3.2.so delivered with Quartus 19.1 are wrong. To fix it:

chmod 555 $QUARTUS_ROOTDIR/linux64/libxerces-c-3.2.so

Same issue with libpython3.so:

chmod 555 $QUARTUS_ROOTDIR/linux64/libpython3.so

 

MPetr24
Beginner
593 Views

fixed!

Thank you for your help!

KennyT_Intel
Moderator
593 Views
Hi, can provide the full error message? And the OS that you were using? I want to document this. Thanks
TRoux
Beginner
593 Views

Hi,

The message was "quartus: error while loading shared libraries: libxerces-c-3.2.so: cannot open shared object file: No such file or directory".

I think that you get this message when you install Quartus as root and try to launch Quartus 19.1 as a "simple user" which is not in the same group as root.

I'm using CentOS Linux release 7.6.1810 (Core).

Best Regards,

Thierry

 

KennyT_Intel
Moderator
593 Views
dsam0
Beginner
593 Views

Hi,

 

Seems to have permission issue on linux64 (lib files), To fix it:

 

Enter into root folder

 

quartus/linux64$ sudo chmod 555 *lib*

 

am using Ubuntu 16.04 (64 Bit).

 

Best Regards,

Dinesh

 

 

 

Reply