[vtk-developers] FW: Problem building recent versions of VTK on FreeBSD
Mathieu Malaterre
mathieu.malaterre at gmail.com
Mon Aug 17 03:31:55 EDT 2009
On Fri, Aug 14, 2009 at 5:33 PM, Pedro F. Giffuni<giffunip at tutopia.com> wrote:
>
>
>
>
> ----- Messaggio originale -----
>
>>
>> On Fri, Aug 14, 2009 at 3:58 AM, Pedro F. Giffuniwrote:
>> > While here, we do have an issue with vtk shared libraries in x.y notation
>> > e. g. libvtkGraphicsTCL.so.5.4
>> > I wish there were an easy way to avoid the minor number as we don't use that
>> in FreeBSD.
>>
>> How do you do ABI compat on FreeBSD. What is the output of ls -al
>> /usr/lib/libGL.so*
>>
>
> We only use the major:
>
> %ls -al /usr/local/lib/libGL.so*
> lrwxr-xr-x 1 root wheel 10 Dec 21 2008 /usr/local/lib/libGL.so -> libGL.so.1
> -r-xr-xr-x 1 root wheel 498136 Dec 21 2008 /usr/local/lib/libGL.so.1
>
>
>
>
But VTK is doing ABI change based on the minor version...
Anyway just change:
# Append the library version information to the library target
# properties. A parent project may set its own properties and/or may
# block this.
IF(NOT VTK_NO_LIBRARY_VERSION)
SET(VTK_LIBRARY_PROPERTIES ${VTK_LIBRARY_PROPERTIES}
VERSION "${VTK_VERSION}"
SOVERSION "${VTK_MAJOR_VERSION}.${VTK_MINOR_VERSION}"
)
ENDIF(NOT VTK_NO_LIBRARY_VERSION)
into something like:
# Append the library version information to the library target
# properties. A parent project may set its own properties and/or may
# block this.
IF(NOT VTK_NO_LIBRARY_VERSION)
SET(VTK_LIBRARY_PROPERTIES ${VTK_LIBRARY_PROPERTIES}
VERSION "${VTK_VERSION}"
SOVERSION "${VTK_MAJOR_VERSION}"
)
ENDIF(NOT VTK_NO_LIBRARY_VERSION)
2cts
--
Mathieu
More information about the vtk-developers
mailing list