[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [XForms] Why does gcc not find the forms library?
From: |
Bill Unruh |
Subject: |
Re: [XForms] Why does gcc not find the forms library? |
Date: |
Mon, 12 Oct 2015 13:15:02 -0700 (PDT) |
User-agent: |
Alpine 2.03 (LMD 1266 2009-07-14) |
William G. Unruh | Canadian Institute for| Tel: +1(604)822-3273
Physics&Astronomy | Advanced Research | Fax: +1(604)822-5324
UBC, Vancouver,BC | Program in Cosmology | address@hidden
Canada V6T 1Z1 | and Gravity | www.theory.physics.ubc.ca/
On Mon, 12 Oct 2015, Peter Rowat wrote:
On OS X, I’ve installed XForms and compiled the demos and they all work. But
trying to compile the
simplest program directly, e.g.
gcc -o pshme pshme.c -lforms
fails with "ld: library not found for -lforms”
Same happens if I tell gcc where to look:
gcc -o pshme pshme.c -L/….../xforms-1.2.4/lib -lforms
Where IS your forms library. It is certainly not what -L says above.
Try putting in the full path name instead of a relative path name.
the library is called libforms.so and that is what the -lforms looks for.
Where is your libforms.so ?
ls lib/*forms*
lib/forms.c lib/forms.lo lib/forms.o lib/libforms.la lib/xforms.5 lib/xforms.man
Nope none of those.
Maybe you do not have the libforms library istalled?
No doubt it is something very trivial, but I’ve spent a long time trying to fix
this.
Peter R
Re: [XForms] Why does gcc not find the forms library?, jon, 2015/10/12
Re: [XForms] Why does gcc not find the forms library?, jon, 2015/10/15