[Typelib] Wrong link to libboost_regex

Hi,

I have Ubuntu 11.10 and this morning I moved from boost 1.46.1 (standard
package) to 1.48 (manually installed).
It causes Orogen building to fail because the libboost_regex.1.48.0.so was
not found.
Actually, the 'ldd typelib_ruby.so' was indicating that this library was
'not found' whereas other boost libraries where correctly linked.

I modified the typelib CMake logic to link typelib targets towards
Boost_REGEX.

Works for my boost 1.48.0 local install, but I have not tried back with
1.46.1 system install.

Patch attached.

Charles.

AttachmentSize
0001-Fix-link-to-boost_regex-library.patch2.16 KB

[Typelib] Wrong link to libboost_regex

On Wed, Apr 11, 2012 at 12:37 PM, Charles Lesire-Cabaniols <
charles [dot] lesire [..] ...> wrote:

> Hi,
>
> I have Ubuntu 11.10 and this morning I moved from boost 1.46.1 (standard
> package) to 1.48 (manually installed).
> It causes Orogen building to fail because the libboost_regex.1.48.0.sowas not found.
> Actually, the 'ldd typelib_ruby.so' was indicating that this library was
> 'not found' whereas other boost libraries where correctly linked.
>
> I modified the typelib CMake logic to link typelib targets towards
> Boost_REGEX.
>
> Works for my boost 1.48.0 local install, but I have not tried back with
> 1.46.1 system install.
>
> Patch attached.

Thanks. Is this patch for rock ? Since it doesn't apply on the orocos
toolchain typelib package.

Peter

[Typelib] Wrong link to libboost_regex

2012/5/10 Peter Soetens <peter [..] ...>

> On Wed, Apr 11, 2012 at 12:37 PM, Charles Lesire-Cabaniols <
> charles [dot] lesire [..] ...> wrote:
>
>> Hi,
>>
>> I have Ubuntu 11.10 and this morning I moved from boost 1.46.1 (standard
>> package) to 1.48 (manually installed).
>> It causes Orogen building to fail because the libboost_regex.1.48.0.sowas not found.
>> Actually, the 'ldd typelib_ruby.so' was indicating that this library was
>> 'not found' whereas other boost libraries where correctly linked.
>>
>> I modified the typelib CMake logic to link typelib targets towards
>> Boost_REGEX.
>>
>> Works for my boost 1.48.0 local install, but I have not tried back with
>> 1.46.1 system install.
>>
>> Patch attached.
>
>
> Thanks. Is this patch for rock ? Since it doesn't apply on the orocos
> toolchain typelib package.
>

I do not use Rock. I have autoproj'ed the Orocos toolchain, and I am on
master. That's where I get the patch from...

> Peter
>
>