Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Novice
1,065 Views

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

 
0 Kudos
11 Replies
Highlighted
Beginner
239 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...

 

0 Kudos
Highlighted
Novice
239 Views

I am using Ubuntu 16.04.

0 Kudos
Highlighted
Valued Contributor II
239 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.

 

0 Kudos
Highlighted
Beginner
239 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

0 Kudos
Highlighted
Valued Contributor II
239 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.

0 Kudos
Highlighted
Beginner
239 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

 

Highlighted
Beginner
239 Views

fixed!

Thank you for your help!

0 Kudos
Highlighted
Moderator
239 Views

Hi, can provide the full error message? And the OS that you were using? I want to document this. Thanks
0 Kudos
Highlighted
Beginner
239 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

 

0 Kudos
Highlighted
Moderator
239 Views

0 Kudos
Highlighted
Beginner
239 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

 

 

 

0 Kudos