On Wednesday 03 April 2002 8:30 pm, Garst R. Reese wrote: > Angus Leeming wrote: > > > Is there a way to get it to build a shared library? > > > Thanks, > > > Garst > > > > Out of the box? No. Steve says that he forgot that and a fix is in the > > offing. However, I used this little script. No doubt your details will be > > a little different, but not much. > > > > Angus > > Thanks Angus, ld did not seem to understand -set_version > ld: cannot open 0.9999: No such file or directory > I can't find anything on -set_version in my ld docs. > If I delete this piece from the script it runs and produces a 385 byte > .so. file. > Is that right? > Thanks, Garst
Unlikely! (My ld is for the DEC. Yours will be part of gcc et al., so your command line options will differ. man ld is your friend I guess. This is what the debian xforms maintainer reported. Regards, Angus # To subscribers of the xforms list from Peter S Galbraith <[EMAIL PROTECTED]> : Since the XForms source current tar ball doesn't produce a shared library yet, I hacked that in locally for a test Debian package that I'm working on. I picked a SONAME of 1.0, guessing that's what it'll be in the final version, e.g.: $ ls -l /usr/X11R6/lib/libforms.* 1102514 Apr 3 23:43 /usr/X11R6/lib/libforms.a 15 Apr 3 23:45 /usr/X11R6/lib/libforms.so -> libforms.so.1.0 461172 Sep 14 2000 /usr/X11R6/lib/libforms.so.0.88 769780 Sep 14 2000 /usr/X11R6/lib/libforms.so.0.89 15 Apr 3 23:45 /usr/X11R6/lib/libforms.so.1 -> libforms.so.1.0 882116 Apr 3 23:43 /usr/X11R6/lib/libforms.so.1.0