View Issue Details

IDProjectCategoryView StatusLast Update
0022493CommunityOCCT:Configurationpublic2012-10-23 18:52
ReporterszyAssigned Toinv 
PrioritynormalSeveritytrivial 
Status closedResolutionno change required 
OSAll 
Summary0022493: Build failure on fedora
DescriptionPost from Forum http://www.opencascade.org/org/forum/thread_20621/.
From reporing:
  /usr/lib/libGL.so: could not read symbols: File in wrong format

"Phil Cobbin | reply 2011/05/09 19:12
This looks like some sort of NVIDIA driver related issue.

Any suggestions on how to rework the configure and get this fixed would be a big help
Thanks."

Post proposes a small bash script that corrects the issue.
"Marco Nawijn | reply 2011/05/10 23:11
Hi Phil,

Are you running Fedora. In that case it might be that libGL.so is linked to the wrong non-NVIDIA library. I had the same issue. For some reason each "yum update" invalidates the link. I have a small bash script that corrects the issue:

#!/usr/bin/env bash

# Author: M. Nawijn
# Purpose: Restore symbolic links to NVIDIA libGL* libraries.
# These symbolic links are somehow restored to default
# non-NVIDIA libraries after yum update

# Test for existence of NVIDIA shared libs

libdir="/usr/lib64"
nvlibdir="/usr/lib64/nvidia"


if [ -L $nvlibdir/libGL.so ]; then
echo "NVIDIA sharedlibrary exists"
fi

if [ -L $libdir/libGL.so ]; then
echo "OpenGL sharedlibrary exists"
fi

\rm $libdir/libGL.so
\rm $libdir/libGL.so.1

ln -s $nvlibdir/libGL.so $libdir/libGL.so
ln -s %nvlibdir/libGL.so.1 $libdir/libGL.so.1
echo "NVIDIA sharedlibrary links restored."
"
Post:
"This looks like some sort of NVIDIA driver related issue.
Any suggestions on how to rework the configure and get this fixed would be a big help"

Log file (bug.txt) is attached.
TagsNo tags attached.
Test case number

Attached Files

Activities

szy

2011-10-21 17:03

manager  

bug.txt (53,511 bytes)   

abv

2012-10-23 18:51

manager   ~0021910

The problem obviously was in environment on the user workstation

Issue History

Date Modified Username Field Change
2011-08-02 11:15 bugmaster Category OCCT:DEVENV => OCCT:Development Environment
2011-09-22 17:07 szy Assigned To bugmaster => inv
2011-09-22 17:07 szy Status acknowledged => assigned
2011-09-22 17:08 szy Fixed in Version EMPTY =>
2011-09-22 17:08 szy Target Version => 6.5.3
2011-09-22 17:08 szy Description Updated
2011-10-21 17:03 szy Resolution suspended => open
2011-10-21 17:03 szy Description Updated
2011-10-21 17:03 szy Steps to Reproduce Updated
2011-10-21 17:03 szy File Added: bug.txt
2011-11-25 14:21 szy Description Updated
2011-11-25 14:21 szy Steps to Reproduce Updated
2012-03-22 06:22 abv Target Version 6.5.3 => 6.5.4
2012-10-23 18:51 abv Note Added: 0021910
2012-10-23 18:51 abv Status assigned => closed
2012-10-23 18:51 abv Resolution open => no change required
2012-10-23 18:52 abv Target Version 6.5.4 =>
2014-01-11 11:58 abv Category OCCT:Development Environment => OCCT:Configuration