Re: [dev] OO SDK GLIBCXX_3.4.9 not found in Linux Ubuntu

2010-01-12 Thread Juergen Schmidt

On 1/12/10 7:00 PM, Fabio A. Miranda wrote:

Solved.

What I did was to copy my system's libstdc++.so.6 and put it inside OO
SDK lib dir as appropriated.

and It works. Kinda ugly but it worked


sounds really strange and shouldn't be necessary. I will check it on my own.

Juergen





On Mon, 2010-01-11 at 10:33 +0100, Stephan Bergmann wrote:

On 01/09/10 02:39, Fabio A. Miranda wrote:

Regarding Ubuntu 64 OO SDK, I am interested in resolve the issue so we
can provide "green light" to Ubuntu developer of OO addons.

The problem is the process of "add-on" creation do not finish correctly,
this is the error:

r...@catullus:~# uname -a
Linux catullus 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC
2009 x86_64 GNU/Linux
r...@catullus:~# /opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker
/opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker: 
/opt/openoffice.org/basis3.1/sdk/bin/../../ure-link/lib/libstdc++.so.6: version 
`GLIBCXX_3.4.9' not found (required by 
/opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker)
r...@catullus:~#


Are the packages of OOo itself (incl. file
/opt/openoffice.org/ure/lib/libstdc++.so.6) and the OOo SDK package
(/opt/openoffice.org/basis3.1/sdk) coming from the same source (either
both from your Ubuntu installation, or both from the OOo download site)?
   Looks like that is not the case (OOo itself coming from the OOo
download site, while SDK coming from Ubuntu?).  What should work for
you, then, is to remove all libstdc++* and libgcc_s* files from
/opt/openoffice.org/ure/lib, so that the---apparently more recent
ones---from the system are used instead.

-Stephan

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org





-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org




--
Sun Microsystems GmbHJuergen Schmidt
Nagelsweg 55 Technical Lead Programmability
20097 Hamburg, Germany

Registered Office: Sun Microsystems GmbH, Sonnenallee 1, D-85551 
Kirchheim-Heimstetten

Commercial register of the Local Court of Munich: HRB 161028
Managing Directors: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Chairman of the Supervisory Board: Martin Haering

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] OO SDK GLIBCXX_3.4.9 not found in Linux Ubuntu

2010-01-12 Thread Fabio A. Miranda
Solved.

What I did was to copy my system's libstdc++.so.6 and put it inside OO
SDK lib dir as appropriated.

and It works. Kinda ugly but it worked



On Mon, 2010-01-11 at 10:33 +0100, Stephan Bergmann wrote:
> On 01/09/10 02:39, Fabio A. Miranda wrote:
> > Regarding Ubuntu 64 OO SDK, I am interested in resolve the issue so we
> > can provide "green light" to Ubuntu developer of OO addons.
> > 
> > The problem is the process of "add-on" creation do not finish correctly,
> > this is the error:
> > 
> > r...@catullus:~# uname -a
> > Linux catullus 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC
> > 2009 x86_64 GNU/Linux
> > r...@catullus:~# /opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker 
> > /opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker: 
> > /opt/openoffice.org/basis3.1/sdk/bin/../../ure-link/lib/libstdc++.so.6: 
> > version `GLIBCXX_3.4.9' not found (required by 
> > /opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker)
> > r...@catullus:~# 
> 
> Are the packages of OOo itself (incl. file 
> /opt/openoffice.org/ure/lib/libstdc++.so.6) and the OOo SDK package 
> (/opt/openoffice.org/basis3.1/sdk) coming from the same source (either 
> both from your Ubuntu installation, or both from the OOo download site)? 
>   Looks like that is not the case (OOo itself coming from the OOo 
> download site, while SDK coming from Ubuntu?).  What should work for 
> you, then, is to remove all libstdc++* and libgcc_s* files from 
> /opt/openoffice.org/ure/lib, so that the---apparently more recent 
> ones---from the system are used instead.
> 
> -Stephan
> 
> -
> To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
> For additional commands, e-mail: dev-h...@openoffice.org
> 



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] OO SDK GLIBCXX_3.4.9 not found in Linux Ubuntu

2010-01-11 Thread Stephan Bergmann

On 01/11/10 16:32, Fabio A. Miranda wrote:

On Mon, Jan 11, 2010 at 10:33:08AM +0100, Stephan Bergmann wrote:
r...@catullus:~# /opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker 


/opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker: 
/opt/openoffice.org/basis3.1/sdk/bin/../../ure-link/lib/libstdc++.so.6:

   ^^^
version `GLIBCXX_3.4.9' not found (required by 
/opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker)
r...@catullus:~# 
Are the packages of OOo itself (incl. file  
/opt/openoffice.org/ure/lib/libstdc++.so.6) and the OOo SDK package  
(/opt/openoffice.org/basis3.1/sdk) coming from the same source (either  
both from your Ubuntu installation, or both from the OOo download site)?

(Obviously) both are from the download site? Ubuntu doesn't have OOo
installed in /opt, and neither does it ship a copy of libstdc++6.
 


Exactly.


Strange, then, how uno-skeletonmaker directly from the OOo site (what 
did you download exactly?) would depend on the GLIBCXX_3.4.9 version. 
What is the "Version needs section" of "readelf -V 
/opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker" and the "Version 
definition section" of "readelf -V 
/opt/openoffice.org/ure/lib/libstdc++.so.6", and what is the output of 
"ldd /opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker"?


-Stephan

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] OO SDK GLIBCXX_3.4.9 not found in Linux Ubuntu

2010-01-11 Thread Juergen Schmidt

On 1/11/10 4:32 PM, Fabio A. Miranda wrote:

hi,


On Mon, Jan 11, 2010 at 10:33:08AM +0100, Stephan Bergmann wrote:

r...@catullus:~# /opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker

 

/opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker:
/opt/openoffice.org/basis3.1/sdk/bin/../../ure-link/lib/libstdc++.so.6:

^^^

version `GLIBCXX_3.4.9' not found (required by
/opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker)
r...@catullus:~#


Are the packages of OOo itself (incl. file
/opt/openoffice.org/ure/lib/libstdc++.so.6) and the OOo SDK package
(/opt/openoffice.org/basis3.1/sdk) coming from the same source (either
both from your Ubuntu installation, or both from the OOo download site)?


(Obviously) both are from the download site? Ubuntu doesn't have OOo
installed in /opt, and neither does it ship a copy of libstdc++6.



Exactly. The reason is simple: Create an add-on in NB, and try to run it
with Ubuntu's default version of OO and see it if works.
i am not aware of critical changes or better differences in this area. 
If you have developed an extension with NB (which of course can be an 
Java extensions only) on Windows for example it should run on Ubuntu as 
well. When if find time i will try it out with a plain Ubuntu office in 
a VM.


Juergen

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] OO SDK GLIBCXX_3.4.9 not found in Linux Ubuntu

2010-01-11 Thread Fabio A. Miranda
hi,

> On Mon, Jan 11, 2010 at 10:33:08AM +0100, Stephan Bergmann wrote:
> >> r...@catullus:~# /opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker 
> 
> >> /opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker: 
> >> /opt/openoffice.org/basis3.1/sdk/bin/../../ure-link/lib/libstdc++.so.6:
>^^^
> >> version `GLIBCXX_3.4.9' not found (required by 
> >> /opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker)
> >> r...@catullus:~# 
> >
> > Are the packages of OOo itself (incl. file  
> > /opt/openoffice.org/ure/lib/libstdc++.so.6) and the OOo SDK package  
> > (/opt/openoffice.org/basis3.1/sdk) coming from the same source (either  
> > both from your Ubuntu installation, or both from the OOo download site)?
> 
> (Obviously) both are from the download site? Ubuntu doesn't have OOo
> installed in /opt, and neither does it ship a copy of libstdc++6.
>  

Exactly. The reason is simple: Create an add-on in NB, and try to run it
with Ubuntu's default version of OO and see it if works.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] OO SDK GLIBCXX_3.4.9 not found in Linux Ubuntu

2010-01-11 Thread Rene Engelhard
Hi,

On Mon, Jan 11, 2010 at 10:33:08AM +0100, Stephan Bergmann wrote:
>> r...@catullus:~# /opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker 

>> /opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker: 
>> /opt/openoffice.org/basis3.1/sdk/bin/../../ure-link/lib/libstdc++.so.6:
   ^^^
>> version `GLIBCXX_3.4.9' not found (required by 
>> /opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker)
>> r...@catullus:~# 
>
> Are the packages of OOo itself (incl. file  
> /opt/openoffice.org/ure/lib/libstdc++.so.6) and the OOo SDK package  
> (/opt/openoffice.org/basis3.1/sdk) coming from the same source (either  
> both from your Ubuntu installation, or both from the OOo download site)?

(Obviously) both are from the download site? Ubuntu doesn't have OOo
installed in /opt, and neither does it ship a copy of libstdc++6.
  
Grüße/Regards,

Rene

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] OO SDK GLIBCXX_3.4.9 not found in Linux Ubuntu

2010-01-11 Thread Stephan Bergmann

On 01/09/10 02:39, Fabio A. Miranda wrote:

Regarding Ubuntu 64 OO SDK, I am interested in resolve the issue so we
can provide "green light" to Ubuntu developer of OO addons.

The problem is the process of "add-on" creation do not finish correctly,
this is the error:

r...@catullus:~# uname -a
Linux catullus 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC
2009 x86_64 GNU/Linux
r...@catullus:~# /opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker 
/opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker: /opt/openoffice.org/basis3.1/sdk/bin/../../ure-link/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker)
r...@catullus:~# 


Are the packages of OOo itself (incl. file 
/opt/openoffice.org/ure/lib/libstdc++.so.6) and the OOo SDK package 
(/opt/openoffice.org/basis3.1/sdk) coming from the same source (either 
both from your Ubuntu installation, or both from the OOo download site)? 
 Looks like that is not the case (OOo itself coming from the OOo 
download site, while SDK coming from Ubuntu?).  What should work for 
you, then, is to remove all libstdc++* and libgcc_s* files from 
/opt/openoffice.org/ure/lib, so that the---apparently more recent 
ones---from the system are used instead.


-Stephan

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



Re: [dev] OO SDK GLIBCXX_3.4.9 not found in Linux Ubuntu

2010-01-11 Thread Steffen Grund

Hello Fabio,

well, the problem you describe happens at project creation, long before 
you are able to debug. I am puzzled by this. In your first post, AFAIR 
you got past the compilation state. Did you change anything?


Regards, Steffen

Fabio A. Miranda wrote:

Hello OO Developers:

Regarding Ubuntu 64 OO SDK, I am interested in resolve the issue so we
can provide "green light" to Ubuntu developer of OO addons.

The problem is the process of "add-on" creation do not finish correctly,
this is the error:

r...@catullus:~# uname -a
Linux catullus 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC
2009 x86_64 GNU/Linux
r...@catullus:~# /opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker 
/opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker: /opt/openoffice.org/basis3.1/sdk/bin/../../ure-link/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by /opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker)
r...@catullus:~# 


This prevent the debugging to take place, anyone know how to solve
this ?

r...@catullus:~# dpkg --get-selections|grep libstd
libstdc++5  install
libstdc++6  install
libstdc++6-4.1-dev  install
libstdc++6-4.4-dev  install
r...@catullus:~# 


thanks in advance,

fabio.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org





-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org



[dev] OO SDK GLIBCXX_3.4.9 not found in Linux Ubuntu

2010-01-08 Thread Fabio A. Miranda
Hello OO Developers:

Regarding Ubuntu 64 OO SDK, I am interested in resolve the issue so we
can provide "green light" to Ubuntu developer of OO addons.

The problem is the process of "add-on" creation do not finish correctly,
this is the error:

r...@catullus:~# uname -a
Linux catullus 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC
2009 x86_64 GNU/Linux
r...@catullus:~# /opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker 
/opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker: 
/opt/openoffice.org/basis3.1/sdk/bin/../../ure-link/lib/libstdc++.so.6: version 
`GLIBCXX_3.4.9' not found (required by 
/opt/openoffice.org/basis3.1/sdk/bin/uno-skeletonmaker)
r...@catullus:~# 

This prevent the debugging to take place, anyone know how to solve
this ?

r...@catullus:~# dpkg --get-selections|grep libstd
libstdc++5  install
libstdc++6  install
libstdc++6-4.1-dev  install
libstdc++6-4.4-dev  install
r...@catullus:~# 

thanks in advance,

fabio.



-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org