View Full Version : compiz: libccs Failed Lookup erroe
SpmP
May 17th, 2007, 12:04 AM
Good Day,
I have never been able to get libccs to work with the new compiz. libbss worked (but loading orders were all wrong ...etc.).
I have been updateing daily, making clean and uninstall each time. But still no joy.
Using Debian Unstable on AMD64 this is what I get
[code:06d0e]
LIBGL_ALWAYS_INDIRECT=1 compiz --replace --indirect-rendering ccscompiz: dlsym: /usr/local/lib/libccs.so: undefined symbol: getCompPluginInfocompiz: Failed to lookup getCompPluginInfo in 'libccs.so' plugin
compiz: Couldn't load plugin 'ccs'
[/code:06d0e]
As per the libpng error thread:
[code:06d0e]
ldd /usr/local/lib/libccs.so
libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00002b20fadc6000)
libc.so.6 => /lib/libc.so.6 (0x00002b20fb004000)
libdl.so.2 => /lib/libdl.so.2 (0x00002b20fb356000)
libz.so.1 => /usr/lib/libz.so.1 (0x00002b20fb55a000)
libm.so.6 => /lib/libm.so.6 (0x00002b20fb670000)
/lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
[/code:06d0e]
I also ran ltrace, this had to be terminated as it hung for a while.
[code:06d0e]
LIBGL_ALWAYS_INDIRECT=1 ltrace compiz --replace --indirect-rendering ccs
[/code:06d0e]
The output can be found at:
http://pastebin.ca/486604
No Idea why this dosnt work. Compiz works with the plugins selected on command line, just not libccs.
TIA
Jasper
Jupiter
May 17th, 2007, 02:10 AM
you could try using Kristian's start script
viewtopic.php?f=12&t=206 (http://forums.opencompositing.org/viewtopic.php?f=12&t=206)
i put mine in /usr/bin and made it executable
instead of ccs-settings you can use ccsm
make sure you have ccs-lib, ccs-python, ccsm installed
execute "compiz-manager &"
it will create a local config file ~/.config/compiz-managerrc
which you edit for your preferred decorator "emerald"
and you can change the backend plugin from "ini" to "ccp"
[code:04a90]VERBOSE=no #### i changed it to "yes"
# Plugins
PLUGINS="ini" #### i changed this to "ccp" because i am using ccsm "like beryl-settings"
# Decorator
DECORATOR="heliodor" #### i changes this to "emerald"
DELAY="5" ##### i changed this to "1" because i can...LOL[/code:04a90]
then restart "compiz-manager &"
then start compcomm settings manager "ccsm &"
which is like the old beryl-settings
no solution yet for the libpng error
SpmP
May 17th, 2007, 04:22 AM
By Jupiter! Thank you.
I get the same problem with svg (no big deal to me atm)
[code:5a0fc] compiz: dlsym: /usr/lib/libsvg.so: undefined symbol: getCompPluginInfo
compiz: Failed to lookup getCompPluginInfo in 'libsvg.so' plugin
compiz: Couldn't load plugin 'svg' [/code:5a0fc] :mrgreen:
..but.. wheres all my beryl goodness gone 8(
I cant see where to get the mouse to do rotate on middle button and wheel on edges and desktop/emptyspace.
Also cant rotate around the cube anymore. Is this a victim of rational 'ui' thinking? but it was fun and locked the screen in a childproof way.
Skydome dosnt seem to work, I had always been told it needed 1024x1024 images.
With snow and rotate the screen goes a cool red....
oh so very unstable...
Still its easy for me to moan, for me in my coding ignorance, everything is possible, and easy.
beryl 0.2 is getting dodgy...
Oh and another thing, the compiz-manger script for some reason dosnt do the LIBGL_ALWAYS_INDIRECT=1 thing properly. weird.
Jasper
Kristian
May 18th, 2007, 08:50 PM
You probably haven't compiled the svg module. You want to pass --enable-librsvg to the compiz autogen.sh ...
Kristian
May 18th, 2007, 08:50 PM
Oh and another thing, the compiz-manger script for some reason dosnt do the LIBGL_ALWAYS_INDIRECT=1 thing properly.
Really?
Can you pass compiz-manager -vi output for me ?
SpmP
May 19th, 2007, 09:53 PM
Cheers Kristian,
with -i it seems to work. ille have a look at the logfile to see what went wrong.
On another note, I saw that the git repository has all changed and that the plugins are now all seperate. so saying I tried to write a muppet bash script to clone,update, build install etc.. but none of the pluginsd have configure or autogen, so i figure they need to take thier environment variables from somewhere else... Do your scripts now work with the new repo layout?
Alll i changed in the default compiz-managerrc was backend to ccp and decorator to emerald.
[code:7e052]# Values of 0 mean "true" (present), values of 1 means "false" (not present)
# Checks:
NVIDIA=1
FBCONFIG=0
XGL=1
TFP=0
NPOT=0
COMPOSITE=0
XDAMAGE=0
POSSIBLE=0
XSYNC=0
[/code:7e052]
imported_Tobey
May 22nd, 2007, 03:33 AM
Maybe u should install ccs-lib to /usr , not /usr/local
It worked for me on Ubuntu feisty.
Kristian
May 23rd, 2007, 03:34 AM
Maybe u should install ccs-lib to /usr , not /usr/local
It worked for me on Ubuntu feisty.
No no and NO.
Installing things from source into /usr is wrong. Google it for reasons. And looking at the error reveals that it is obviously not loading the right library (aka plugin) too.
Anyway, it works with -i because I forgot to store the result, so it would only work whenever you actually performed the TFP test. Updating to todays version and using -fi first to recreate the config (force config overwrite and ignore existing config).
As for the git thing, that belongs in another thread.
Have you managed to get the SVG plugin to work?
imported_Tobey
May 23rd, 2007, 07:02 AM
I guess you are right in some way, Kristian .
However, neither ccs-settings or ccsm could find libccs.so.0 if I install ccs-lin to /usr/local
, while /usr is OK.
And another problem, it seems after this morning´s update of ccs-lib, I cannnot launch compiz with ccp&, but gconf& still works.
Anybody have the same problem?
Jupiter
May 28th, 2007, 07:29 PM
I was able to get rid of the error "undefined symbol: getCompPluginInfo"
by disabling the "--as-needed" LDFLAG when compiling compiz
Can you guy's let me know if this helps you?
vBulletin® v3.7.1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.