[rrd-users] solaris8 compilation problem

Yannick Mercier yanmercier at gmail.com
Wed Jan 24 23:19:36 CET 2007

Hi users,
after compiling / installing libpng, libart and freetype2 under /opt
I set my LD_LIBRARY_PATH, LDFLAGS and CPPFLAGS accordingly and ./configure

the configure succeed
the make returns this error :

/bin/bash ../libtool --tag=CC --mode=link gcc  -g -O2 -fno-strict-aliasing
-Wall -std=gnu99 -pedantic -Wshadow -Wpointer-arith -Wcast-align
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -W
-fPIC -DPIC  -L /opt/freetype/lib -L /opt/libpng/lib -L /opt/libart/lib -o
rrdtool   librrd.la
gcc -g -O2 -fno-strict-aliasing -Wall -std=gnu99 -pedantic -Wshadow
-Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
-Wnested-externs -Winline -W -fPIC -DPIC /opt/freetype/lib /opt/libpng/lib
/opt/libart/lib -o .libs/rrdtool
-L/export/home/ymercier/BigBrother/rrdtool- 1.2.17/src ./.libs/librrd.so
/opt/freetype/lib/libfreetype.so /opt/libpng/lib/libpng12.so -lz
/opt/libart/lib/libart_lgpl_2.so -lm -R/opt/rrdtool/lib -R/opt/freetype/lib
-R/opt/libpng/lib -R/opt/libart/lib
ld: fatal: file /opt/freetype/lib: unknown file type
ld: fatal: File processing errors. No output written to .libs/rrdtool
collect2: ld returned 1 exit status
make[2]: *** [rrdtool] Error 1
make[2]: Leaving directory `/export/home/ymercier/BigBrother/rrdtool-1.2.17/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/ymercier/BigBrother/rrdtool-1.2.17'
make: *** [all] Error 2

it looks to me like these parameters " /opt/freetype/lib /opt/libpng/lib
/opt/libart/lib " passed to gcc
should not be there, but im not sure

I would appreciate any insights
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20070124/c366f4d5/attachment.htm 

More information about the rrd-users mailing list