*****SPAM***** freeBSD-Port: libgdiplus - Installation Problem

Dipl.-Ing. Harald Langner development at langner.net
Sat Apr 28 14:46:29 UTC 2012


Hello,
i hope I can contact you this way:
I get problems to run mono, because libgdiplus has not been installed 
with mono.

So I try to install it by myself. But the freeBSD-port have a "conflict" 
and installation does not work.

The error is (after some compilation lines):

libtool: link: cc -D_THREAD_SAFE -O2 -pipe -fno-strict-aliasing -pthread 
-o .libs/testgdi testgdi.o -L/usr/local/lib ../src/.libs/libgdiplus.so 
/usr/local/lib/libglib-2.0.so -licui18n /usr/local/lib/libpcre.so 
/usr/local/lib/libcairo.so /usr/local/lib/libpixman-1.so 
/usr/local/lib/libxcb-shm.so /usr/local/lib/libxcb-render.so -lGL 
/usr/local/lib/libXrender.so /usr/local/lib/libX11.so 
/usr/local/lib/libxcb.so /usr/local/lib/libXau.so 
/usr/local/lib/libXdmcp.so /usr/local/lib/libpthread-stubs.so -lrpcsvc 
/usr/local/lib/libtiff.so -llzma -ljbig /usr/local/lib/libjpeg.so 
/usr/local/lib/libungif.so -lpng /usr/local/lib/libexif.so 
/usr/local/lib/libintl.so /usr/local/lib/libiconv.so -lm 
/usr/local/lib/libfontconfig.so /usr/local/lib/libfreetype.so -lz -lbz2 
/usr/local/lib/libexpat.so -pthread -Wl,-rpath -Wl,/usr/local/lib 
/usr/bin/ld: warning: libbz2.so.4, needed by 
/usr/local/lib/libfreetype.so, may conflict with libbz2.so.1
testgdi.o(.text+0x29): In function `win_draw':
: undefined reference to `GdipCreateFromXDrawable_linux'
gmake[2]: *** [testgdi] Fehler 1
gmake[2]: Leaving directory 
`/usr/ports/x11-toolkits/libgdiplus/work/libgdiplus-2.10/tests'
gmake[1]: *** [all-recursive] Fehler 1
gmake[1]: Leaving directory 
`/usr/ports/x11-toolkits/libgdiplus/work/libgdiplus-2.10'
gmake: *** [all] Fehler 2
*** Error code 1

Stop in /usr/ports/x11-toolkits/libgdiplus.


Because I do not program under Unix/Linux I don't know what to do with 
this linker conflict:
/" libbz2.so.4, needed by /usr/local/lib/libfreetype.so, may conflict 
with libbz2.so.1"/
But maybe I am totally wrong and this is not the problem - I don't know 
- but on this lines the port stop.

For freetype - here the list of installed packages which require it (so 
I should not delete or uninstall it)

#pkg_info -R freetype2-2.4.9_1

Information for freetype2-2.4.9_1:

Required by:
TkTopNetFlows-0.4_5
argus-monitor-20100109_2
bandwidthd-2.0.1_4
bdftopcf-1.0.3
bitstream-vera-1.10_5
blt-2.4z_7
cairo-1.10.2_3,1
cm-super-0.3.4_3
cvsgraph-1.7.0_3
docproj-jadetex-1.17_4
dvipdfmx-20100328
dvipsk-tetex-5.95a_5
font-bh-ttf-1.0.3
font-misc-ethiopic-1.0.3
font-misc-meltho-1.0.3
fontconfig-2.8.0_2,1
freetype-tools-1.3.1_8
gd-2.0.35_7,1
ghostscript9-nox11-9.05_3
jadetex-3.13_7
latex-cjk-4.8.2_5
libXfont-1.4.4_1,1
libXft-2.1.14
mkfontdir-1.0.6
mkfontscale-1.0.9
p5-GD-2.46
pango-1.28.4
pecl-pdflib-2.1.8_1
peps-2.0_4
php5-extensions-1.6    ***
php5-gd-5.3.10_1
phpMyAdmin-3.5.0
scr2png-1.2_4
teTeX-3.0_5
teTeX-base-3.0_22
tk-8.5.11
tktable-2.10_1
ttf2pt1-3.4.4_2
xorg-fonts-truetype-7.5.1
xorg-libraries-7.5.1
zh-docproj-0.1.20060303_5
zh-ttf2pt1-3.4.0
--------------------------------------------
And libbz2 is here installed:

#locate libbz2
/usr/lib/libbz2.a
/usr/lib/libbz2.so
/usr/lib/libbz2.so.4
/usr/local/lib/compat/libbz2.so.3
/usr/local/lib/libbz2.a
/usr/local/lib/libbz2.so
/usr/local/lib/libbz2.so.1
/usr/local/lib32/compat/libbz2.so.3
/usr/src...


How can I get this problem away so that libgdiplus is installed?
Why is /libbz2.so.1 /in conflict with /libbz2.so.4/ ? Should not 
/libbz2.so.4 /have the same functions like /libbz2.so.1/ or more but not 
less?
Is there something wrong with the port? How can I fix that?

Thank You very much for Your time to give me an answer. If You need more 
information, I can give it to You.

Harald

-- 
*________________________________________*
**Dipl.-Ing. Harald Langner
(069) 383 575
+49 (0)179 / 617 90 80
mailto:development at langner.net [Entwicklung]
<mailto:pr at langner.net>http://www.swdevil.de <http://www.swdevil.de/>
Address: 20, On the Beun
          65933 Frankfurt at Main, (HE)
          EUROPE (Germany)


More information about the freebsd-mono mailing list