Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Apr 2012 20:41:21 +0200
From:      Romain =?iso-8859-1?Q?Tarti=E8re?= <romain@blogreen.org>
To:        "Dipl.-Ing. Harald Langner" <development@langner.net>
Cc:        tmclaugh@sdf.lonestar.org, mono@FreeBSD.org
Subject:   Re: *****SPAM***** freeBSD-Port: libgdiplus - Installation Problem
Message-ID:  <20120428184121.GB71168@blogreen.org>
In-Reply-To: <4F9C01EE.1050805@langner.net>
References:  <4F9C01EE.1050805@langner.net>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi

On Sat, Apr 28, 2012 at 04:42:54PM +0200, Dipl.-Ing. Harald Langner wrote:
> /usr/bin/ld: warning: libbz2.so.4, needed by 
> /usr/local/lib/libfreetype.so, may conflict with libbz2.so.1

This message appears when the linker is linking objects against
libbz2.so.4 and libfreetype.so, while libfreetype.so itself is linked
against libbz2.so.1.  The resulting application might or might not work,
and you can run in weird failures depending on the order ld(1) will load
the libraries at run-time.

The fix is as simple as rebuilding any port with binaries linked against
old libraries.  You can use pkg_libchk(1) from sysutils/bsdadminscripts
to detect ports which would require an update.

> testgdi.o(.text+0x29): In function `win_draw':
> : undefined reference to `GdipCreateFromXDrawable_linux'

This function is part of x11-toolkits/libgdiplus itself.  It is defined
in src/graphics.c, and surounded by a lot of #ifdef CAIRO_XXX stuff.
There is a PR I had not the time to review so far that's about this port
and cairo: ports/167087

Can you please give this a try:
  - Update libgdiplus' Makefile according to the patch on this page:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/167087
  - make clean
  - make install
  - Tell me if it solved your issue.

Thanks!

-- 
Romain Tartière <romain@blogreen.org>        http://romain.blogreen.org/
pgp: 8234 9A78 E7C0 B807 0B59  80FF BA4D 1D95 5112 336F (ID: 0x5112336F)
(plain text =non-HTML= PGP/GPG encrypted/signed e-mail much appreciated)

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iQGcBAEBAgAGBQJPnDnPAAoJELpNHZVREjNvHwwL/3G3To2fssHXz39A/wg02S6F
LlXRG18XkwtGZt7EBYe8grnCf/gQ8g+nA7txJErKjuHXbf0kV7hxdfbD/hVrzE29
1Nzh4yoAkOl/HB3lPdL4ctbyShtjrbQmHgYZcLBhZw58FqqgOqcQWM77QwSwyS77
0ttNGQLNxr+e9bycrgtFXcMxgr/denxA+7Tg06gMgz1IrTKXygeptfhGGM4P8dJi
IcDOR6mIpabqpFFHm4F36cgCLwoHELWczv8dt+5iey2k+lCpPGCHPHI9BiIWEaf3
s0ynZFC5YrhhcsMXAAGXMA6J25x5BJrOB62W7WMjuQUfLgperPmwuSOpD/ObyjCR
vWzx1gitOct3dUhMSwfMwKkmXh9jZfVyA6zWwT40XTJ9W5yctKBxaCUM3pzfMfme
4aJ/iror44N5dzXEoSsF7AvEuppAxfB2mhFrM+ZjaQ3/aaeneudcRci/QoB/SI1F
Cz+jx9AQRAT+B9Dv8Xhg0FZD0XuBuopCmlYLZoSqNg==
=/shH
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120428184121.GB71168>