Compiling test application (Notepad) with winelib - executeable segfaults

Vitaliy Margolen wine-devel at
Sun Jan 1 15:21:53 CST 2006

Sunday, January 1, 2006, 2:22:05 PM, Richard Wild wrote:
> Hi all,

> I was trying to compile the test application (Notepad) with winelib to 
> get a feel for how to use it.  I followed the instructions in your docs,
> but ended up with a target file  The instructions imply
> that I should end up with an executable called notepad2, since they tell
> me to run it.

> If I run the .so file it segfaults, so I assume it really is a shared 
> library and not just an executable with a funny name.

> I want to understand what I've done wrong here, because if I can't get 
> this right I certainly won't be able to port anything complicated.  I'm
> sorry if this has been asked often before, but I couldn't find an easy 
> way of searching the mailing list.

> I am using WINE-0.9.4 built by Adam Schreiber for Slackware 10.2.

> Regards,
> Rich.

> P.S. Here is my output (so you can see exactly what I did):


> rich at radhagovinda:/usr/local/src/wine-0.9.4/programs/notepad2$
> ./
> Segmentation fault

No winelib application is not a standalone as you would think. You need
to run it in the same way as all the rest exe files: 'wine notepad2'.


More information about the wine-devel mailing list