Re: Problem running gui apps in Freebsd 4.8
pancake <[email protected]>
| Newsgroups | gmane.comp.gnu.dotgnu.developer |
|---|---|
| Message-ID | <[email protected]> |
> ports, I am the maintainer of the pnet suite on freebsd and > ln -s /usr/X11R6/lib/libXcursor.so.1 /usr/X11R6/lib/libXcursor.so.1.0 > isn't an option. I'm trying to figure out how to get pnet to call > libraries in > libX.X format instead of libX.X.X format. > michael brbrb, that's ugly, under fbsd you have the libmap... I think that it's only in current...true haha. Well I pack pnet for pkgsrc and take the same problem, but it's a compilation problem: Just adding -Wl,-R/usr/X11R6/lib flags to the linker this will no happend... But the main problem is that after that: [126:~/prg]$ cscc win.cs -winforms [0:~/prg]$ ilrun a.out /usr/pkg/lib/cscc/lib/libXsharpSupport.so: Undefined PLT symbol "FcPatternCreate" (symnum = 50) [1:~/prg]$ that's an internal problem with X11Libs...exactly in libXft...that's because we're looking first in /usr/X11R6/lib libraries and in second term the user libs /usr/pkg/lib... Well the simplest solution consists in building pnetlib without Xft2 support. Take a look: [0:/usr/pkgsrc/lang/pnetlib]# diff -u Makefile.orig Makefile --- Makefile.orig 2004-03-30 09:32:34.000000000 +0000 +++ Makefile 2004-03-30 09:32:28.000000000 +0000 @@ -5,12 +5,12 @@ USE_X11= yes -CONFIGURE_ARGS+= --enable-xft +#CONFIGURE_ARGS+= --enable-xft CONFIGURE_ARGS+= --with-x PLIST_SUBST+= WITH_X11= CONFLICTS= pnetlib-nox11-[0-9]* -.include "../../fonts/Xft2/buildlink3.mk" +#.include "../../fonts/Xft2/buildlink3.mk" .include "../../mk/bsd.pkg.mk" ===================== In ports I think that it will be something similar....Fonts wouldn't be so clear but all will work fine. pop