Hello Paul,
This may be due to LDFLAGS, try to remove the -Wl,--as-needed flag.
You do not have to rebuild everything,
rm adm/make/*/lib*.la
make && make install
should work.
Denis
... or maybe not ;)
I just have a look, and it seems that we had to patch TKNIS in Debian
to add this dependency on openGL:
http://git.debian.org/?p=debian-science/packages/opencascade.git;a=blob;f=debian/patches/dep-libs.patch;h=4aec259;hb=492a884
Unfortunately this patch won't apply as is because it depends on other patches.
Denis
Hello,
This issue is different, it seems that your installation mostly works,
IMO this is a pythonocc issue.
Upstream OpenCASCADE requires that one sets the CASROOT environment
variable, and maybe also a bunch of other variables, in order to use
those libs. The Debian package has been modified to install files in
more standard locations, and does not need any environment variables.
Your issue looks very similar to
http://code.google.com/p/pythonocc/issues/detail?id=17
You can edit /usr/lib/python2.7/site-packages/OCC/Display/OCCViewer.py
and comment lines 72-73 so that set_CSF_GraphicShr is not called.
There is another occurrence of CSF_GraphicShr in wxDisplay.py, you may
also need to edit this file. Does everything work fine with these
changes?
Denis