Rob Lahaye wrote: > > Suhaib Siddiqi wrote: > > > > MOTIF 2.x and higher needs you to link to libXp > > add -lXp to your linker. >
> g++ myprog.c -lXp > => /usr/bin/ld: cannot find -lXp > collect2: ld returned 1 exit status > > Any idea what I need to do to link libXp correctly? > Yes. -L/usr/X11R6/lib -lXp Suhaib
