Hello all,
I am trying to build a piece of software and I am running into problems. The software compiles alright, but falls down at the linking stage.
I have Slackware v2.3 with kernel 1.2.8 and am using ld v.2.5.2.6 (with BFD 2.5) and ld.so v.1.7.3
During the make process I get the following error:
ld: Output file requires shared library `libgr.so.1'
gcc: Internal compiler error: program ld got fatal signal 6
make: *** [dp_car] Error 1
Also, when I add '-L/lib -lgr' into the Makefile I get this error:
ld: cannot open -lgr: No such file or directory
make: *** [dp_car] Error 1
I have libgr.so.1.3 in /lib together with a static link libgr.so.1 to it. The command 'file' gives me this: libgr.so.1.3: Linux/i386 demand-paged executable (QMAGIC)
I have only recently built this copy of libgr from its source files (hoping this would get rid of my problem) so I don't think there is anything wrong with the library itself.
I have even tried moving libgr.so.1.3 and the link to another directory (/lib/bakup) and then tried running other programs. E.g. after moving the library I tried to run xv and got : 'xv: cannot find libgr.so.1' which disappeared when the files had been replaced. This makes me more confused as to why one application can make use of libgr.so.1 and ld cannot find it for use with another.
I have looked in the GCC-FAQ but have not been able to find anything of much use. There was one part that stated that if you were using libc.4.4.* or greater then you also needed libld.so which could be installed from ld.so-1.7.3.tar.gz I tried this but still did not get a library called libld.so
I have seen several postings to this newsgroup from people who are having/have had similar problems to this, and I would be very grateful for any suggestions.
Many thanks in advance
Steven Reid