[csw-maintainers] linking against rrdtool fails

Daniel Pocock daniel at opencsw.org
Thu Sep 3 12:56:31 CEST 2009


Daniel Pocock wrote:
> Dagobert Michelsen wrote:
>> Hi Daniel,
>>
>> Am 03.09.2009 um 12:36 schrieb Daniel Pocock:
>>
>>> Dagobert Michelsen wrote:
>>>> Hi Daniel,
>>>>
>>>> Am 03.09.2009 um 12:08 schrieb Daniel Pocock:
>>>>> This is a relatively fresh install of OpenCSW, so I'm guessing 
>>>>> that the CSWrrd package hasn't dragged in all it's dependencies:
>>>>>
>>>>> configure:19101: checking for rrd_create in -lrrd
>>>>> configure:19131: /opt/studio/SOS11/SUNWspro/bin/cc -o conftest 
>>>>> -xO3 -xarch=386 -
>>>>> I/opt/csw/include -I/opt/csw/include -xarch=386 -L/opt/csw/lib 
>>>>> conftest.c -lrrd
>>>>> -lm -lpthread  >&5
>>>>> Undefined                       first referenced
>>>>> symbol                             in file
>>>>> cairo_svg_surface_restrict_to_version /opt/csw/lib/librrd.so
>>>>> cairo_svg_surface_create            /opt/csw/lib/librrd.so
>>>>> cairo_svg_surface_create_for_stream /opt/csw/lib/librrd.so
>>>>> ld: fatal: Symbol referencing errors. No output written to conftest
>>>>
>>>> There were issues with circular dependencies which have been fixed
>>>> recently with SVG support. Please try if libcairo from testing
>>>> solves you problem. This would also help John who did the
>>>> repackage to release it.
>>>>
>>> How do I get it from testing?  When I look at the mirrors, I just 
>>> see stable, current and unstable
>>
>> Ah, ok, from here:
>>   <http://mirror.opencsw.org/testing.html>
>> Commandlines for pkg-get and pkgutil are also described there.
>> It is btw also available from the farm as /home/testing/
>>
>
> Thanks, I had been looking at http://www.opencsw.org/mirrors which 
> mentions testing but doesn't link to that other page.

I did
  pkgutil -t ... -i CSWrrd

and now things like ggrep are broken.  It says libiconv is not found, 
but I can see it in the right place.

Do other issues exist in testing?  Do I need to update all my packages 
from testing now?

-bash-3.00# ldd /opt/csw/bin/ggrep
        libintl.so.8 =>  /opt/csw/lib/pentium_pro/libintl.so.8
        libpcre.so.0 =>  /opt/csw/lib/i386/libpcre.so.0
        libc.so.1 =>     /lib/libc.so.1
        libiconv.so.2 =>         (file not found)
        libncurses.so.5 =>       /opt/csw/lib/pentium_pro/libncurses.so.5
        libm.so.2 =>     /lib/libm.so.2
-bash-3.00# ls -l | grep iconv
lrwxrwxrwx   1 root     root          17 Sep  3 11:46 libiconv.so -> 
libiconv.so.2.5.0
lrwxrwxrwx   1 root     root          17 Sep  3 11:46 libiconv.so.2 -> 
libiconv.so.2.5.0
-rwxr-xr-x   1 root     bin       961948 Jul 31 10:18 libiconv.so.2.5.0
-rw-r--r--   1 root     bin       960320 Jul 31 10:18 
preloadable_libiconv.so




More information about the maintainers mailing list