Re: Problem running gui apps in Freebsd 4.8

Michael Johnson <[email protected]>
Newsgroups gmane.comp.gnu.dotgnu.developer
Message-ID <[email protected]>
On Mar 28, 2004, at 5:11 PM, pancake wrote:

> export LD_LIBRARY_PATH=/usr/X11R6/lib/
>
> try that.
>
> Are you using ports or pkgsrc?
>
> I think that X support on dotgnu doesn't works on *BSD :/
>
>
X support does work, and very well on FreeBSD
I've gotten gtk-sharp and qt-sharp to work with pnet on freebsd

qtsharp (http://www.freebsd.org/cgi/query-pr.cgi?pr=64686) and   
Mahjongg (http://www.freebsd.org/cgi/query-pr.cgi?pr=64687)
from pnet work with out doing `ln -s /usr/X11R6/lib/libXcursor.so.1  
/usr/X11R6/lib/libXcursor.so.1.0`

it is things like dotgnu-nim that I can't get to run with out
doing `ln -s /usr/X11R6/lib/libXcursor.so.1  
/usr/X11R6/lib/libXcursor.so.1.0`

when I don't do  `ln -s /usr/X11R6/lib/libXcursor.so.1  
/usr/X11R6/lib/libXcursor.so.1.0`
I get the following error.

ahze:/usr/local/bin root$ ilrun nim.exe
Uncaught exception: System.EntryPointNotFoundException: Entry point was  
not found
         at Xsharp.Font.CreateFont(String, Int32, FontStyle) in  
./Font.cs:304
         at Xsharp.Font.CreateFont(String) in ./Font.cs:335
         at Xsharp.Font.CreateFromXLFD(String) in ./Font.cs:376
         at Xsharp.Application..ctor(String, String[]) in  
./Application.cs:254
         at System.Drawing.Toolkit.DrawingToolkit..ctor() in  
./DrawingToolkit.cs:52
<<---SNIP-->>

FreeBSD ignores minor version and pnet calls for the minor version so  
it will not run, please see
   
http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/ 
policies-shlib.html

michael
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.