Put a link in libtermcap.so to the version you want (Note the ending is `so'. I guessing the binutils new default behaviour accounts for this. -Walter
On Tue, 31 Dec 1996, Carnage wrote: > Hello Mailing List!, > > I seem to be having a problem linking with the Termcap library > when specifying "-ltermcap" on the gcc command line. > > Explicitly specifying libtermcap works fine (i.e. "gcc -o program > program.o module1.o /lib/libtermcap.so.2.0.8"). But doing a "-ltermcap" > results in ld saying that it can't open it! > > I have a copy of "libtermcap.so.2.0.8" in my "/lib" directory. I > also have a "libtermcap.so.2" symlinked to it in that directory; > presumably placed there by ldconfig, because I didn't put it there. Doing > a "ldconfig -v" verifies this, because "libtermcap.so.2 => > libtermcap.so.2.0.8" gets listed. > > Anybody have any ideas? The current workaround right now is > simply explicityly specifying libtermcap.so.2.0.8 on the gcc command line. > But this is a pain in the butt when compiling other people's programs > which uses termcap. > > I'm using Debian GNU/Linux v1.1, libc v5.4.13, gcc v2.7.2, and > I'm not really sure which version of ld.so I'm using (I guess the one > that's in Debian 1.1), but the version of ld I'm using (as reported by ld > -v) is v2.6). > > Thanks in advance for any help with this! > > ============================================================================== > Arcadio Alivio Sincero, Jr. > Undergraduate Computer Science Major/Linux Enthusiast/Competitive Bodybuilder > email: [EMAIL PROTECTED] > WWW: Not available yet -- still looking for free webspace! > > "Bare feet magnetize sharp metal objects so they point upward from the floor, > especially in the dark." > > > -- > TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to > [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] > -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]