Hi Alan,
Alan Coopersmith wrote:
> Are you sure it's the compiz binary and not one of the libraries it
> depends on?
Actually no :)
I just investigated further with LD_DEBUG=files
It gives :
00846: file=libgcc_s.so.1; needed by /usr/X11/lib/libGL.so
00846: file=/usr/sfw/lib/libgcc_s.so.1 [ ELF ]; generating link map
00846: dynamic: 0xce627164 base: 0xce610000
00846: size: 0x18000 entry: 0xce610000
00846: lmid: BASE lmco: 0x10
and
00846: file=libgcc_s.so.1; needed by /usr/X11/lib/X11/xserver/libdrm.so.2
00846:
00846: file=/usr/sfw/lib/libgcc_s.so.1; analyzing [ RTLD_LAZY
RTLD_GLOBAL RTLD_WORLD RTLD_NODELETE ]
00846:
00846: file=libc.so.1; needed by /usr/sfw/lib/libgcc_s.so.1
So the X libraries are dependent on libgcc not compiz directly.
> On my 2008.05-upgraded-to-nv90 system, elfdump -d shows
> no libgcc_s.so.1 in compiz-bin's list of dependencies.
>
> ldd -v compiz_bin would show what dependency is bringing it in - I'll
> bet those seeing it are running on non-nvidia systems, and getting the
> gcc compiled version of Mesa's libGL.
>
> "elfdump -d /usr/X11/lib/mesa/libGL.so.1" does show the libgcc_s.so.1
> dependency.
>
> But I'm actually surprised compiz was the first thing you lost, considering
> the Xorg server itself is compiled with gcc, and many of its modules require
> libgcc_s.so.1.
>
Is there any plan to switch to studio ?
Should close the bug I logged ?
Thanks,
Erwann
> -alan-
>
> Erwann Chenede wrote:
>
>> Hi Gilles,
>>
>> I don't see the dependency you are referring to earlier
>> (libgcc_s.so.1) in the ldd output below.
>> But I see this problem on my various OS 2008.05 install. It looks
>> like a build issue to me.
>> I've logged a bug to track it.
>> http://defect.opensolaris.org/bz/show_bug.cgi?id=2182
>>
>> Thanks,
>>
>> Erwann
>>
>>
>>
>> Gilles Gravier wrote:
>>
>>> Erwan,
>>>
>>> I'm using the one that comes with opensolaris...
>>>
>>> [EMAIL PROTECTED]:~$ which compiz
>>> /usr/bin/compiz
>>> [EMAIL PROTECTED]:~$ ldd /usr/bin/compiz
>>> ldd: /usr/bin/compiz: unsupported or unknown file type
>>> [EMAIL PROTECTED]:~$ ldd /usr/bin/compiz-bin
>>> libX11.so => /usr/X11/lib/libX11.so
>>> libXext.so.0 => /usr/X11/lib/libXext.so.0
>>> libXcomposite.so.1 => /usr/X11/lib/libXcomposite.so.1
>>> libXdamage.so.1 => /usr/X11/lib/libXdamage.so.1
>>> libXfixes.so.1 => /usr/X11/lib/libXfixes.so.1
>>> libXrandr.so.2 => /usr/X11/lib/libXrandr.so.2
>>> libXinerama.so.1 => /usr/X11/lib/libXinerama.so.1
>>> libSM.so.6 => /usr/X11/lib/libSM.so.6
>>> libICE.so.6 => /usr/X11/lib/libICE.so.6
>>> libxslt.so.1 => /usr/lib/libxslt.so.1
>>> libz.so.1 => /lib/libz.so.1
>>> libpthread.so.1 => /lib/libpthread.so.1
>>> libsocket.so.1 => /lib/libsocket.so.1
>>> libnsl.so.1 => /lib/libnsl.so.1
>>> libxml2.so.2 => /lib/libxml2.so.2
>>> libstartup-notification-1.so.0 =>
>>> /usr/lib/libstartup-notification-1.so.0
>>> libGL.so => /usr/X11/lib/libGL.so
>>> libm.so.2 => /lib/libm.so.2
>>> libc.so.1 => /lib/libc.so.1
>>> libXau.so.6 => /usr/X11/lib/libXau.so.6
>>> libXrender.so.1 => /usr/X11/lib/libXrender.so.1
>>> libmp.so.2 => /lib/libmp.so.2
>>> libmd.so.1 => /lib/libmd.so.1
>>> libscf.so.1 => /lib/libscf.so.1
>>> libGLcore.so.1 => /usr/lib/libGLcore.so.1
>>> libnvidia-tls.so.1 => /usr/lib/libnvidia-tls.so.1
>>> librt.so.1 => /lib/librt.so.1
>>> libuutil.so.1 => /lib/libuutil.so.1
>>> libgen.so.1 => /lib/libgen.so.1
>>> libXevie.so.1 => /usr/X11/lib/libXevie.so.1
>>> libXss.so.1 => /usr/X11/lib/libXss.so.1
>>> [EMAIL PROTECTED]:~$
>>>
>>>
>>> Gilles.
>>>
>>> Erwann Chenede wrote:
>>>
>>>> Hi Gilles,
>>>>
>>>> Gilles Gravier wrote:
>>>>
>>>>
>>>>> OK. I found my COMPIZ back.
>>>>>
>>>>> Now... the reason I had LOST it is strange. Not wanting GCC (since I
>>>>> installed sunstudioexpress packages) I removed SUNWgcc but also
>>>>> SUNWgccruntime...
>>>>>
>>>>> Big mistake.
>>>>>
>>>>> COMPIZ is build to link to libstdc++.so.6 ... which is part of
>>>>> SUNWgccruntime.
>>>>>
>>>>>
>>>> Hmmm, which version are you using (your own, from my blog, from
>>>> Opensolaris distro) ?
>>>> Can you send me an ldd showing the dependencies.
>>>>
>>>>
>>>>> When I manually launched compiz from a terminal and found it was not
>>>>> finding that lib... I had a hunch. Reinstalled SUNWgccruntime, and
>>>>> my COMPIZ was fixed.
>>>>>
>>>>> So...
>>>>>
>>>>> 1) Don't remove SUNWgccruntime
>>>>> 2) Why isn't COMPIZ built with Studio? :)
>>>>>
>>>>>
>>>> All my version are.... This is very strange.
>>>>
>>>> Erwann
>>>>
>>>>
>>>>
>>>>> Gilles.
>>>>>
>>>>> Gilles Gravier wrote:
>>>>>
>>>>>
>>>>>> Hi!
>>>>>>
>>>>>> Just upgraded 2008.05 to 2008.11 ... Update went very well...
>>>>>> really... but now, when I enable visual effects, I don't have a
>>>>>> window manager anymore. I have to get back to Visual Effects ->
>>>>>> None to get a proper window manager...
>>>>>>
>>>>>> Any idea?
>>>>>>
>>>>>> Cheers,
>>>>>> Gilles.
>>>>>> --
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> indiana-discuss mailing list
>>>>>> [email protected]
>>>>>> http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
>>>>>>
>>>>>>
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> indiana-discuss mailing list
>>>>> [email protected]
>>>>> http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
>>>>>
>>>>>
>>>>
>>>>
>>
>
>
--
Erwann Chénedé,
Desktop Group, Sun Microsystems, Grenoble
Phone : +33 476 188 358 ext: 38358
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss